CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups 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 // forward declarations
42 class L1GtTriggerMask;
47 class L1GtTriggerMenu;
48 class L1GtTriggerMenuRcd;
49 
50 // class declaration
51 
53 public:
55  explicit L1GtTrigReport(const edm::ParameterSet&);
56 
58  ~L1GtTrigReport() override;
59 
60 private:
61  void beginJob() override;
62 
64  void analyze(const edm::Event&, const edm::EventSetup&) override;
65 
67  void endJob() override;
68 
69 private:
71 
74  unsigned long long m_l1GtStableParCacheID;
75 
77  unsigned int m_numberPhysTriggers;
78 
81 
83  unsigned int m_numberDaqPartitions;
85 
88  unsigned long long m_l1GtPfAlgoCacheID;
89 
91  unsigned long long m_l1GtPfTechCacheID;
92 
93  const std::vector<std::vector<int> >* m_prescaleFactorsAlgoTrig;
94  const std::vector<std::vector<int> >* m_prescaleFactorsTechTrig;
95 
98  unsigned long long m_l1GtTmAlgoCacheID;
99 
101  unsigned long long m_l1GtTmTechCacheID;
102 
104  unsigned long long m_l1GtTmVetoAlgoCacheID;
105 
107  unsigned long long m_l1GtTmVetoTechCacheID;
108 
109  std::vector<unsigned int> m_triggerMaskAlgoTrig;
110  std::vector<unsigned int> m_triggerMaskTechTrig;
111 
112  std::vector<unsigned int> m_triggerMaskVetoAlgoTrig;
113  std::vector<unsigned int> m_triggerMaskVetoTechTrig;
114 
115  // trigger menu
117  unsigned long long m_l1GtMenuCacheID;
118 
119 private:
122 
125 
128 
137 
139  const int m_printVerbosity;
140 
142  const int m_printOutput;
143 
145 
148 
150  std::vector<int> m_globalNrErrors;
151 
153  std::vector<int> m_globalNrAccepts;
154 
156  std::list<L1GtTrigReportEntry*> m_entryList;
157 
159  std::list<L1GtTrigReportEntry*> m_entryListTechTrig;
160 
161  typedef std::list<L1GtTrigReportEntry*>::const_iterator CItEntry;
162  typedef std::list<L1GtTrigReportEntry*>::iterator ItEntry;
163 
165  const unsigned int m_physicsDaqPartition;
166 };
167 
168 #endif /*GlobalTriggerAnalyzer_L1GtTrigReport_h*/
std::vector< int > m_globalNrErrors
global number of events with error (EDProduct[s] not found)
std::list< L1GtTrigReportEntry * >::const_iterator CItEntry
void endJob() override
end of job
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
const edm::ESGetToken< L1GtPrescaleFactors, L1GtPrescaleFactorsAlgoTrigRcd > m_pfAlgoToken
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
const edm::ESGetToken< L1GtTriggerMask, L1GtTriggerMaskAlgoTrigRcd > m_tmAlgoToken
unsigned long long m_l1GtPfTechCacheID
const edm::ESGetToken< L1GtTriggerMask, L1GtTriggerMaskVetoAlgoTrigRcd > m_tmVetoAlgoToken
unsigned int m_numberDaqPartitionsMax
const L1GtTriggerMask * m_l1GtTmVetoTech
const L1GtPrescaleFactors * m_l1GtPfTech
const L1GtTriggerMask * m_l1GtTmVetoAlgo
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
const edm::ESGetToken< L1GtPrescaleFactors, L1GtPrescaleFactorsTechTrigRcd > m_pfTechToken
const edm::ESGetToken< L1GtStableParameters, L1GtStableParametersRcd > m_stableParToken
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
void beginJob() override
std::vector< unsigned int > m_triggerMaskVetoTechTrig
const edm::ESGetToken< L1GtTriggerMask, L1GtTriggerMaskVetoTechTrigRcd > m_tmVetoTechToken
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
const edm::ESGetToken< L1GtTriggerMenu, L1GtTriggerMenuRcd > m_menuToken
~L1GtTrigReport() override
destructor
unsigned int m_numberPhysTriggers
number of physics triggers
const std::vector< std::vector< int > > * m_prescaleFactorsTechTrig
const edm::ESGetToken< L1GtTriggerMask, L1GtTriggerMaskTechTrigRcd > m_tmTechToken
const edm::EDGetTokenT< L1GlobalTriggerReadoutRecord > m_l1GtRecordInputToken2
void analyze(const edm::Event &, const edm::EventSetup &) override
analyze each event
unsigned long long m_l1GtTmVetoAlgoCacheID