File indexing completed on 2021-02-14 13:28:38
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
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 }