CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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  boost::shared_ptr<L1TriggerKeyListExt> pL1TriggerKeyList ;
32 
33  pL1TriggerKeyList = boost::shared_ptr< L1TriggerKeyListExt >(
34  new L1TriggerKeyListExt() ) ;
35 
36  return pL1TriggerKeyList ;
37 }
38 
39 //define this as a plug-in
40 //DEFINE_FWK_EVENTSETUP_MODULE(L1TriggerKeyListDummyProdExt);
boost::shared_ptr< L1TriggerKeyListExt > ReturnType
L1TriggerKeyListDummyProdExt(const edm::ParameterSet &)
void setWhatProduced(T *iThis, const es::Label &iLabel=es::Label())
Definition: ESProducer.h:115
ReturnType produce(const L1TriggerKeyListExtRcd &)