test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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
25 
29 
32 
35 
36 
37 // class declaration
38 
40 
41 public:
42  explicit L1GtAnalyzer(const edm::ParameterSet&);
43  ~L1GtAnalyzer();
44 
45 private:
46 
47  virtual void beginJob();
48  virtual void beginRun(const edm::Run&, const edm::EventSetup&);
49  virtual void beginLuminosityBlock(const edm::LuminosityBlock&,
50  const edm::EventSetup&);
51 
54  virtual void analyzeDecisionReadoutRecord(const edm::Event&, const edm::EventSetup&);
55 
57  void analyzeL1GtUtilsCore(const edm::Event&, const edm::EventSetup&);
61  void analyzeL1GtUtils(const edm::Event&, const edm::EventSetup&);
62 
64  void analyzeTrigger(const edm::Event&, const edm::EventSetup&);
65 
67  virtual void analyzeObjectMap(const edm::Event&, const edm::EventSetup&);
68 
71 
80 
82  void printOutput(std::ostringstream&);
83 
85  virtual void analyze(const edm::Event&, const edm::EventSetup&);
86 
88  virtual void endLuminosityBlock(const edm::LuminosityBlock&,
89  const edm::EventSetup&);
90  virtual void endRun(const edm::Run&, const edm::EventSetup&);
91 
93  virtual void endJob();
94 
95 private:
96 
97  // L1Extra collections
99 
102 
103 
106  //
111  //
113  //
115  //
119 
120 private:
121 
124 
127 
130 
133 
136 
139 
142 
145 
148 
150  unsigned int m_bitNumber;
151 
154 
158 
162 
165 
169 
170 private:
171 
175 
176 };
177 
178 #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:135
virtual void analyzeDecisionReadoutRecord(const edm::Event &, const edm::EventSetup &)
edm::InputTag m_condInEdmInputTag
input tag for ConditionInEdm products
Definition: L1GtAnalyzer.h:141
edm::InputTag m_l1GtRecordInputTag
input tags for GT lite product
Definition: L1GtAnalyzer.h:126
virtual void endJob()
end of job
bool m_analyzeObjectMapEnable
Definition: L1GtAnalyzer.h:112
virtual void analyze(const edm::Event &, const edm::EventSetup &)
analyze each event: event loop over various code snippets
bool m_analyzeConditionsInRunBlockEnable
Definition: L1GtAnalyzer.h:116
std::string m_l1GtUtilsLogicalExpression
Definition: L1GtAnalyzer.h:168
bool m_analyzeDecisionReadoutRecordEnable
enable / disable various analysis methods
Definition: L1GtAnalyzer.h:105
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:118
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:144
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:147
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:129
L1RetrieveL1Extra m_retrieveL1Extra
Definition: L1GtAnalyzer.h:98
bool m_analyzeTriggerEnable
Definition: L1GtAnalyzer.h:110
bool m_analyzeL1GtUtilsEventSetupEnable
Definition: L1GtAnalyzer.h:108
unsigned int m_bitNumber
a bit number to retrieve the name and the alias
Definition: L1GtAnalyzer.h:150
L1GtUtils m_l1GtUtils
Definition: L1GtAnalyzer.h:172
int m_printOutput
print output
Definition: L1GtAnalyzer.h:101
void analyzeConditionsInLumiBlock(const edm::LuminosityBlock &, const edm::EventSetup &)
to be used in beginLuminosityBlock
virtual void beginJob()
bool m_analyzeL1GtTriggerMenuLiteEnable
Definition: L1GtAnalyzer.h:114
unsigned int m_l1GtUtilsConfiguration
L1 configuration code for L1GtUtils.
Definition: L1GtAnalyzer.h:153
bool m_analyzeConditionsInLumiBlockEnable
Definition: L1GtAnalyzer.h:117
edm::InputTag m_l1GtDaqReadoutRecordInputTag
input tags for GT DAQ product
Definition: L1GtAnalyzer.h:123
L1GtUtils::LogicalExpressionL1Results m_logicalExpressionL1ResultsProv
Definition: L1GtAnalyzer.h:173
bool m_l1GtUtilsConfigureBeginRun
if true, configure (partially) L1GtUtils in beginRun using getL1GtRunCache
Definition: L1GtAnalyzer.h:164
L1GtAnalyzer(const edm::ParameterSet &)
Definition: L1GtAnalyzer.cc:53
edm::InputTag m_l1GtObjectMapsInputTag
input tags for GT object map collection L1GlobalTriggerObjectMaps
Definition: L1GtAnalyzer.h:132
bool m_l1GtTmLInputTagProv
Definition: L1GtAnalyzer.h:157
bool m_analyzeL1GtUtilsMenuLiteEnable
Definition: L1GtAnalyzer.h:107
bool m_analyzeL1GtUtilsEnable
Definition: L1GtAnalyzer.h:109
bool m_l1GtRecordsInputTagProv
Definition: L1GtAnalyzer.h:161
void analyzeL1GtUtilsEventSetup(const edm::Event &, const edm::EventSetup &)
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:41
void analyzeL1GtUtilsMenuLite(const edm::Event &, const edm::EventSetup &)
for tests, use only one of the following methods
L1GtUtils::LogicalExpressionL1Results m_logicalExpressionL1Results
Definition: L1GtAnalyzer.h:174
virtual void beginRun(const edm::Run &, const edm::EventSetup &)
edm::InputTag m_l1GtTmLInputTag
input tag for L1GtTriggerMenuLite
Definition: L1GtAnalyzer.h:138
void analyzeL1GtUtilsCore(const edm::Event &, const edm::EventSetup &)
analyze: usage of L1GtUtils