CMS 3D CMS Logo

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