CMS 3D CMS Logo

L1TriggerKeyListDummyProdExt.cc
Go to the documentation of this file.
2 
4  //the following line is needed to tell the framework what
5  // data is being produced
6  setWhatProduced(this);
7 
8  //now do what ever other initialization is needed
9 }
10 
12  // do anything here that needs to be done at desctruction time
13  // (e.g. close files, deallocate resources etc.)
14 }
15 
16 //
17 // member functions
18 //
19 
20 // ------------ method called to produce the data ------------
22  return std::make_unique<L1TriggerKeyListExt>();
23 }
24 
25 //define this as a plug-in
26 //DEFINE_FWK_EVENTSETUP_MODULE(L1TriggerKeyListDummyProdExt);
L1TriggerKeyListDummyProdExt.h
L1TriggerKeyListDummyProdExt::L1TriggerKeyListDummyProdExt
L1TriggerKeyListDummyProdExt(const edm::ParameterSet &)
Definition: L1TriggerKeyListDummyProdExt.cc:3
edm::ESProducer::setWhatProduced
auto setWhatProduced(T *iThis, const es::Label &iLabel={})
Definition: ESProducer.h:163
L1TriggerKeyListDummyProdExt::~L1TriggerKeyListDummyProdExt
~L1TriggerKeyListDummyProdExt() override
Definition: L1TriggerKeyListDummyProdExt.cc:11
edm::ParameterSet
Definition: ParameterSet.h:47
L1TriggerKeyListExtRcd
Definition: L1TriggerKeyListExtRcd.h:6
L1TriggerKeyListDummyProdExt::ReturnType
std::unique_ptr< L1TriggerKeyListExt > ReturnType
Definition: L1TriggerKeyListDummyProdExt.h:19
L1TriggerKeyListDummyProdExt::produce
ReturnType produce(const L1TriggerKeyListExtRcd &)
Definition: L1TriggerKeyListDummyProdExt.cc:21