CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
L1GtTrigReport.h
Go to the documentation of this file.
1 #ifndef GlobalTriggerAnalyzer_L1GtTrigReport_h
2 #define GlobalTriggerAnalyzer_L1GtTrigReport_h
3 
18 // system include files
19 #include <memory>
20 #include <string>
21 #include <vector>
22 #include <list>
23 
24 // user include files
27 
30 
32 
36 
37 
38 // forward declarations
41 class L1GtTriggerMask;
42 class L1GtTriggerMenu;
43 
44 // class declaration
45 
47 {
48 
49 public:
50 
52  explicit L1GtTrigReport(const edm::ParameterSet&);
53 
55  virtual ~L1GtTrigReport();
56 
57 private:
58 
59  virtual void beginJob();
60 
62  virtual void analyze(const edm::Event&, const edm::EventSetup&);
63 
65  virtual void endJob();
66 
67 private:
68 
70 
73  unsigned long long m_l1GtStableParCacheID;
74 
76  unsigned int m_numberPhysTriggers;
77 
80 
82  unsigned int m_numberDaqPartitions;
84 
87  unsigned long long m_l1GtPfAlgoCacheID;
88 
90  unsigned long long m_l1GtPfTechCacheID;
91 
92  const std::vector<std::vector<int> >* m_prescaleFactorsAlgoTrig;
93  const std::vector<std::vector<int> >* m_prescaleFactorsTechTrig;
94 
97  unsigned long long m_l1GtTmAlgoCacheID;
98 
100  unsigned long long m_l1GtTmTechCacheID;
101 
103  unsigned long long m_l1GtTmVetoAlgoCacheID;
104 
106  unsigned long long m_l1GtTmVetoTechCacheID;
107 
108  std::vector<unsigned int> m_triggerMaskAlgoTrig;
109  std::vector<unsigned int> m_triggerMaskTechTrig;
110 
111  std::vector<unsigned int> m_triggerMaskVetoAlgoTrig;
112  std::vector<unsigned int> m_triggerMaskVetoTechTrig;
113 
114  // trigger menu
116  unsigned long long m_l1GtMenuCacheID;
117 
118 
119 private:
120 
123 
126 
129 
132 
135 
137 
140 
142  std::vector<int> m_globalNrErrors;
143 
145  std::vector<int> m_globalNrAccepts;
146 
148  std::list<L1GtTrigReportEntry*> m_entryList;
149 
151  std::list<L1GtTrigReportEntry*> m_entryListTechTrig;
152 
153  typedef std::list<L1GtTrigReportEntry*>::const_iterator CItEntry;
154  typedef std::list<L1GtTrigReportEntry*>::iterator ItEntry;
155 
157  unsigned int m_physicsDaqPartition;
158 
159 };
160 
161 #endif /*GlobalTriggerAnalyzer_L1GtTrigReport_h*/
virtual ~L1GtTrigReport()
destructor
std::vector< int > m_globalNrErrors
global number of events with error (EDProduct[s] not found)
std::list< L1GtTrigReportEntry * >::const_iterator CItEntry
std::list< L1GtTrigReportEntry * > m_entryListTechTrig
list of individual entries in the report for technical triggers
const L1GtTriggerMenu * m_l1GtMenu
std::vector< unsigned int > m_triggerMaskTechTrig
unsigned int m_numberDaqPartitions
number of DAQ partitions
unsigned long long m_l1GtStableParCacheID
const L1GtStableParameters * m_l1GtStablePar
cached stuff
std::vector< unsigned int > m_triggerMaskAlgoTrig
int m_printOutput
print output
unsigned long long m_l1GtPfTechCacheID
unsigned int m_numberDaqPartitionsMax
const L1GtTriggerMask * m_l1GtTmVetoTech
const L1GtPrescaleFactors * m_l1GtPfTech
int m_printVerbosity
print verbosity
const L1GtTriggerMask * m_l1GtTmVetoAlgo
edm::EDGetTokenT< L1GlobalTriggerRecord > m_l1GtRecordInputToken1
virtual void analyze(const edm::Event &, const edm::EventSetup &)
analyze each event
std::list< L1GtTrigReportEntry * > m_entryList
list of individual entries in the report for physics algorithms
bool m_useL1GlobalTriggerRecord
boolean flag to select the input record
unsigned long long m_l1GtPfAlgoCacheID
const L1GtTriggerMask * m_l1GtTmAlgo
trigger masks &amp; veto masks
const L1GtPrescaleFactors * m_l1GtPfAlgo
prescale factors
unsigned long long m_l1GtTmAlgoCacheID
std::vector< unsigned int > m_triggerMaskVetoTechTrig
unsigned int m_numberTechnicalTriggers
number of technical triggers
unsigned long long m_l1GtTmVetoTechCacheID
const L1GtTriggerMask * m_l1GtTmTech
std::vector< int > m_globalNrAccepts
global number of events accepted by any of the L1 algorithm in any menu
unsigned long long m_l1GtMenuCacheID
unsigned long long m_l1GtTmTechCacheID
std::vector< unsigned int > m_triggerMaskVetoAlgoTrig
int m_totalEvents
counters
edm::EDGetTokenT< L1GlobalTriggerReadoutRecord > m_l1GtRecordInputToken2
std::list< L1GtTrigReportEntry * >::iterator ItEntry
const std::vector< std::vector< int > > * m_prescaleFactorsAlgoTrig
L1GtTrigReport(const edm::ParameterSet &)
constructor
unsigned int m_physicsDaqPartition
index of physics DAQ partition
edm::InputTag m_l1GtRecordInputTag
input tag for GT record (L1 GT DAQ record or L1 GT &quot;lite&quot; record):
virtual void endJob()
end of job
unsigned int m_numberPhysTriggers
number of physics triggers
const std::vector< std::vector< int > > * m_prescaleFactorsTechTrig
virtual void beginJob()
unsigned long long m_l1GtTmVetoAlgoCacheID