Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
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
8
public
:
9
virtual
void
fillObjectKeys
(
ReturnType
pL1TriggerKey )
override
;
10
11
L1TGlobalPrescalesVetosObjectKeysOnlineProd
(
const
edm::ParameterSet
&);
12
~L1TGlobalPrescalesVetosObjectKeysOnlineProd
(
void
){}
13
};
14
15
L1TGlobalPrescalesVetosObjectKeysOnlineProd::L1TGlobalPrescalesVetosObjectKeysOnlineProd
(
const
edm::ParameterSet
& iConfig)
16
:
L1ObjectKeysOnlineProdBaseExt
( iConfig ){
17
}
18
19
20
void
L1TGlobalPrescalesVetosObjectKeysOnlineProd::fillObjectKeys
(
ReturnType
pL1TriggerKey ){
21
22
std::string
uGTKey = pL1TriggerKey->subsystemKey(
L1TriggerKeyExt::kuGT
) ;
23
24
std::string
uGTrsKey = uGTKey.substr( uGTKey.find(
":"
)+1 );
25
26
pL1TriggerKey->add(
"L1TGlobalPrescalesVetosO2ORcd"
,
27
"L1TGlobalPrescalesVetos"
,
28
uGTrsKey) ;
29
}
30
31
32
//define this as a plug-in
33
DEFINE_FWK_EVENTSETUP_MODULE
(
L1TGlobalPrescalesVetosObjectKeysOnlineProd
);
L1TGlobalPrescalesVetosObjectKeysOnlineProd::L1TGlobalPrescalesVetosObjectKeysOnlineProd
L1TGlobalPrescalesVetosObjectKeysOnlineProd(const edm::ParameterSet &)
Definition:
L1TGlobalPrescalesVetosObjectKeysOnlineProd.cc:15
MessageLogger.h
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:255
L1ObjectKeysOnlineProdBaseExt
Definition:
L1ObjectKeysOnlineProdBaseExt.h:20
L1TGlobalPrescalesVetosObjectKeysOnlineProd::fillObjectKeys
virtual void fillObjectKeys(ReturnType pL1TriggerKey) override
Definition:
L1TGlobalPrescalesVetosObjectKeysOnlineProd.cc:20
L1TGlobalPrescalesVetosObjectKeysOnlineProd
Definition:
L1TGlobalPrescalesVetosObjectKeysOnlineProd.cc:5
L1TriggerKeyExt::kuGT
Definition:
L1TriggerKeyExt.h:30
DEFINE_FWK_EVENTSETUP_MODULE
#define DEFINE_FWK_EVENTSETUP_MODULE(type)
Definition:
ModuleFactory.h:60
L1ObjectKeysOnlineProdBaseExt.h
L1TGlobalPrescalesVetosObjectKeysOnlineProd::~L1TGlobalPrescalesVetosObjectKeysOnlineProd
~L1TGlobalPrescalesVetosObjectKeysOnlineProd(void)
Definition:
L1TGlobalPrescalesVetosObjectKeysOnlineProd.cc:12
edm::ParameterSet
Definition:
ParameterSet.h:36
L1ObjectKeysOnlineProdBaseExt::ReturnType
boost::shared_ptr< L1TriggerKeyExt > ReturnType
Definition:
L1ObjectKeysOnlineProdBaseExt.h:25
Generated for CMSSW Reference Manual by
1.8.5