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