Main Page
Namespaces
Classes
Package Documentation
L1TriggerConfig
L1TConfigProducers
src
L1TCaloParamsObjectKeysOnlineProd.cc
Go to the documentation of this file.
1
#include <iostream>
2
#include "
CondTools/L1TriggerExt/interface/L1ObjectKeysOnlineProdBaseExt.h
"
3
#include "
FWCore/MessageLogger/interface/MessageLogger.h
"
4
5
class
L1TCaloParamsObjectKeysOnlineProd
:
public
L1ObjectKeysOnlineProdBaseExt
{
6
private
:
7
8
public
:
9
void
fillObjectKeys
(
L1TriggerKeyExt
* pL1TriggerKey )
override
;
10
11
L1TCaloParamsObjectKeysOnlineProd
(
const
edm::ParameterSet
&);
12
~L1TCaloParamsObjectKeysOnlineProd
(
void
)
override
{}
13
};
14
15
L1TCaloParamsObjectKeysOnlineProd::L1TCaloParamsObjectKeysOnlineProd
(
const
edm::ParameterSet
& iConfig)
16
:
L1ObjectKeysOnlineProdBaseExt
( iConfig ){
17
}
18
19
20
void
L1TCaloParamsObjectKeysOnlineProd::fillObjectKeys
(
L1TriggerKeyExt
* pL1TriggerKey ){
21
22
std::string
CALOKey = pL1TriggerKey->
subsystemKey
(
L1TriggerKeyExt::kCALO
) ;
23
24
// simply assign the top level key to the record
25
pL1TriggerKey->
add
(
"L1TCaloParamsO2ORcd"
,
26
"CaloParams"
,
27
CALOKey ) ;
28
29
}
30
31
32
//define this as a plug-in
33
DEFINE_FWK_EVENTSETUP_MODULE
(
L1TCaloParamsObjectKeysOnlineProd
);
MessageLogger.h
L1TriggerKeyExt::kCALO
Definition:
L1TriggerKeyExt.h:32
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
L1TriggerKeyExt::add
void add(const std::string &record, const std::string &type, const std::string &key)
Definition:
L1TriggerKeyExt.h:55
L1ObjectKeysOnlineProdBaseExt
Definition:
L1ObjectKeysOnlineProdBaseExt.h:19
L1TCaloParamsObjectKeysOnlineProd::L1TCaloParamsObjectKeysOnlineProd
L1TCaloParamsObjectKeysOnlineProd(const edm::ParameterSet &)
Definition:
L1TCaloParamsObjectKeysOnlineProd.cc:15
L1TriggerKeyExt::subsystemKey
const std::string & subsystemKey(L1Subsystems subsystem) const
Definition:
L1TriggerKeyExt.h:89
L1TriggerKeyExt
Definition:
L1TriggerKeyExt.h:23
L1TCaloParamsObjectKeysOnlineProd::~L1TCaloParamsObjectKeysOnlineProd
~L1TCaloParamsObjectKeysOnlineProd(void) override
Definition:
L1TCaloParamsObjectKeysOnlineProd.cc:12
DEFINE_FWK_EVENTSETUP_MODULE
#define DEFINE_FWK_EVENTSETUP_MODULE(type)
Definition:
ModuleFactory.h:60
L1ObjectKeysOnlineProdBaseExt.h
L1TCaloParamsObjectKeysOnlineProd
Definition:
L1TCaloParamsObjectKeysOnlineProd.cc:5
L1TCaloParamsObjectKeysOnlineProd::fillObjectKeys
void fillObjectKeys(L1TriggerKeyExt *pL1TriggerKey) override
Definition:
L1TCaloParamsObjectKeysOnlineProd.cc:20
edm::ParameterSet
Definition:
ParameterSet.h:36
Generated for CMSSW Reference Manual by
1.8.11