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