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