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 
29 
31 
35 
36 
37 // forward declarations
40 class L1GtTriggerMask;
41 class L1GtTriggerMenu;
42 
43 // class declaration
44 
46 {
47 
48 public:
49 
51  explicit L1GtTrigReport(const edm::ParameterSet&);
52 
54  virtual ~L1GtTrigReport();
55 
56 private:
57 
58  virtual void beginJob();
59 
61  virtual void analyze(const edm::Event&, const edm::EventSetup&);
62 
64  virtual void endJob();
65 
66 private:
67 
69 
72  unsigned long long m_l1GtStableParCacheID;
73 
75  unsigned int m_numberPhysTriggers;
76 
79 
81  unsigned int m_numberDaqPartitions;
83 
86  unsigned long long m_l1GtPfAlgoCacheID;
87 
89  unsigned long long m_l1GtPfTechCacheID;
90 
91  const std::vector<std::vector<int> >* m_prescaleFactorsAlgoTrig;
92  const std::vector<std::vector<int> >* m_prescaleFactorsTechTrig;
93 
96  unsigned long long m_l1GtTmAlgoCacheID;
97 
99  unsigned long long m_l1GtTmTechCacheID;
100 
102  unsigned long long m_l1GtTmVetoAlgoCacheID;
103 
105  unsigned long long m_l1GtTmVetoTechCacheID;
106 
107  std::vector<unsigned int> m_triggerMaskAlgoTrig;
108  std::vector<unsigned int> m_triggerMaskTechTrig;
109 
110  std::vector<unsigned int> m_triggerMaskVetoAlgoTrig;
111  std::vector<unsigned int> m_triggerMaskVetoTechTrig;
112 
113  // trigger menu
115  unsigned long long m_l1GtMenuCacheID;
116 
117 
118 private:
119 
122 
125 
128 
130  const int m_printVerbosity;
131 
133  const int m_printOutput;
134 
136 
139 
141  std::vector<int> m_globalNrErrors;
142 
144  std::vector<int> m_globalNrAccepts;
145 
147  std::list<L1GtTrigReportEntry*> m_entryList;
148 
150  std::list<L1GtTrigReportEntry*> m_entryListTechTrig;
151 
152  typedef std::list<L1GtTrigReportEntry*>::const_iterator CItEntry;
153  typedef std::list<L1GtTrigReportEntry*>::iterator ItEntry;
154 
156  const unsigned int m_physicsDaqPartition;
157 
158 };
159 
160 #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
const edm::InputTag m_l1GtRecordInputTag
input tag for GT record (L1 GT DAQ record or L1 GT &quot;lite&quot; record):
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
const unsigned int m_physicsDaqPartition
index of physics DAQ partition
unsigned long long m_l1GtPfTechCacheID
unsigned int m_numberDaqPartitionsMax
const L1GtTriggerMask * m_l1GtTmVetoTech
const L1GtPrescaleFactors * m_l1GtPfTech
const L1GtTriggerMask * m_l1GtTmVetoAlgo
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
const int m_printVerbosity
print verbosity
const int m_printOutput
print output
unsigned long long m_l1GtPfAlgoCacheID
const L1GtTriggerMask * m_l1GtTmAlgo
trigger masks &amp; veto masks
const L1GtPrescaleFactors * m_l1GtPfAlgo
prescale factors
const bool m_useL1GlobalTriggerRecord
boolean flag to select the input record
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
std::list< L1GtTrigReportEntry * >::iterator ItEntry
const edm::EDGetTokenT< L1GlobalTriggerRecord > m_l1GtRecordInputToken1
const std::vector< std::vector< int > > * m_prescaleFactorsAlgoTrig
L1GtTrigReport(const edm::ParameterSet &)
constructor
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()
const edm::EDGetTokenT< L1GlobalTriggerReadoutRecord > m_l1GtRecordInputToken2
unsigned long long m_l1GtTmVetoAlgoCacheID