EventFilter
L1GlobalTriggerRawToDigi
interface
L1GtTriggerMenuLiteProducer.h
Go to the documentation of this file.
1
#ifndef EventFilter_L1GlobalTriggerRawToDigi_L1GtTriggerMenuLiteProducer_h
2
#define EventFilter_L1GlobalTriggerRawToDigi_L1GtTriggerMenuLiteProducer_h
3
20
// system include files
21
#include <memory>
22
23
// user include files
24
#include "
FWCore/Framework/interface/Frameworkfwd.h
"
25
#include "
FWCore/Framework/interface/one/EDProducer.h
"
26
27
#include "
FWCore/Framework/interface/Event.h
"
28
#include "
FWCore/Framework/interface/MakerMacros.h
"
29
30
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
31
#include "
FWCore/Utilities/interface/InputTag.h
"
32
#include "
FWCore/Utilities/interface/ESGetToken.h
"
33
34
#include "
CondFormats/L1TObjects/interface/L1GtTriggerMenuFwd.h
"
35
#include "
CondFormats/L1TObjects/interface/L1GtTriggerMask.h
"
36
#include "
CondFormats/DataRecord/interface/L1GtTriggerMaskAlgoTrigRcd.h
"
37
#include "
CondFormats/DataRecord/interface/L1GtTriggerMaskTechTrigRcd.h
"
38
#include "
CondFormats/L1TObjects/interface/L1GtPrescaleFactors.h
"
39
#include "
CondFormats/DataRecord/interface/L1GtPrescaleFactorsAlgoTrigRcd.h
"
40
#include "
CondFormats/DataRecord/interface/L1GtPrescaleFactorsTechTrigRcd.h
"
41
#include "
CondFormats/L1TObjects/interface/L1GtStableParameters.h
"
42
#include "
CondFormats/DataRecord/interface/L1GtStableParametersRcd.h
"
43
#include "
CondFormats/L1TObjects/interface/L1GtTriggerMenu.h
"
44
#include "
CondFormats/DataRecord/interface/L1GtTriggerMenuRcd.h
"
45
46
// forward declarations
47
class
L1GtStableParameters
;
48
class
L1GtTriggerMenu
;
49
class
L1GtTriggerMask
;
50
class
L1GtPrescaleFactors
;
51
52
// class declaration
53
class
L1GtTriggerMenuLiteProducer
:
public
edm::one::EDProducer
<edm::BeginRunProducer> {
54
public
:
56
explicit
L1GtTriggerMenuLiteProducer
(
const
edm::ParameterSet
&);
57
59
~L1GtTriggerMenuLiteProducer
()
override
;
60
61
private
:
64
void
retrieveL1EventSetup
(
const
edm::EventSetup
&);
65
66
void
beginJob
()
final
;
67
void
beginRunProduce
(
edm::Run
&,
const
edm::EventSetup
&)
final
;
68
69
void
produce
(
edm::Event
&,
const
edm::EventSetup
&)
final
;
70
71
void
endJob
()
override
;
72
73
private
:
75
77
const
L1GtStableParameters
*
m_l1GtStablePar
;
78
unsigned
long
long
m_l1GtStableParCacheID
;
79
81
unsigned
int
m_numberPhysTriggers
;
82
84
unsigned
int
m_numberTechnicalTriggers
;
85
86
// trigger menu
87
const
L1GtTriggerMenu
*
m_l1GtMenu
;
88
unsigned
long
long
m_l1GtMenuCacheID
;
89
90
const
AlgorithmMap
*
m_algorithmMap
;
91
const
AlgorithmMap
*
m_algorithmAliasMap
;
92
const
AlgorithmMap
*
m_technicalTriggerMap
;
93
95
const
L1GtTriggerMask
*
m_l1GtTmAlgo
;
96
unsigned
long
long
m_l1GtTmAlgoCacheID
;
97
98
const
L1GtTriggerMask
*
m_l1GtTmTech
;
99
unsigned
long
long
m_l1GtTmTechCacheID
;
100
101
const
std::vector<unsigned int>*
m_triggerMaskAlgoTrig
;
102
const
std::vector<unsigned int>*
m_triggerMaskTechTrig
;
103
105
const
L1GtPrescaleFactors
*
m_l1GtPfAlgo
;
106
unsigned
long
long
m_l1GtPfAlgoCacheID
;
107
108
const
L1GtPrescaleFactors
*
m_l1GtPfTech
;
109
unsigned
long
long
m_l1GtPfTechCacheID
;
110
111
const
std::vector<std::vector<int> >*
m_prescaleFactorsAlgoTrig
;
112
const
std::vector<std::vector<int> >*
m_prescaleFactorsTechTrig
;
113
115
const
edm::ESGetToken<L1GtStableParameters, L1GtStableParametersRcd>
m_l1GtStableParamToken
;
116
const
edm::ESGetToken<L1GtPrescaleFactors, L1GtPrescaleFactorsAlgoTrigRcd>
m_l1GtPfAlgoToken
;
117
const
edm::ESGetToken<L1GtPrescaleFactors, L1GtPrescaleFactorsTechTrigRcd>
m_l1GtPfTechToken
;
118
const
edm::ESGetToken<L1GtTriggerMask, L1GtTriggerMaskAlgoTrigRcd>
m_l1GtTmAlgoToken
;
119
const
edm::ESGetToken<L1GtTriggerMask, L1GtTriggerMaskTechTrigRcd>
m_l1GtTmTechToken
;
120
const
edm::ESGetToken<L1GtTriggerMenu, L1GtTriggerMenuRcd>
m_l1GtMenuToken
;
121
122
private
:
124
unsigned
int
m_physicsDaqPartition
;
125
};
126
127
#endif // EventFilter_L1GlobalTriggerRawToDigi_L1GtTriggerMenuLiteProducer_h
L1GtTriggerMenuLiteProducer::m_l1GtTmAlgoCacheID
unsigned long long m_l1GtTmAlgoCacheID
Definition:
L1GtTriggerMenuLiteProducer.h:96
L1GtStableParametersRcd.h
L1GtTriggerMenuLiteProducer::m_l1GtTmTech
const L1GtTriggerMask * m_l1GtTmTech
Definition:
L1GtTriggerMenuLiteProducer.h:98
L1GtPrescaleFactors
Definition:
L1GtPrescaleFactors.h:32
L1GtTriggerMenuLiteProducer::m_l1GtTmAlgoToken
const edm::ESGetToken< L1GtTriggerMask, L1GtTriggerMaskAlgoTrigRcd > m_l1GtTmAlgoToken
Definition:
L1GtTriggerMenuLiteProducer.h:118
L1GtTriggerMenu.h
AlgorithmMap
std::map< std::string, L1GtAlgorithm > AlgorithmMap
map containing the algorithms
Definition:
L1GtTriggerMenuFwd.h:31
L1GtTriggerMenuLiteProducer::~L1GtTriggerMenuLiteProducer
~L1GtTriggerMenuLiteProducer() override
destructor
Definition:
L1GtTriggerMenuLiteProducer.cc:63
Event.h
L1GtTriggerMenuLiteProducer::beginRunProduce
void beginRunProduce(edm::Run &, const edm::EventSetup &) final
Definition:
L1GtTriggerMenuLiteProducer.cc:161
L1GtTriggerMenuLiteProducer::m_physicsDaqPartition
unsigned int m_physicsDaqPartition
index of physics DAQ partition
Definition:
L1GtTriggerMenuLiteProducer.h:124
L1GtTriggerMaskTechTrigRcd.h
L1GtTriggerMenuLiteProducer::m_l1GtPfTech
const L1GtPrescaleFactors * m_l1GtPfTech
Definition:
L1GtTriggerMenuLiteProducer.h:108
MakerMacros.h
L1GtTriggerMask.h
L1GtTriggerMenuLiteProducer::m_l1GtStableParamToken
const edm::ESGetToken< L1GtStableParameters, L1GtStableParametersRcd > m_l1GtStableParamToken
EventSetup Tokens.
Definition:
L1GtTriggerMenuLiteProducer.h:115
L1GtTriggerMenuLiteProducer::m_prescaleFactorsAlgoTrig
const std::vector< std::vector< int > > * m_prescaleFactorsAlgoTrig
Definition:
L1GtTriggerMenuLiteProducer.h:111
L1GtTriggerMaskAlgoTrigRcd.h
L1GtTriggerMenuLiteProducer::m_numberPhysTriggers
unsigned int m_numberPhysTriggers
number of physics triggers
Definition:
L1GtTriggerMenuLiteProducer.h:81
L1GtTriggerMenuLiteProducer::beginJob
void beginJob() final
Definition:
L1GtTriggerMenuLiteProducer.cc:157
L1GtTriggerMenuLiteProducer::m_l1GtPfAlgoToken
const edm::ESGetToken< L1GtPrescaleFactors, L1GtPrescaleFactorsAlgoTrigRcd > m_l1GtPfAlgoToken
Definition:
L1GtTriggerMenuLiteProducer.h:116
Frameworkfwd.h
L1GtTriggerMenuLiteProducer::m_l1GtTmTechToken
const edm::ESGetToken< L1GtTriggerMask, L1GtTriggerMaskTechTrigRcd > m_l1GtTmTechToken
Definition:
L1GtTriggerMenuLiteProducer.h:119
L1GtTriggerMenuFwd.h
ParameterSet.h
L1GtTriggerMenuLiteProducer::retrieveL1EventSetup
void retrieveL1EventSetup(const edm::EventSetup &)
Definition:
L1GtTriggerMenuLiteProducer.cc:67
edm::ESGetToken< L1GtStableParameters, L1GtStableParametersRcd >
L1GtTriggerMenuLiteProducer::m_numberTechnicalTriggers
unsigned int m_numberTechnicalTriggers
number of technical triggers
Definition:
L1GtTriggerMenuLiteProducer.h:84
L1GtTriggerMenuLiteProducer::m_technicalTriggerMap
const AlgorithmMap * m_technicalTriggerMap
Definition:
L1GtTriggerMenuLiteProducer.h:92
L1GtTriggerMenuLiteProducer::m_l1GtTmTechCacheID
unsigned long long m_l1GtTmTechCacheID
Definition:
L1GtTriggerMenuLiteProducer.h:99
L1GtTriggerMenuLiteProducer::produce
void produce(edm::Event &, const edm::EventSetup &) final
Definition:
L1GtTriggerMenuLiteProducer.cc:241
L1GtTriggerMenuLiteProducer::L1GtTriggerMenuLiteProducer
L1GtTriggerMenuLiteProducer(const edm::ParameterSet &)
constructor(s)
Definition:
L1GtTriggerMenuLiteProducer.cc:37
L1GtPrescaleFactorsAlgoTrigRcd.h
ESGetToken.h
L1GtTriggerMenuLiteProducer::m_triggerMaskTechTrig
const std::vector< unsigned int > * m_triggerMaskTechTrig
Definition:
L1GtTriggerMenuLiteProducer.h:102
L1GtTriggerMenuLiteProducer::endJob
void endJob() override
Definition:
L1GtTriggerMenuLiteProducer.cc:244
L1GtTriggerMenuLiteProducer::m_l1GtPfTechToken
const edm::ESGetToken< L1GtPrescaleFactors, L1GtPrescaleFactorsTechTrigRcd > m_l1GtPfTechToken
Definition:
L1GtTriggerMenuLiteProducer.h:117
L1GtTriggerMenuLiteProducer::m_l1GtMenuToken
const edm::ESGetToken< L1GtTriggerMenu, L1GtTriggerMenuRcd > m_l1GtMenuToken
Definition:
L1GtTriggerMenuLiteProducer.h:120
L1GtTriggerMenuLiteProducer::m_prescaleFactorsTechTrig
const std::vector< std::vector< int > > * m_prescaleFactorsTechTrig
Definition:
L1GtTriggerMenuLiteProducer.h:112
L1GtTriggerMenuLiteProducer::m_l1GtPfAlgo
const L1GtPrescaleFactors * m_l1GtPfAlgo
prescale factors
Definition:
L1GtTriggerMenuLiteProducer.h:105
edm::EventSetup
Definition:
EventSetup.h:59
L1GtStableParameters
Definition:
L1GtStableParameters.h:33
L1GtTriggerMask
Definition:
L1GtTriggerMask.h:33
L1GtTriggerMenuRcd.h
L1GtTriggerMenuLiteProducer::m_algorithmAliasMap
const AlgorithmMap * m_algorithmAliasMap
Definition:
L1GtTriggerMenuLiteProducer.h:91
L1GtTriggerMenuLiteProducer::m_l1GtPfTechCacheID
unsigned long long m_l1GtPfTechCacheID
Definition:
L1GtTriggerMenuLiteProducer.h:109
L1GtTriggerMenuLiteProducer
Definition:
L1GtTriggerMenuLiteProducer.h:53
L1GtTriggerMenuLiteProducer::m_l1GtMenu
const L1GtTriggerMenu * m_l1GtMenu
Definition:
L1GtTriggerMenuLiteProducer.h:87
L1GtPrescaleFactors.h
L1GtTriggerMenuLiteProducer::m_l1GtPfAlgoCacheID
unsigned long long m_l1GtPfAlgoCacheID
Definition:
L1GtTriggerMenuLiteProducer.h:106
L1GtTriggerMenu
Definition:
L1GtTriggerMenu.h:48
L1GtTriggerMenuLiteProducer::m_triggerMaskAlgoTrig
const std::vector< unsigned int > * m_triggerMaskAlgoTrig
Definition:
L1GtTriggerMenuLiteProducer.h:101
EDProducer.h
L1GtTriggerMenuLiteProducer::m_algorithmMap
const AlgorithmMap * m_algorithmMap
Definition:
L1GtTriggerMenuLiteProducer.h:90
InputTag.h
L1GtTriggerMenuLiteProducer::m_l1GtStableParCacheID
unsigned long long m_l1GtStableParCacheID
Definition:
L1GtTriggerMenuLiteProducer.h:78
L1GtPrescaleFactorsTechTrigRcd.h
L1GtTriggerMenuLiteProducer::m_l1GtMenuCacheID
unsigned long long m_l1GtMenuCacheID
Definition:
L1GtTriggerMenuLiteProducer.h:88
L1GtTriggerMenuLiteProducer::m_l1GtStablePar
const L1GtStableParameters * m_l1GtStablePar
cached stuff
Definition:
L1GtTriggerMenuLiteProducer.h:77
edm::ParameterSet
Definition:
ParameterSet.h:47
L1GtTriggerMenuLiteProducer::m_l1GtTmAlgo
const L1GtTriggerMask * m_l1GtTmAlgo
trigger masks
Definition:
L1GtTriggerMenuLiteProducer.h:95
edm::Event
Definition:
Event.h:73
edm::one::EDProducer
Definition:
EDProducer.h:30
L1GtStableParameters.h
edm::Run
Definition:
Run.h:45
Generated for CMSSW Reference Manual by
1.8.14