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 
20 // system include files
21 #include <memory>
22 #include <string>
23 
24 // user include files
27 
31 
34 
37 
38 
39 // class declaration
40 
42 
43 public:
44  explicit L1GtAnalyzer(const edm::ParameterSet&);
45  ~L1GtAnalyzer();
46 
47 private:
48 
49  virtual void beginJob();
50  virtual void beginRun(const edm::Run&, const edm::EventSetup&);
51  virtual void beginLuminosityBlock(const edm::LuminosityBlock&,
52  const edm::EventSetup&);
53 
56  virtual void analyzeDecisionReadoutRecord(const edm::Event&, const edm::EventSetup&);
57 
59  void analyzeL1GtUtilsCore(const edm::Event&, const edm::EventSetup&);
63  void analyzeL1GtUtils(const edm::Event&, const edm::EventSetup&);
64 
66  void analyzeTrigger(const edm::Event&, const edm::EventSetup&);
67 
69  virtual void analyzeObjectMap(const edm::Event&, const edm::EventSetup&);
70 
73 
82 
84  void printOutput(std::ostringstream&);
85 
87  virtual void analyze(const edm::Event&, const edm::EventSetup&);
88 
90  virtual void endLuminosityBlock(const edm::LuminosityBlock&,
91  const edm::EventSetup&);
92  virtual void endRun(const edm::Run&, const edm::EventSetup&);
93 
95  virtual void endJob();
96 
97 private:
98 
99  // L1Extra collections
101 
104 
105 
108  //
113  //
115  //
117  //
121 
122 private:
123 
126 
129 
132 
135 
138 
141 
144 
147 
150 
152  unsigned int m_bitNumber;
153 
156 
160 
164 
167 
171 
172 private:
173 
177 
178 };
179 
180 #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:137
virtual void analyzeDecisionReadoutRecord(const edm::Event &, const edm::EventSetup &)
edm::InputTag m_condInEdmInputTag
input tag for ConditionInEdm products
Definition: L1GtAnalyzer.h:143
edm::InputTag m_l1GtRecordInputTag
input tags for GT lite product
Definition: L1GtAnalyzer.h:128
virtual void endJob()
end of job
bool m_analyzeObjectMapEnable
Definition: L1GtAnalyzer.h:114
virtual void analyze(const edm::Event &, const edm::EventSetup &)
analyze each event: event loop over various code snippets
bool m_analyzeConditionsInRunBlockEnable
Definition: L1GtAnalyzer.h:118
std::string m_l1GtUtilsLogicalExpression
Definition: L1GtAnalyzer.h:170
bool m_analyzeDecisionReadoutRecordEnable
enable / disable various analysis methods
Definition: L1GtAnalyzer.h:107
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: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:146
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:149
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:100
bool m_analyzeTriggerEnable
Definition: L1GtAnalyzer.h:112
bool m_analyzeL1GtUtilsEventSetupEnable
Definition: L1GtAnalyzer.h:110
unsigned int m_bitNumber
a bit number to retrieve the name and the alias
Definition: L1GtAnalyzer.h:152
L1GtUtils m_l1GtUtils
Definition: L1GtAnalyzer.h:174
int m_printOutput
print output
Definition: L1GtAnalyzer.h:103
void analyzeConditionsInLumiBlock(const edm::LuminosityBlock &, const edm::EventSetup &)
to be used in beginLuminosityBlock
virtual void beginJob()
bool m_analyzeL1GtTriggerMenuLiteEnable
Definition: L1GtAnalyzer.h:116
unsigned int m_l1GtUtilsConfiguration
L1 configuration code for L1GtUtils.
Definition: L1GtAnalyzer.h:155
bool m_analyzeConditionsInLumiBlockEnable
Definition: L1GtAnalyzer.h:119
edm::InputTag m_l1GtDaqReadoutRecordInputTag
input tags for GT DAQ product
Definition: L1GtAnalyzer.h:125
L1GtUtils::LogicalExpressionL1Results m_logicalExpressionL1ResultsProv
Definition: L1GtAnalyzer.h:175
bool m_l1GtUtilsConfigureBeginRun
if true, configure (partially) L1GtUtils in beginRun using getL1GtRunCache
Definition: L1GtAnalyzer.h:166
L1GtAnalyzer(const edm::ParameterSet &)
Definition: L1GtAnalyzer.cc:55
edm::InputTag m_l1GtObjectMapsInputTag
input tags for GT object map collection L1GlobalTriggerObjectMaps
Definition: L1GtAnalyzer.h:134
bool m_l1GtTmLInputTagProv
Definition: L1GtAnalyzer.h:159
bool m_analyzeL1GtUtilsMenuLiteEnable
Definition: L1GtAnalyzer.h:109
bool m_analyzeL1GtUtilsEnable
Definition: L1GtAnalyzer.h:111
bool m_l1GtRecordsInputTagProv
Definition: L1GtAnalyzer.h:163
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:36
void analyzeL1GtUtilsMenuLite(const edm::Event &, const edm::EventSetup &)
for tests, use only one of the following methods
L1GtUtils::LogicalExpressionL1Results m_logicalExpressionL1Results
Definition: L1GtAnalyzer.h:176
virtual void beginRun(const edm::Run &, const edm::EventSetup &)
edm::InputTag m_l1GtTmLInputTag
input tag for L1GtTriggerMenuLite
Definition: L1GtAnalyzer.h:140
void analyzeL1GtUtilsCore(const edm::Event &, const edm::EventSetup &)
analyze: usage of L1GtUtils