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*/
L1GtAnalyzer::m_l1GtObjectMapsInputTag
edm::InputTag m_l1GtObjectMapsInputTag
input tags for GT object map collection L1GlobalTriggerObjectMaps
Definition: L1GtAnalyzer.h:135
L1GtAnalyzer::m_l1GtDaqReadoutRecordToken
edm::EDGetTokenT< L1GlobalTriggerReadoutRecord > m_l1GtDaqReadoutRecordToken
Definition: L1GtAnalyzer.h:125
L1GtAnalyzer::endLuminosityBlock
void endLuminosityBlock(const edm::LuminosityBlock &, const edm::EventSetup &) override
end section
Definition: L1GtAnalyzer.cc:1500
L1GtAnalyzer::endJob
void endJob() override
end of job
Definition: L1GtAnalyzer.cc:1508
edm::LuminosityBlock
Definition: LuminosityBlock.h:50
L1GtAnalyzer::m_analyzeConditionsInEventBlockEnable
bool m_analyzeConditionsInEventBlockEnable
Definition: L1GtAnalyzer.h:120
L1GtAnalyzer::m_l1GtRecordInputTag
edm::InputTag m_l1GtRecordInputTag
input tags for GT lite product
Definition: L1GtAnalyzer.h:128
edm::Run
Definition: Run.h:45
edm::EDGetTokenT< L1GlobalTriggerReadoutRecord >
L1GtAnalyzer::m_l1GtObjectMapsToken
edm::EDGetTokenT< L1GlobalTriggerObjectMaps > m_l1GtObjectMapsToken
Definition: L1GtAnalyzer.h:136
L1GtAnalyzer::m_analyzeL1GtUtilsEnable
bool m_analyzeL1GtUtilsEnable
Definition: L1GtAnalyzer.h:111
L1GlobalTriggerObjectMaps.h
L1GtAnalyzer::m_analyzeDecisionReadoutRecordEnable
bool m_analyzeDecisionReadoutRecordEnable
enable / disable various analysis methods
Definition: L1GtAnalyzer.h:107
L1GtAnalyzer::m_l1GmtInputTag
edm::InputTag m_l1GmtInputTag
input tag for muon collection from GMT
Definition: L1GtAnalyzer.h:139
L1GtAnalyzer::analyzeObjectMap
virtual void analyzeObjectMap(const edm::Event &, const edm::EventSetup &)
analyze: object map product
Definition: L1GtAnalyzer.cc:1090
EDAnalyzer.h
L1GtAnalyzer::m_l1GtUtilsLogicalExpression
std::string m_l1GtUtilsLogicalExpression
Definition: L1GtAnalyzer.h:176
L1GtAnalyzer::m_logicalExpressionL1ResultsProv
L1GtUtils::LogicalExpressionL1Results m_logicalExpressionL1ResultsProv
Definition: L1GtAnalyzer.h:181
L1GtAnalyzer::m_nameAlgTechTrig
std::string m_nameAlgTechTrig
an algorithm trigger (name or alias) or a technical trigger name
Definition: L1GtAnalyzer.h:152
L1GtTriggerMenuLite.h
L1GtAnalyzer::m_l1GtTmLInputTagProv
bool m_l1GtTmLInputTagProv
Definition: L1GtAnalyzer.h:165
edm::EDAnalyzer
Definition: EDAnalyzer.h:29
L1GtAnalyzer::m_printOutput
int m_printOutput
print output
Definition: L1GtAnalyzer.h:104
L1GtAnalyzer::m_analyzeL1GtUtilsEventSetupEnable
bool m_analyzeL1GtUtilsEventSetupEnable
Definition: L1GtAnalyzer.h:110
L1GtAnalyzer::analyzeL1GtUtilsCore
void analyzeL1GtUtilsCore(const edm::Event &, const edm::EventSetup &)
analyze: usage of L1GtUtils
Definition: L1GtAnalyzer.cc:259
L1GtAnalyzer::m_analyzeL1GtUtilsMenuLiteEnable
bool m_analyzeL1GtUtilsMenuLiteEnable
Definition: L1GtAnalyzer.h:109
L1GtAnalyzer::~L1GtAnalyzer
~L1GtAnalyzer() override
Definition: L1GtAnalyzer.cc:139
MakerMacros.h
L1GtAnalyzer::m_l1GtTmLToken
edm::EDGetTokenT< L1GtTriggerMenuLite > m_l1GtTmLToken
Definition: L1GtAnalyzer.h:143
L1GtAnalyzer::analyzeL1GtUtilsMenuLite
void analyzeL1GtUtilsMenuLite(const edm::Event &, const edm::EventSetup &)
for tests, use only one of the following methods
Definition: L1GtAnalyzer.cc:807
L1GtAnalyzer::L1GtAnalyzer
L1GtAnalyzer(const edm::ParameterSet &)
Definition: L1GtAnalyzer.cc:43
L1GtAnalyzer::analyzeConditionsInEventBlock
void analyzeConditionsInEventBlock(const edm::Event &, const edm::EventSetup &)
to be used in analyze/produce/filter
Definition: L1GtAnalyzer.cc:1366
L1GtAnalyzer::m_retrieveL1Extra
L1RetrieveL1Extra m_retrieveL1Extra
Definition: L1GtAnalyzer.h:101
L1GtAnalyzer::analyzeL1GtUtils
void analyzeL1GtUtils(const edm::Event &, const edm::EventSetup &)
Definition: L1GtAnalyzer.cc:843
L1GtAnalyzer::m_l1GtUtilsProv
L1GtUtils m_l1GtUtilsProv
Definition: L1GtAnalyzer.h:179
L1GtAnalyzer
Definition: L1GtAnalyzer.h:47
L1GtUtils
Definition: L1GtUtils.h:66
L1GtAnalyzer::analyzeL1GtUtilsEventSetup
void analyzeL1GtUtilsEventSetup(const edm::Event &, const edm::EventSetup &)
Definition: L1GtAnalyzer.cc:825
L1GtAnalyzer::analyzeDecisionReadoutRecord
virtual void analyzeDecisionReadoutRecord(const edm::Event &, const edm::EventSetup &)
Definition: L1GtAnalyzer.cc:223
EDGetToken.h
L1GtAnalyzer::endRun
void endRun(const edm::Run &, const edm::EventSetup &) override
Definition: L1GtAnalyzer.cc:1503
L1GtAnalyzer::m_analyzeObjectMapEnable
bool m_analyzeObjectMapEnable
Definition: L1GtAnalyzer.h:114
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
L1GtAnalyzer::analyzeL1GtTriggerMenuLite
void analyzeL1GtTriggerMenuLite(const edm::Event &, const edm::EventSetup &)
analyze: usage of L1GtTriggerMenuLite
Definition: L1GtAnalyzer.cc:1140
edm::ParameterSet
Definition: ParameterSet.h:36
L1RetrieveL1Extra
Definition: L1RetrieveL1Extra.h:55
Event.h
L1GtAnalyzer::m_l1GtUtilsConfigureBeginRun
bool m_l1GtUtilsConfigureBeginRun
if true, configure (partially) L1GtUtils in beginRun using getL1GtRunCache
Definition: L1GtAnalyzer.h:172
L1GtAnalyzer::m_l1GtRecordsInputTagProv
bool m_l1GtRecordsInputTagProv
Definition: L1GtAnalyzer.h:169
L1GtAnalyzer::analyze
void analyze(const edm::Event &, const edm::EventSetup &) override
analyze each event: event loop over various code snippets
Definition: L1GtAnalyzer.cc:1434
L1GtAnalyzer::m_analyzeConditionsInRunBlockEnable
bool m_analyzeConditionsInRunBlockEnable
Definition: L1GtAnalyzer.h:118
L1GtAnalyzer::m_l1GtTmLInputTag
edm::InputTag m_l1GtTmLInputTag
input tag for L1GtTriggerMenuLite
Definition: L1GtAnalyzer.h:142
L1GtAnalyzer::analyzeTrigger
void analyzeTrigger(const edm::Event &, const edm::EventSetup &)
full analysis of an algorithm or technical trigger
Definition: L1GtAnalyzer.cc:861
edm::EventSetup
Definition: EventSetup.h:57
L1GtAnalyzer::m_l1GtUtils
L1GtUtils m_l1GtUtils
Definition: L1GtAnalyzer.h:180
L1GtAnalyzer::m_analyzeConditionsInLumiBlockEnable
bool m_analyzeConditionsInLumiBlockEnable
Definition: L1GtAnalyzer.h:119
L1GtAnalyzer::m_analyzeTriggerEnable
bool m_analyzeTriggerEnable
Definition: L1GtAnalyzer.h:112
L1GtAnalyzer::m_condInLumiToken
edm::EDGetTokenT< edm::ConditionsInLumiBlock > m_condInLumiToken
Definition: L1GtAnalyzer.h:148
InputTag.h
L1GtAnalyzer::m_bitNumber
unsigned int m_bitNumber
a bit number to retrieve the name and the alias
Definition: L1GtAnalyzer.h:158
L1GtAnalyzer::beginJob
void beginJob() override
Definition: L1GtAnalyzer.cc:144
L1GtAnalyzer::m_condName
std::string m_condName
a condition in the algorithm trigger to test the object maps
Definition: L1GtAnalyzer.h:155
ConditionsInEdm.h
Frameworkfwd.h
L1GtUtils.h
L1GtAnalyzer::analyzeConditionsInLumiBlock
void analyzeConditionsInLumiBlock(const edm::LuminosityBlock &, const edm::EventSetup &)
to be used in beginLuminosityBlock
Definition: L1GtAnalyzer.cc:1334
L1GtAnalyzer::m_condInEdmInputTag
edm::InputTag m_condInEdmInputTag
input tag for ConditionInEdm products
Definition: L1GtAnalyzer.h:146
EventSetup.h
L1GtAnalyzer::beginLuminosityBlock
void beginLuminosityBlock(const edm::LuminosityBlock &, const edm::EventSetup &) override
Definition: L1GtAnalyzer.cc:213
L1RetrieveL1Extra.h
L1GlobalTriggerObjectMapRecord.h
ParameterSet.h
L1GtUtils::LogicalExpressionL1Results
Definition: L1GtUtils.h:157
edm::Event
Definition: Event.h:73
L1GtAnalyzer::m_l1GtObjectMapToken
edm::EDGetTokenT< L1GlobalTriggerObjectMapRecord > m_l1GtObjectMapToken
Definition: L1GtAnalyzer.h:132
L1GtAnalyzer::m_l1GtDaqReadoutRecordInputTag
edm::InputTag m_l1GtDaqReadoutRecordInputTag
input tags for GT DAQ product
Definition: L1GtAnalyzer.h:124
L1GtAnalyzer::m_logicalExpressionL1Results
L1GtUtils::LogicalExpressionL1Results m_logicalExpressionL1Results
Definition: L1GtAnalyzer.h:182
L1GtAnalyzer::printOutput
void printOutput(std::ostringstream &)
print the output stream to the required output, given by m_printOutput
Definition: L1GtAnalyzer.cc:1395
L1GtAnalyzer::beginRun
void beginRun(const edm::Run &, const edm::EventSetup &) override
Definition: L1GtAnalyzer.cc:148
L1GtAnalyzer::m_condInRunToken
edm::EDGetTokenT< edm::ConditionsInRunBlock > m_condInRunToken
Definition: L1GtAnalyzer.h:147
L1GtAnalyzer::m_l1GtObjectMapTag
edm::InputTag m_l1GtObjectMapTag
input tags for GT object map collection L1GlobalTriggerObjectMapRecord
Definition: L1GtAnalyzer.h:131
edm::InputTag
Definition: InputTag.h:15
L1GlobalTriggerReadoutRecord.h
L1GtAnalyzer::m_l1GtUtilsConfiguration
unsigned int m_l1GtUtilsConfiguration
L1 configuration code for L1GtUtils.
Definition: L1GtAnalyzer.h:161
L1GtAnalyzer::analyzeConditionsInRunBlock
void analyzeConditionsInRunBlock(const edm::Run &, const edm::EventSetup &)
Definition: L1GtAnalyzer.cc:1302
L1GtAnalyzer::m_condInEventToken
edm::EDGetTokenT< edm::ConditionsInEventBlock > m_condInEventToken
Definition: L1GtAnalyzer.h:149
L1GtAnalyzer::m_analyzeL1GtTriggerMenuLiteEnable
bool m_analyzeL1GtTriggerMenuLiteEnable
Definition: L1GtAnalyzer.h:116