Main Page
Namespaces
Classes
Package Documentation
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
8
public
:
9
void
fillObjectKeys
(
L1TriggerKeyExt
* pL1TriggerKey )
override
;
10
11
L1TMuonBarrelObjectKeysOnlineProd
(
const
edm::ParameterSet
&);
12
~L1TMuonBarrelObjectKeysOnlineProd
(
void
)
override
{}
13
};
14
15
L1TMuonBarrelObjectKeysOnlineProd::L1TMuonBarrelObjectKeysOnlineProd
(
const
edm::ParameterSet
& iConfig)
16
:
L1ObjectKeysOnlineProdBaseExt
( iConfig ){
17
}
18
19
20
void
L1TMuonBarrelObjectKeysOnlineProd::fillObjectKeys
(
L1TriggerKeyExt
* pL1TriggerKey ){
21
22
std::string
BMTFKey = pL1TriggerKey->
subsystemKey
(
L1TriggerKeyExt::kBMTF
) ;
23
24
std::string
stage2Schema =
"CMS_TRG_L1_CONF"
;
25
26
// simply assign the top level key to the record
27
pL1TriggerKey->
add
(
"L1TMuonBarrelParamsO2ORcd"
,
28
"L1TMuonBarrelParams"
,
29
BMTFKey) ;
30
31
}
32
33
34
//define this as a plug-in
35
DEFINE_FWK_EVENTSETUP_MODULE
(
L1TMuonBarrelObjectKeysOnlineProd
);
L1TMuonBarrelObjectKeysOnlineProd::fillObjectKeys
void fillObjectKeys(L1TriggerKeyExt *pL1TriggerKey) override
Definition:
L1TMuonBarrelObjectKeysOnlineProd.cc:20
MessageLogger.h
L1TMuonBarrelObjectKeysOnlineProd::L1TMuonBarrelObjectKeysOnlineProd
L1TMuonBarrelObjectKeysOnlineProd(const edm::ParameterSet &)
Definition:
L1TMuonBarrelObjectKeysOnlineProd.cc:15
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
L1TriggerKeyExt::kBMTF
Definition:
L1TriggerKeyExt.h:35
L1TMuonBarrelObjectKeysOnlineProd::~L1TMuonBarrelObjectKeysOnlineProd
~L1TMuonBarrelObjectKeysOnlineProd(void) override
Definition:
L1TMuonBarrelObjectKeysOnlineProd.cc:12
L1ObjectKeysOnlineProdBaseExt
Definition:
L1ObjectKeysOnlineProdBaseExt.h:19
L1TriggerKeyExt::subsystemKey
const std::string & subsystemKey(L1Subsystems subsystem) const
Definition:
L1TriggerKeyExt.h:89
L1TriggerKeyExt
Definition:
L1TriggerKeyExt.h:23
L1TMuonBarrelObjectKeysOnlineProd
Definition:
L1TMuonBarrelObjectKeysOnlineProd.cc:5
DEFINE_FWK_EVENTSETUP_MODULE
#define DEFINE_FWK_EVENTSETUP_MODULE(type)
Definition:
ModuleFactory.h:60
L1ObjectKeysOnlineProdBaseExt.h
edm::ParameterSet
Definition:
ParameterSet.h:36
Generated for CMSSW Reference Manual by
1.8.11