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
public
:
8
void
fillObjectKeys
(
L1TriggerKeyExt
* pL1TriggerKey)
override
;
9
10
L1TCaloParamsObjectKeysOnlineProd
(
const
edm::ParameterSet
&);
11
~L1TCaloParamsObjectKeysOnlineProd
(
void
)
override
{}
12
};
13
14
L1TCaloParamsObjectKeysOnlineProd::L1TCaloParamsObjectKeysOnlineProd
(
const
edm::ParameterSet
& iConfig)
15
:
L1ObjectKeysOnlineProdBaseExt
(iConfig) {}
16
17
void
L1TCaloParamsObjectKeysOnlineProd::fillObjectKeys
(
L1TriggerKeyExt
* pL1TriggerKey) {
18
std::string
CALOKey = pL1TriggerKey->
subsystemKey
(
L1TriggerKeyExt::kCALO
);
19
20
// simply assign the top level key to the record
21
pL1TriggerKey->
add
(
"L1TCaloParamsO2ORcd"
,
"CaloParams"
, CALOKey);
22
}
23
24
//define this as a plug-in
25
DEFINE_FWK_EVENTSETUP_MODULE
(
L1TCaloParamsObjectKeysOnlineProd
);
L1TriggerKeyExt::subsystemKey
const std::string & subsystemKey(L1Subsystems subsystem) const
Definition:
L1TriggerKeyExt.h:71
MessageLogger.h
L1TriggerKeyExt::kCALO
Definition:
L1TriggerKeyExt.h:27
L1TriggerKeyExt::add
void add(const std::string &record, const std::string &type, const std::string &key)
Definition:
L1TriggerKeyExt.h:42
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
L1ObjectKeysOnlineProdBaseExt
Definition:
L1ObjectKeysOnlineProdBaseExt.h:19
L1TCaloParamsObjectKeysOnlineProd::L1TCaloParamsObjectKeysOnlineProd
L1TCaloParamsObjectKeysOnlineProd(const edm::ParameterSet &)
Definition:
L1TCaloParamsObjectKeysOnlineProd.cc:14
L1TriggerKeyExt
Definition:
L1TriggerKeyExt.h:23
DEFINE_FWK_EVENTSETUP_MODULE
#define DEFINE_FWK_EVENTSETUP_MODULE(type)
Definition:
ModuleFactory.h:61
L1TCaloParamsObjectKeysOnlineProd::~L1TCaloParamsObjectKeysOnlineProd
~L1TCaloParamsObjectKeysOnlineProd(void) override
Definition:
L1TCaloParamsObjectKeysOnlineProd.cc:11
L1ObjectKeysOnlineProdBaseExt.h
L1TCaloParamsObjectKeysOnlineProd
Definition:
L1TCaloParamsObjectKeysOnlineProd.cc:5
L1TCaloParamsObjectKeysOnlineProd::fillObjectKeys
void fillObjectKeys(L1TriggerKeyExt *pL1TriggerKey) override
Definition:
L1TCaloParamsObjectKeysOnlineProd.cc:17
edm::ParameterSet
Definition:
ParameterSet.h:47
Generated for CMSSW Reference Manual by
1.8.14