CMS 3D CMS Logo

L1GtAnalyzer.h
Go to the documentation of this file.
1 #ifndef GlobalTriggerAnalyzer_L1GtAnalyzer_h
2 #define GlobalTriggerAnalyzer_L1GtAnalyzer_h
3 
18 // system include files
19 #include <memory>
20 #include <string>
21 
22 // user include files
23 
25 
30 
33 
37 
41 
44 
45 
46 // class declaration
47 
49 
50 public:
51  explicit L1GtAnalyzer(const edm::ParameterSet&);
52  ~L1GtAnalyzer();
53 
54 private:
55 
56  virtual void beginJob();
57  virtual void beginRun(const edm::Run&, const edm::EventSetup&);
58  virtual void beginLuminosityBlock(const edm::LuminosityBlock&,
59  const edm::EventSetup&);
60 
63  virtual void analyzeDecisionReadoutRecord(const edm::Event&, const edm::EventSetup&);
64 
66  void analyzeL1GtUtilsCore(const edm::Event&, const edm::EventSetup&);
70  void analyzeL1GtUtils(const edm::Event&, const edm::EventSetup&);
71 
73  void analyzeTrigger(const edm::Event&, const edm::EventSetup&);
74 
76  virtual void analyzeObjectMap(const edm::Event&, const edm::EventSetup&);
77 
80 
89 
91  void printOutput(std::ostringstream&);
92 
94  virtual void analyze(const edm::Event&, const edm::EventSetup&);
95 
97  virtual void endLuminosityBlock(const edm::LuminosityBlock&,
98  const edm::EventSetup&);
99  virtual void endRun(const edm::Run&, const edm::EventSetup&);
100 
102  virtual void endJob();
103 
104 private:
105 
106  // L1Extra collections
108 
111 
112 
115  //
120  //
122  //
124  //
128 
129 private:
130 
134 
137 
141 
145 
148 
152 
158 
161 
164 
166  unsigned int m_bitNumber;
167 
170 
174 
178 
181 
185 
186 private:
187 
192 
193 };
194 
195 #endif /*GlobalTriggerAnalyzer_L1GtAnalyzer_h*/
virtual void analyzeObjectMap(const edm::Event &, const edm::EventSetup &)
analyze: object map product
edm::InputTag m_l1GmtInputTag
input tag for muon collection from GMT
Definition: L1GtAnalyzer.h:147
edm::EDGetTokenT< edm::ConditionsInRunBlock > m_condInRunToken
Definition: L1GtAnalyzer.h:155
edm::EDGetTokenT< L1GtTriggerMenuLite > m_l1GtTmLToken
Definition: L1GtAnalyzer.h:151
virtual void analyzeDecisionReadoutRecord(const edm::Event &, const edm::EventSetup &)
edm::InputTag m_condInEdmInputTag
input tag for ConditionInEdm products
Definition: L1GtAnalyzer.h:154
edm::InputTag m_l1GtRecordInputTag
input tags for GT lite product
Definition: L1GtAnalyzer.h:136
virtual void endJob()
end of job
bool m_analyzeObjectMapEnable
Definition: L1GtAnalyzer.h:121
virtual void analyze(const edm::Event &, const edm::EventSetup &)
analyze each event: event loop over various code snippets
bool m_analyzeConditionsInRunBlockEnable
Definition: L1GtAnalyzer.h:125
edm::EDGetTokenT< L1GlobalTriggerObjectMaps > m_l1GtObjectMapsToken
Definition: L1GtAnalyzer.h:144
std::string m_l1GtUtilsLogicalExpression
Definition: L1GtAnalyzer.h:184
bool m_analyzeDecisionReadoutRecordEnable
enable / disable various analysis methods
Definition: L1GtAnalyzer.h:114
virtual void endLuminosityBlock(const edm::LuminosityBlock &, const edm::EventSetup &)
end section
void analyzeConditionsInEventBlock(const edm::Event &, const edm::EventSetup &)
to be used in analyze/produce/filter
void analyzeConditionsInRunBlock(const edm::Run &, const edm::EventSetup &)
bool m_analyzeConditionsInEventBlockEnable
Definition: L1GtAnalyzer.h:127
void analyzeL1GtUtils(const edm::Event &, const edm::EventSetup &)
std::string m_nameAlgTechTrig
an algorithm trigger (name or alias) or a technical trigger name
Definition: L1GtAnalyzer.h:160
void printOutput(std::ostringstream &)
print the output stream to the required output, given by m_printOutput
virtual void endRun(const edm::Run &, const edm::EventSetup &)
std::string m_condName
a condition in the algorithm trigger to test the object maps
Definition: L1GtAnalyzer.h:163
void analyzeL1GtTriggerMenuLite(const edm::Event &, const edm::EventSetup &)
analyze: usage of L1GtTriggerMenuLite
edm::InputTag m_l1GtObjectMapTag
input tags for GT object map collection L1GlobalTriggerObjectMapRecord
Definition: L1GtAnalyzer.h:139
L1RetrieveL1Extra m_retrieveL1Extra
Definition: L1GtAnalyzer.h:107
bool m_analyzeTriggerEnable
Definition: L1GtAnalyzer.h:119
edm::EDGetTokenT< edm::ConditionsInLumiBlock > m_condInLumiToken
Definition: L1GtAnalyzer.h:156
bool m_analyzeL1GtUtilsEventSetupEnable
Definition: L1GtAnalyzer.h:117
edm::EDGetTokenT< edm::ConditionsInEventBlock > m_condInEventToken
Definition: L1GtAnalyzer.h:157
unsigned int m_bitNumber
a bit number to retrieve the name and the alias
Definition: L1GtAnalyzer.h:166
L1GtUtils m_l1GtUtilsProv
Definition: L1GtAnalyzer.h:188
L1GtUtils m_l1GtUtils
Definition: L1GtAnalyzer.h:189
int m_printOutput
print output
Definition: L1GtAnalyzer.h:110
void analyzeConditionsInLumiBlock(const edm::LuminosityBlock &, const edm::EventSetup &)
to be used in beginLuminosityBlock
virtual void beginJob()
edm::EDGetTokenT< L1GlobalTriggerReadoutRecord > m_l1GtDaqReadoutRecordToken
Definition: L1GtAnalyzer.h:133
bool m_analyzeL1GtTriggerMenuLiteEnable
Definition: L1GtAnalyzer.h:123
unsigned int m_l1GtUtilsConfiguration
L1 configuration code for L1GtUtils.
Definition: L1GtAnalyzer.h:169
bool m_analyzeConditionsInLumiBlockEnable
Definition: L1GtAnalyzer.h:126
edm::InputTag m_l1GtDaqReadoutRecordInputTag
input tags for GT DAQ product
Definition: L1GtAnalyzer.h:132
L1GtUtils::LogicalExpressionL1Results m_logicalExpressionL1ResultsProv
Definition: L1GtAnalyzer.h:190
bool m_l1GtUtilsConfigureBeginRun
if true, configure (partially) L1GtUtils in beginRun using getL1GtRunCache
Definition: L1GtAnalyzer.h:180
L1GtAnalyzer(const edm::ParameterSet &)
Definition: L1GtAnalyzer.cc:43
edm::InputTag m_l1GtObjectMapsInputTag
input tags for GT object map collection L1GlobalTriggerObjectMaps
Definition: L1GtAnalyzer.h:143
bool m_l1GtTmLInputTagProv
Definition: L1GtAnalyzer.h:173
bool m_analyzeL1GtUtilsMenuLiteEnable
Definition: L1GtAnalyzer.h:116
bool m_analyzeL1GtUtilsEnable
Definition: L1GtAnalyzer.h:118
bool m_l1GtRecordsInputTagProv
Definition: L1GtAnalyzer.h:177
void analyzeL1GtUtilsEventSetup(const edm::Event &, const edm::EventSetup &)
edm::EDGetTokenT< L1GlobalTriggerObjectMapRecord > m_l1GtObjectMapToken
Definition: L1GtAnalyzer.h:140
void analyzeTrigger(const edm::Event &, const edm::EventSetup &)
full analysis of an algorithm or technical trigger
virtual void beginLuminosityBlock(const edm::LuminosityBlock &, const edm::EventSetup &)
Definition: Run.h:43
void analyzeL1GtUtilsMenuLite(const edm::Event &, const edm::EventSetup &)
for tests, use only one of the following methods
L1GtUtils::LogicalExpressionL1Results m_logicalExpressionL1Results
Definition: L1GtAnalyzer.h:191
virtual void beginRun(const edm::Run &, const edm::EventSetup &)
edm::InputTag m_l1GtTmLInputTag
input tag for L1GtTriggerMenuLite
Definition: L1GtAnalyzer.h:150
void analyzeL1GtUtilsCore(const edm::Event &, const edm::EventSetup &)
analyze: usage of L1GtUtils