CMS 3D CMS Logo

L1TriggerKeyListDummyProd.cc
Go to the documentation of this file.
1 // -*- C++ -*-
2 //
3 // Package: L1TriggerKeyListDummyProd
4 // Class: L1TriggerKeyListDummyProd
5 //
13 //
14 // Original Author: Werner Man-Li Sun
15 // Created: Sat Mar 1 05:02:13 CET 2008
16 // $Id$
17 //
18 //
19 
20 // system include files
21 
22 // user include files
24 
25 //
26 // class declaration
27 //
28 
29 //
30 // constants, enums and typedefs
31 //
32 
33 //
34 // static data member definitions
35 //
36 
37 //
38 // constructors and destructor
39 //
41  //the following line is needed to tell the framework what
42  // data is being produced
43  setWhatProduced(this);
44 
45  //now do what ever other initialization is needed
46 }
47 
49  // do anything here that needs to be done at desctruction time
50  // (e.g. close files, deallocate resources etc.)
51 }
52 
53 //
54 // member functions
55 //
56 
57 // ------------ method called to produce the data ------------
59  std::unique_ptr<L1TriggerKeyList> pL1TriggerKeyList;
60  pL1TriggerKeyList = std::make_unique<L1TriggerKeyList>();
61  return pL1TriggerKeyList;
62  // return std::make_unique< L1TriggerKeyList >() ;
63 }
64 
65 //define this as a plug-in
66 //DEFINE_FWK_EVENTSETUP_MODULE(L1TriggerKeyListDummyProd);
auto setWhatProduced(T *iThis, const es::Label &iLabel={})
Definition: ESProducer.h:163
ReturnType produce(const L1TriggerKeyListRcd &)
L1TriggerKeyListDummyProd(const edm::ParameterSet &)
std::unique_ptr< L1TriggerKeyList > ReturnType