Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:28:38

0001 // -*- C++ -*-
0002 //
0003 // Package:     test
0004 // Class  :     ValueExample
0005 //
0006 // Implementation:
0007 //     <Notes on implementation>
0008 //
0009 // Original Author:  Chris Jones
0010 //         Created:  Mon Sep  5 19:52:01 EDT 2005
0011 //
0012 
0013 #include "FWCore/Integration/test/ValueExample.h"
0014 #include "FWCore/ParameterSet/interface/ParameterSet.h"
0015 #include "FWCore/ParameterSet/interface/ConfigurationDescriptions.h"
0016 #include "FWCore/ParameterSet/interface/ParameterSetDescription.h"
0017 
0018 ValueExample::ValueExample(const edm::ParameterSet& iPSet) : value_(iPSet.getParameter<int>("value")) {}
0019 
0020 ValueExample::~ValueExample() {}
0021 
0022 void ValueExample::fillDescriptions(edm::ConfigurationDescriptions& descriptions) {
0023   edm::ParameterSetDescription desc;
0024   desc.add<int>("value");
0025   descriptions.addDefault(desc);
0026 }