CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
RPCConfigOnlineProd.cc
Go to the documentation of this file.
1 // -*- C++ -*-
2 //
3 // Package: RPCConfigOnlineProd
4 // Class: RPCConfigOnlineProd
5 //
13 //
14 // Original Author: Werner Man-Li Sun
15 // Created: Thu Oct 2 19:40:12 CEST 2008
16 // $Id$
17 //
18 //
19 
20 
21 // system include files
22 
23 // user include files
25 
27 
30 
31 //
32 // class declaration
33 //
34 
35 class RPCConfigOnlineProd : public L1ConfigOnlineProdBase< L1RPCConfigRcd,
36  L1RPCConfig > {
37  public:
40 
41  virtual boost::shared_ptr< L1RPCConfig > 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 {
62  //the following line is needed to tell the framework what
63  // data is being produced
64 
65  //now do what ever other initialization is needed
66 }
67 
68 
70 {
71 
72  // do anything here that needs to be done at desctruction time
73  // (e.g. close files, deallocate resources etc.)
74 
75 }
76 
77 boost::shared_ptr< L1RPCConfig >
79 {
80  edm::LogError( "L1-O2O" ) << "L1RPCConfig object with key "
81  << objectKey << " not in ORCON!" ;
82 
83  return boost::shared_ptr< L1RPCConfig >() ;
84 }
85 
86 //
87 // member functions
88 //
89 
90 
91 // ------------ method called to produce the data ------------
92 
93 
94 //define this as a plug-in
virtual boost::shared_ptr< L1RPCConfig > newObject(const std::string &objectKey) override
RPCConfigOnlineProd(const edm::ParameterSet &)
#define DEFINE_FWK_EVENTSETUP_MODULE(type)
Definition: ModuleFactory.h:60