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 // system include files
21 
22 // user include files
24 
26 
29 
30 //
31 // class declaration
32 //
33 
34 class L1RPCConeDefinitionOnlineProd : public L1ConfigOnlineProdBase<L1RPCConeDefinitionRcd, L1RPCConeDefinition> {
35 public:
38 
39  std::unique_ptr<L1RPCConeDefinition> newObject(const std::string& objectKey) override;
40 
41 private:
42  // ----------member data ---------------------------
43 };
44 
45 //
46 // constants, enums and typedefs
47 //
48 
49 //
50 // static data member definitions
51 //
52 
53 //
54 // constructors and destructor
55 //
58  //the following line is needed to tell the framework what
59  // data is being produced
60 
61  //now do what ever other initialization is needed
62 }
63 
65  // do anything here that needs to be done at desctruction time
66  // (e.g. close files, deallocate resources etc.)
67 }
68 
69 std::unique_ptr<L1RPCConeDefinition> L1RPCConeDefinitionOnlineProd::newObject(const std::string& objectKey) {
70  edm::LogError("L1-O2O") << "L1RPCConeDefinition object with key " << objectKey << " not in ORCON!";
71 
72  return std::unique_ptr<L1RPCConeDefinition>();
73 }
74 
75 //
76 // member functions
77 //
78 
79 // ------------ method called to produce the data ------------
80 
81 //define this as a plug-in
L1RPCConeDefinitionOnlineProd::~L1RPCConeDefinitionOnlineProd
~L1RPCConeDefinitionOnlineProd() override
Definition: L1RPCConeDefinitionOnlineProd.cc:64
MessageLogger.h
L1ConfigOnlineProdBase
Definition: L1ConfigOnlineProdBase.h:52
L1RPCConeDefinitionOnlineProd
Definition: L1RPCConeDefinitionOnlineProd.cc:34
L1RPCConeDefinitionRcd.h
L1RPCConeDefinitionOnlineProd::L1RPCConeDefinitionOnlineProd
L1RPCConeDefinitionOnlineProd(const edm::ParameterSet &)
Definition: L1RPCConeDefinitionOnlineProd.cc:56
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
edm::ParameterSet
Definition: ParameterSet.h:36
edm::LogError
Definition: MessageLogger.h:183
L1RPCConeDefinitionRcd
Definition: L1RPCConeDefinitionRcd.h:16
L1RPCConeDefinitionOnlineProd::newObject
std::unique_ptr< L1RPCConeDefinition > newObject(const std::string &objectKey) override
Definition: L1RPCConeDefinitionOnlineProd.cc:69
DEFINE_FWK_EVENTSETUP_MODULE
#define DEFINE_FWK_EVENTSETUP_MODULE(type)
Definition: ModuleFactory.h:60
L1RPCConeDefinition
Definition: L1RPCConeDefinition.h:8
L1ConfigOnlineProdBase.h
L1RPCConeDefinition.h