Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
L1TriggerConfig
L1GtConfigProducers
interface
L1GtTriggerMenuTester.h
Go to the documentation of this file.
1
#ifndef L1GtConfigProducers_L1GtTriggerMenuTester_h
2
#define L1GtConfigProducers_L1GtTriggerMenuTester_h
3
20
// this class header
21
#include "
L1TriggerConfig/L1GtConfigProducers/interface/L1GtTriggerMenuTester.h
"
22
23
// system include files
24
#include <string>
25
#include <map>
26
27
// user include files
28
// base class
29
#include "
FWCore/Framework/interface/EDAnalyzer.h
"
30
31
#include "
FWCore/Framework/interface/Event.h
"
32
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
33
34
#include "
CondFormats/L1TObjects/interface/L1GtAlgorithm.h
"
35
36
#include "
HLTrigger/HLTcore/interface/HLTConfigProvider.h
"
37
38
// forward declarations
39
class
L1GtStableParameters
;
40
class
L1GtPrescaleFactors
;
41
class
L1GtTriggerMask
;
42
class
L1GtTriggerMenu
;
43
44
// class declaration
45
class
L1GtTriggerMenuTester
:
public
edm::EDAnalyzer
{
46
47
public
:
48
49
// constructor
50
explicit
L1GtTriggerMenuTester
(
const
edm::ParameterSet
&);
51
52
// destructor
53
virtual
~L1GtTriggerMenuTester
();
54
55
private
:
56
58
void
beginJob
();
59
61
void
beginRun
(
const
edm::Run
&,
const
edm::EventSetup
&);
62
64
void
beginLuminosityBlock
(
const
edm::LuminosityBlock
&,
65
const
edm::EventSetup
&);
66
68
void
analyze
(
const
edm::Event
&,
const
edm::EventSetup
&);
69
71
void
72
endLuminosityBlock
(
const
edm::LuminosityBlock
&,
const
edm::EventSetup
&);
73
75
void
endRun
(
const
edm::Run
&,
const
edm::EventSetup
&);
76
78
void
endJob
();
79
80
private
:
81
83
void
retrieveL1EventSetup
(
const
edm::EventSetup
&);
84
86
void
associateL1SeedsHltPath
(
const
edm::Run
&,
const
edm::EventSetup
&);
87
89
void
printTriggerGroup
(
const
std::string& trigGroupName,
90
const
std::map<std::string, const L1GtAlgorithm*>& trigGroup,
91
const
bool
compactPrint,
const
bool
printPfsRates);
92
94
void
printWiki
();
95
96
private
:
97
99
typedef
std::map<std::string, const L1GtAlgorithm*>::const_iterator
100
CItAlgoP
;
101
102
private
:
103
105
108
bool
m_overwriteHtmlFile
;
109
111
std::string
m_htmlFile
;
112
114
bool
m_useHltMenu
;
115
117
std::string
m_hltProcessName
;
118
121
bool
m_noThrowIncompatibleMenu
;
122
124
bool
m_printPfsRates
;
125
127
int
m_indexPfSet
;
128
129
private
:
130
132
134
const
L1GtStableParameters
*
m_l1GtStablePar
;
135
137
unsigned
int
m_numberAlgorithmTriggers
;
138
140
unsigned
int
m_numberTechnicalTriggers
;
141
143
const
L1GtPrescaleFactors
*
m_l1GtPfAlgo
;
144
145
const
L1GtPrescaleFactors
*
m_l1GtPfTech
;
146
147
const
std::vector<std::vector<int> >*
m_prescaleFactorsAlgoTrig
;
148
const
std::vector<std::vector<int> >*
m_prescaleFactorsTechTrig
;
149
151
const
L1GtTriggerMask
*
m_l1GtTmAlgo
;
152
const
L1GtTriggerMask
*
m_l1GtTmTech
;
153
154
const
L1GtTriggerMask
*
m_l1GtTmVetoAlgo
;
155
const
L1GtTriggerMask
*
m_l1GtTmVetoTech
;
156
157
const
std::vector<unsigned int>*
m_triggerMaskAlgoTrig
;
158
const
std::vector<unsigned int>*
m_triggerMaskTechTrig
;
159
160
const
std::vector<unsigned int>*
m_triggerMaskVetoAlgoTrig
;
161
const
std::vector<unsigned int>*
m_triggerMaskVetoTechTrig
;
162
163
// trigger menu
164
const
L1GtTriggerMenu
*
m_l1GtMenu
;
165
166
const
AlgorithmMap
*
m_algorithmMap
;
167
const
AlgorithmMap
*
m_algorithmAliasMap
;
168
const
AlgorithmMap
*
m_technicalTriggerMap
;
169
170
private
:
171
173
HLTConfigProvider
m_hltConfig
;
174
176
std::string
m_hltTableName
;
177
179
std::vector<std::vector<std::string> >
m_hltPathsForL1AlgorithmTrigger
;
180
182
std::vector<std::vector<std::string> >
m_hltPathsForL1TechnicalTrigger
;
183
185
std::vector<std::string>
m_algoTriggerSeedNotInL1Menu
;
186
std::vector<std::string>
m_techTriggerSeedNotInL1Menu
;
187
188
};
189
190
#endif
/*L1GtConfigProducers_L1GtTriggerMenuTester_h*/
L1GtTriggerMenuTester::printTriggerGroup
void printTriggerGroup(const std::string &trigGroupName, const std::map< std::string, const L1GtAlgorithm * > &trigGroup, const bool compactPrint, const bool printPfsRates)
printing template for a trigger group
Definition:
L1GtTriggerMenuTester.cc:373
L1GtTriggerMenuTester::m_overwriteHtmlFile
bool m_overwriteHtmlFile
input parameters
Definition:
L1GtTriggerMenuTester.h:108
L1GtTriggerMenuTester::beginLuminosityBlock
void beginLuminosityBlock(const edm::LuminosityBlock &, const edm::EventSetup &)
begin luminosity block
Definition:
L1GtTriggerMenuTester.cc:140
L1GtTriggerMenuTester::m_prescaleFactorsTechTrig
const std::vector< std::vector< int > > * m_prescaleFactorsTechTrig
Definition:
L1GtTriggerMenuTester.h:148
L1GtTriggerMenuTester::m_noThrowIncompatibleMenu
bool m_noThrowIncompatibleMenu
Definition:
L1GtTriggerMenuTester.h:121
L1GtTriggerMenuTester::L1GtTriggerMenuTester
L1GtTriggerMenuTester(const edm::ParameterSet &)
Definition:
L1GtTriggerMenuTester.cc:61
L1GtTriggerMenuTester::endLuminosityBlock
void endLuminosityBlock(const edm::LuminosityBlock &, const edm::EventSetup &)
end luminosity block
Definition:
L1GtTriggerMenuTester.cc:154
L1GtPrescaleFactors
Definition:
L1GtPrescaleFactors.h:30
L1GtTriggerMenuTester::m_l1GtStablePar
const L1GtStableParameters * m_l1GtStablePar
event setup cached stuff
Definition:
L1GtTriggerMenuTester.h:134
L1GtTriggerMenuTester
Definition:
L1GtTriggerMenuTester.h:45
AlgorithmMap
std::map< std::string, L1GtAlgorithm > AlgorithmMap
map containing the algorithms
Definition:
L1GtTriggerMenuFwd.h:31
L1GtTriggerMenuTester::m_triggerMaskVetoAlgoTrig
const std::vector< unsigned int > * m_triggerMaskVetoAlgoTrig
Definition:
L1GtTriggerMenuTester.h:160
L1GtAlgorithm.h
Event.h
L1GtTriggerMenuTester::associateL1SeedsHltPath
void associateL1SeedsHltPath(const edm::Run &, const edm::EventSetup &)
L1 seed - HLT path association.
Definition:
L1GtTriggerMenuTester.cc:244
edm::LuminosityBlock
Definition:
LuminosityBlock.h:37
L1GtTriggerMenuTester.h
L1GtTriggerMenuTester::m_printPfsRates
bool m_printPfsRates
print prescale factors and rates
Definition:
L1GtTriggerMenuTester.h:124
L1GtTriggerMenuTester::m_hltTableName
std::string m_hltTableName
HLT menu was used to associate the HLT path to the L1 algorithm triggers.
Definition:
L1GtTriggerMenuTester.h:176
L1GtTriggerMenuTester::m_algorithmAliasMap
const AlgorithmMap * m_algorithmAliasMap
Definition:
L1GtTriggerMenuTester.h:167
L1GtTriggerMenuTester::m_hltConfig
HLTConfigProvider m_hltConfig
The instance of the HLTConfigProvider as a data member.
Definition:
L1GtTriggerMenuTester.h:173
L1GtTriggerMenuTester::m_l1GtMenu
const L1GtTriggerMenu * m_l1GtMenu
Definition:
L1GtTriggerMenuTester.h:164
L1GtTriggerMenuTester::m_algorithmMap
const AlgorithmMap * m_algorithmMap
Definition:
L1GtTriggerMenuTester.h:166
L1GtTriggerMenuTester::m_l1GtTmVetoAlgo
const L1GtTriggerMask * m_l1GtTmVetoAlgo
Definition:
L1GtTriggerMenuTester.h:154
L1GtTriggerMenuTester::m_l1GtPfTech
const L1GtPrescaleFactors * m_l1GtPfTech
Definition:
L1GtTriggerMenuTester.h:145
L1GtTriggerMenuTester::m_triggerMaskAlgoTrig
const std::vector< unsigned int > * m_triggerMaskAlgoTrig
Definition:
L1GtTriggerMenuTester.h:157
L1GtTriggerMenuTester::printWiki
void printWiki()
printing in Wiki format
Definition:
L1GtTriggerMenuTester.cc:518
ParameterSet.h
L1GtTriggerMenuTester::endRun
void endRun(const edm::Run &, const edm::EventSetup &)
end run
Definition:
L1GtTriggerMenuTester.cc:160
L1GtTriggerMenuTester::beginRun
void beginRun(const edm::Run &, const edm::EventSetup &)
begin run
Definition:
L1GtTriggerMenuTester.cc:87
L1GtTriggerMenuTester::m_techTriggerSeedNotInL1Menu
std::vector< std::string > m_techTriggerSeedNotInL1Menu
Definition:
L1GtTriggerMenuTester.h:186
L1GtTriggerMenuTester::m_indexPfSet
int m_indexPfSet
index of prescale factor set to be printed
Definition:
L1GtTriggerMenuTester.h:127
edm::EventSetup
Definition:
EventSetup.h:44
L1GtTriggerMenuTester::m_triggerMaskVetoTechTrig
const std::vector< unsigned int > * m_triggerMaskVetoTechTrig
Definition:
L1GtTriggerMenuTester.h:161
L1GtTriggerMenuTester::m_useHltMenu
bool m_useHltMenu
use a HLT menu for L1 seed - HLT path association
Definition:
L1GtTriggerMenuTester.h:114
L1GtTriggerMenuTester::endJob
void endJob()
end job
Definition:
L1GtTriggerMenuTester.cc:165
L1GtTriggerMenuTester::CItAlgoP
std::map< std::string, const L1GtAlgorithm * >::const_iterator CItAlgoP
constant iterator
Definition:
L1GtTriggerMenuTester.h:100
L1GtTriggerMenuTester::~L1GtTriggerMenuTester
virtual ~L1GtTriggerMenuTester()
Definition:
L1GtTriggerMenuTester.cc:77
L1GtStableParameters
Definition:
L1GtStableParameters.h:33
edm::EDAnalyzer
Definition:
EDAnalyzer.h:14
EDAnalyzer.h
L1GtTriggerMask
Definition:
L1GtTriggerMask.h:31
L1GtTriggerMenuTester::m_l1GtTmAlgo
const L1GtTriggerMask * m_l1GtTmAlgo
trigger masks & veto masks
Definition:
L1GtTriggerMenuTester.h:151
L1GtTriggerMenuTester::analyze
void analyze(const edm::Event &, const edm::EventSetup &)
analyze
Definition:
L1GtTriggerMenuTester.cc:146
L1GtTriggerMenuTester::beginJob
void beginJob()
begin job
Definition:
L1GtTriggerMenuTester.cc:82
L1GtTriggerMenu
Definition:
L1GtTriggerMenu.h:46
L1GtTriggerMenuTester::m_prescaleFactorsAlgoTrig
const std::vector< std::vector< int > > * m_prescaleFactorsAlgoTrig
Definition:
L1GtTriggerMenuTester.h:147
HLTConfigProvider.h
L1GtTriggerMenuTester::m_l1GtPfAlgo
const L1GtPrescaleFactors * m_l1GtPfAlgo
prescale factors
Definition:
L1GtTriggerMenuTester.h:143
L1GtTriggerMenuTester::m_numberAlgorithmTriggers
unsigned int m_numberAlgorithmTriggers
number of algorithm triggers
Definition:
L1GtTriggerMenuTester.h:137
L1GtTriggerMenuTester::m_technicalTriggerMap
const AlgorithmMap * m_technicalTriggerMap
Definition:
L1GtTriggerMenuTester.h:168
L1GtTriggerMenuTester::m_l1GtTmTech
const L1GtTriggerMask * m_l1GtTmTech
Definition:
L1GtTriggerMenuTester.h:152
L1GtTriggerMenuTester::m_algoTriggerSeedNotInL1Menu
std::vector< std::string > m_algoTriggerSeedNotInL1Menu
vector of algorithm or technical triggers not in the L1 menu
Definition:
L1GtTriggerMenuTester.h:185
L1GtTriggerMenuTester::m_hltPathsForL1TechnicalTrigger
std::vector< std::vector< std::string > > m_hltPathsForL1TechnicalTrigger
vector of HLT paths seeded by a L1 technical trigger - vector index corresponds to the bit number ...
Definition:
L1GtTriggerMenuTester.h:182
edm::ParameterSet
Definition:
ParameterSet.h:35
L1GtTriggerMenuTester::m_l1GtTmVetoTech
const L1GtTriggerMask * m_l1GtTmVetoTech
Definition:
L1GtTriggerMenuTester.h:155
HLTConfigProvider
Definition:
HLTConfigProvider.h:34
L1GtTriggerMenuTester::m_hltPathsForL1AlgorithmTrigger
std::vector< std::vector< std::string > > m_hltPathsForL1AlgorithmTrigger
vector of HLT paths seeded by a L1 algorithm trigger - vector index corresponds to the bit number ...
Definition:
L1GtTriggerMenuTester.h:179
edm::Event
Definition:
Event.h:50
L1GtTriggerMenuTester::retrieveL1EventSetup
void retrieveL1EventSetup(const edm::EventSetup &)
retrieve all the relevant L1 trigger event setup records
Definition:
L1GtTriggerMenuTester.cc:169
L1GtTriggerMenuTester::m_htmlFile
std::string m_htmlFile
name of HTML file attached to the wiki page
Definition:
L1GtTriggerMenuTester.h:111
L1GtTriggerMenuTester::m_hltProcessName
std::string m_hltProcessName
process name of HLT process for which to get HLT configuration
Definition:
L1GtTriggerMenuTester.h:117
L1GtTriggerMenuTester::m_numberTechnicalTriggers
unsigned int m_numberTechnicalTriggers
number of technical triggers
Definition:
L1GtTriggerMenuTester.h:140
edm::Run
Definition:
Run.h:33
L1GtTriggerMenuTester::m_triggerMaskTechTrig
const std::vector< unsigned int > * m_triggerMaskTechTrig
Definition:
L1GtTriggerMenuTester.h:158
Generated for CMSSW Reference Manual by
1.8.5