L1TriggerConfig
L1TConfigProducers
src
L1TGlobalPrescalesVetosObjectKeysOnlineProd.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
L1TGlobalPrescalesVetosObjectKeysOnlineProd
:
public
L1ObjectKeysOnlineProdBaseExt
{
6
private
:
7
public
:
8
void
fillObjectKeys
(
L1TriggerKeyExt
* pL1TriggerKey)
override
;
9
10
L1TGlobalPrescalesVetosObjectKeysOnlineProd
(
const
edm::ParameterSet
&);
11
~L1TGlobalPrescalesVetosObjectKeysOnlineProd
(
void
)
override
{}
12
};
13
14
L1TGlobalPrescalesVetosObjectKeysOnlineProd::L1TGlobalPrescalesVetosObjectKeysOnlineProd
(
15
const
edm::ParameterSet
& iConfig)
16
:
L1ObjectKeysOnlineProdBaseExt
(iConfig) {}
17
18
void
L1TGlobalPrescalesVetosObjectKeysOnlineProd::fillObjectKeys
(
L1TriggerKeyExt
* pL1TriggerKey) {
19
std::string
uGTKey = pL1TriggerKey->
subsystemKey
(
L1TriggerKeyExt::kuGT
);
20
21
pL1TriggerKey->
add
(
"L1TGlobalPrescalesVetosFractO2ORcd"
,
"L1TGlobalPrescalesVetosFract"
, uGTKey);
22
}
23
24
//define this as a plug-in
25
DEFINE_FWK_EVENTSETUP_MODULE
(
L1TGlobalPrescalesVetosObjectKeysOnlineProd
);
L1TriggerKeyExt::subsystemKey
const std::string & subsystemKey(L1Subsystems subsystem) const
Definition:
L1TriggerKeyExt.h:71
L1TGlobalPrescalesVetosObjectKeysOnlineProd::L1TGlobalPrescalesVetosObjectKeysOnlineProd
L1TGlobalPrescalesVetosObjectKeysOnlineProd(const edm::ParameterSet &)
Definition:
L1TGlobalPrescalesVetosObjectKeysOnlineProd.cc:14
MessageLogger.h
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
L1TriggerKeyExt
Definition:
L1TriggerKeyExt.h:23
L1TGlobalPrescalesVetosObjectKeysOnlineProd
Definition:
L1TGlobalPrescalesVetosObjectKeysOnlineProd.cc:5
L1TriggerKeyExt::kuGT
Definition:
L1TriggerKeyExt.h:27
DEFINE_FWK_EVENTSETUP_MODULE
#define DEFINE_FWK_EVENTSETUP_MODULE(type)
Definition:
ModuleFactory.h:60
L1TGlobalPrescalesVetosObjectKeysOnlineProd::fillObjectKeys
void fillObjectKeys(L1TriggerKeyExt *pL1TriggerKey) override
Definition:
L1TGlobalPrescalesVetosObjectKeysOnlineProd.cc:18
L1ObjectKeysOnlineProdBaseExt.h
edm::ParameterSet
Definition:
ParameterSet.h:47
L1TGlobalPrescalesVetosObjectKeysOnlineProd::~L1TGlobalPrescalesVetosObjectKeysOnlineProd
~L1TGlobalPrescalesVetosObjectKeysOnlineProd(void) override
Definition:
L1TGlobalPrescalesVetosObjectKeysOnlineProd.cc:11
Generated for CMSSW Reference Manual by
1.8.14