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 // class declaration
46 
47 class L1GtAnalyzer : public edm::EDAnalyzer {
48 public:
49  explicit L1GtAnalyzer(const edm::ParameterSet&);
50  ~L1GtAnalyzer() override;
51 
52 private:
53  void beginJob() override;
54  void beginRun(const edm::Run&, const edm::EventSetup&) override;
55  void beginLuminosityBlock(const edm::LuminosityBlock&, const edm::EventSetup&) override;
56 
59  virtual void analyzeDecisionReadoutRecord(const edm::Event&, const edm::EventSetup&);
60 
62  void analyzeL1GtUtilsCore(const edm::Event&, const edm::EventSetup&);
66  void analyzeL1GtUtils(const edm::Event&, const edm::EventSetup&);
67 
69  void analyzeTrigger(const edm::Event&, const edm::EventSetup&);
70 
72  virtual void analyzeObjectMap(const edm::Event&, const edm::EventSetup&);
73 
76 
85 
87  void printOutput(std::ostringstream&);
88 
90  void analyze(const edm::Event&, const edm::EventSetup&) override;
91 
93  void endLuminosityBlock(const edm::LuminosityBlock&, const edm::EventSetup&) override;
94  void endRun(const edm::Run&, const edm::EventSetup&) override;
95 
97  void endJob() override;
98 
99 private:
100  // L1Extra collections
102 
105 
108  //
113  //
115  //
117  //
121 
122 private:
126 
129 
133 
137 
140 
144 
150 
153 
156 
158  unsigned int m_bitNumber;
159 
162 
166 
170 
173 
177 
178 private:
183 };
184 
185 #endif /*GlobalTriggerAnalyzer_L1GtAnalyzer_h*/
void beginRun(const edm::Run &, const edm::EventSetup &) override
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:139
edm::EDGetTokenT< edm::ConditionsInRunBlock > m_condInRunToken
Definition: L1GtAnalyzer.h:147
edm::EDGetTokenT< L1GtTriggerMenuLite > m_l1GtTmLToken
Definition: L1GtAnalyzer.h:143
virtual void analyzeDecisionReadoutRecord(const edm::Event &, const edm::EventSetup &)
edm::InputTag m_condInEdmInputTag
input tag for ConditionInEdm products
Definition: L1GtAnalyzer.h:146
edm::InputTag m_l1GtRecordInputTag
input tags for GT lite product
Definition: L1GtAnalyzer.h:128
bool m_analyzeObjectMapEnable
Definition: L1GtAnalyzer.h:114
bool m_analyzeConditionsInRunBlockEnable
Definition: L1GtAnalyzer.h:118
edm::EDGetTokenT< L1GlobalTriggerObjectMaps > m_l1GtObjectMapsToken
Definition: L1GtAnalyzer.h:136
std::string m_l1GtUtilsLogicalExpression
Definition: L1GtAnalyzer.h:176
bool m_analyzeDecisionReadoutRecordEnable
enable / disable various analysis methods
Definition: L1GtAnalyzer.h:107
void beginJob() override
void analyzeConditionsInEventBlock(const edm::Event &, const edm::EventSetup &)
to be used in analyze/produce/filter
void endRun(const edm::Run &, const edm::EventSetup &) override
void analyzeConditionsInRunBlock(const edm::Run &, const edm::EventSetup &)
bool m_analyzeConditionsInEventBlockEnable
Definition: L1GtAnalyzer.h:120
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:152
void printOutput(std::ostringstream &)
print the output stream to the required output, given by m_printOutput
std::string m_condName
a condition in the algorithm trigger to test the object maps
Definition: L1GtAnalyzer.h:155
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:131
L1RetrieveL1Extra m_retrieveL1Extra
Definition: L1GtAnalyzer.h:101
bool m_analyzeTriggerEnable
Definition: L1GtAnalyzer.h:112
edm::EDGetTokenT< edm::ConditionsInLumiBlock > m_condInLumiToken
Definition: L1GtAnalyzer.h:148
~L1GtAnalyzer() override
bool m_analyzeL1GtUtilsEventSetupEnable
Definition: L1GtAnalyzer.h:110
edm::EDGetTokenT< edm::ConditionsInEventBlock > m_condInEventToken
Definition: L1GtAnalyzer.h:149
unsigned int m_bitNumber
a bit number to retrieve the name and the alias
Definition: L1GtAnalyzer.h:158
L1GtUtils m_l1GtUtilsProv
Definition: L1GtAnalyzer.h:179
L1GtUtils m_l1GtUtils
Definition: L1GtAnalyzer.h:180
int m_printOutput
print output
Definition: L1GtAnalyzer.h:104
void analyzeConditionsInLumiBlock(const edm::LuminosityBlock &, const edm::EventSetup &)
to be used in beginLuminosityBlock
void beginLuminosityBlock(const edm::LuminosityBlock &, const edm::EventSetup &) override
edm::EDGetTokenT< L1GlobalTriggerReadoutRecord > m_l1GtDaqReadoutRecordToken
Definition: L1GtAnalyzer.h:125
bool m_analyzeL1GtTriggerMenuLiteEnable
Definition: L1GtAnalyzer.h:116
unsigned int m_l1GtUtilsConfiguration
L1 configuration code for L1GtUtils.
Definition: L1GtAnalyzer.h:161
bool m_analyzeConditionsInLumiBlockEnable
Definition: L1GtAnalyzer.h:119
void endLuminosityBlock(const edm::LuminosityBlock &, const edm::EventSetup &) override
end section
edm::InputTag m_l1GtDaqReadoutRecordInputTag
input tags for GT DAQ product
Definition: L1GtAnalyzer.h:124
L1GtUtils::LogicalExpressionL1Results m_logicalExpressionL1ResultsProv
Definition: L1GtAnalyzer.h:181
bool m_l1GtUtilsConfigureBeginRun
if true, configure (partially) L1GtUtils in beginRun using getL1GtRunCache
Definition: L1GtAnalyzer.h:172
void endJob() override
end of job
L1GtAnalyzer(const edm::ParameterSet &)
Definition: L1GtAnalyzer.cc:43
edm::InputTag m_l1GtObjectMapsInputTag
input tags for GT object map collection L1GlobalTriggerObjectMaps
Definition: L1GtAnalyzer.h:135
bool m_l1GtTmLInputTagProv
Definition: L1GtAnalyzer.h:165
bool m_analyzeL1GtUtilsMenuLiteEnable
Definition: L1GtAnalyzer.h:109
bool m_analyzeL1GtUtilsEnable
Definition: L1GtAnalyzer.h:111
bool m_l1GtRecordsInputTagProv
Definition: L1GtAnalyzer.h:169
void analyzeL1GtUtilsEventSetup(const edm::Event &, const edm::EventSetup &)
edm::EDGetTokenT< L1GlobalTriggerObjectMapRecord > m_l1GtObjectMapToken
Definition: L1GtAnalyzer.h:132
void analyzeTrigger(const edm::Event &, const edm::EventSetup &)
full analysis of an algorithm or technical trigger
void analyze(const edm::Event &, const edm::EventSetup &) override
analyze each event: event loop over various code snippets
Definition: Run.h:45
void analyzeL1GtUtilsMenuLite(const edm::Event &, const edm::EventSetup &)
for tests, use only one of the following methods
L1GtUtils::LogicalExpressionL1Results m_logicalExpressionL1Results
Definition: L1GtAnalyzer.h:182
edm::InputTag m_l1GtTmLInputTag
input tag for L1GtTriggerMenuLite
Definition: L1GtAnalyzer.h:142
void analyzeL1GtUtilsCore(const edm::Event &, const edm::EventSetup &)
analyze: usage of L1GtUtils