CMS 3D CMS Logo

L1RPCConeDefinitionOnlineProd.cc
Go to the documentation of this file.
1 // -*- C++ -*-
2 //
3 // Package: L1RPCConeDefinitionOnlineProd
4 // Class: L1RPCConeDefinitionOnlineProd
5 //
13 //
14 // Original Author: Werner Man-Li Sun
15 // Created: Wed Apr 1 20:23:43 CEST 2009
16 // $Id$
17 //
18 //
19 
20 
21 // system include files
22 
23 // user include files
25 
27 
30 
31 //
32 // class declaration
33 //
34 
36  L1RPCConeDefinitionRcd, L1RPCConeDefinition > {
37  public:
40 
41  std::shared_ptr< L1RPCConeDefinition > newObject(
42  const std::string& objectKey ) override ;
43 
44  private:
45  // ----------member data ---------------------------
46 };
47 
48 //
49 // constants, enums and typedefs
50 //
51 
52 //
53 // static data member definitions
54 //
55 
56 //
57 // constructors and destructor
58 //
61  L1RPCConeDefinition >( iConfig )
62 {
63  //the following line is needed to tell the framework what
64  // data is being produced
65 
66  //now do what ever other initialization is needed
67 }
68 
69 
71 {
72 
73  // do anything here that needs to be done at desctruction time
74  // (e.g. close files, deallocate resources etc.)
75 
76 }
77 
78 std::shared_ptr< L1RPCConeDefinition >
80 {
81  edm::LogError( "L1-O2O" ) << "L1RPCConeDefinition object with key "
82  << objectKey << " not in ORCON!" ;
83 
84  return std::shared_ptr< L1RPCConeDefinition >() ;
85 }
86 
87 //
88 // member functions
89 //
90 
91 
92 // ------------ method called to produce the data ------------
93 
94 
95 //define this as a plug-in
L1RPCConeDefinitionOnlineProd(const edm::ParameterSet &)
std::shared_ptr< L1RPCConeDefinition > newObject(const std::string &objectKey) override
#define DEFINE_FWK_EVENTSETUP_MODULE(type)
Definition: ModuleFactory.h:60