Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
L1TriggerConfig
RPCTriggerConfig
src
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: L1RPCConeDefinitionOnlineProd.cc,v 1.1 2009/04/01 18:33:58 wsun Exp $
17
//
18
//
19
20
21
// system include files
22
23
// user include files
24
#include "
FWCore/MessageLogger/interface/MessageLogger.h
"
25
26
#include "
CondTools/L1Trigger/interface/L1ConfigOnlineProdBase.h
"
27
28
#include "
CondFormats/L1TObjects/interface/L1RPCConeDefinition.h
"
29
#include "
CondFormats/DataRecord/interface/L1RPCConeDefinitionRcd.h
"
30
31
//
32
// class declaration
33
//
34
35
class
L1RPCConeDefinitionOnlineProd
:
public
L1ConfigOnlineProdBase
<
36
L1RPCConeDefinitionRcd, L1RPCConeDefinition > {
37
public
:
38
L1RPCConeDefinitionOnlineProd
(
const
edm::ParameterSet
&);
39
~L1RPCConeDefinitionOnlineProd
();
40
41
virtual
boost::shared_ptr< L1RPCConeDefinition >
newObject
(
42
const
std::string& objectKey ) ;
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
//
59
L1RPCConeDefinitionOnlineProd::L1RPCConeDefinitionOnlineProd
(
const
edm::ParameterSet
& iConfig)
60
:
L1ConfigOnlineProdBase
<
L1RPCConeDefinitionRcd
,
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
70
L1RPCConeDefinitionOnlineProd::~L1RPCConeDefinitionOnlineProd
()
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
boost::shared_ptr< L1RPCConeDefinition >
79
L1RPCConeDefinitionOnlineProd::newObject
(
const
std::string& objectKey )
80
{
81
edm::LogError
(
"L1-O2O"
) <<
"L1RPCConeDefinition object with key "
82
<< objectKey <<
" not in ORCON!"
;
83
84
return
boost::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
96
DEFINE_FWK_EVENTSETUP_MODULE
(
L1RPCConeDefinitionOnlineProd
);
MessageLogger.h
L1ConfigOnlineProdBase.h
L1RPCConeDefinitionOnlineProd::~L1RPCConeDefinitionOnlineProd
~L1RPCConeDefinitionOnlineProd()
Definition:
L1RPCConeDefinitionOnlineProd.cc:70
L1RPCConeDefinitionRcd
Definition:
L1RPCConeDefinitionRcd.h:17
L1RPCConeDefinitionOnlineProd::L1RPCConeDefinitionOnlineProd
L1RPCConeDefinitionOnlineProd(const edm::ParameterSet &)
Definition:
L1RPCConeDefinitionOnlineProd.cc:59
L1RPCConeDefinitionOnlineProd::newObject
virtual boost::shared_ptr< L1RPCConeDefinition > newObject(const std::string &objectKey)
Definition:
L1RPCConeDefinitionOnlineProd.cc:79
edm::LogError
Definition:
MessageLogger.h:164
L1ConfigOnlineProdBase
Definition:
L1ConfigOnlineProdBase.h:54
L1RPCConeDefinition
Definition:
L1RPCConeDefinition.h:6
L1RPCConeDefinitionRcd.h
L1RPCConeDefinition.h
DEFINE_FWK_EVENTSETUP_MODULE
#define DEFINE_FWK_EVENTSETUP_MODULE(type)
Definition:
ModuleFactory.h:56
edm::ParameterSet
Definition:
ParameterSet.h:35
L1RPCConeDefinitionOnlineProd
Definition:
L1RPCConeDefinitionOnlineProd.cc:35
Generated for CMSSW Reference Manual by
1.8.5