CMS 3D CMS Logo

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
39 class L1GtTriggerMask;
40 class L1GtTriggerMenu;
41 
42 // class declaration
43 
45 public:
47  explicit L1GtTrigReport(const edm::ParameterSet&);
48 
50  ~L1GtTrigReport() override;
51 
52 private:
53  void beginJob() override;
54 
56  void analyze(const edm::Event&, const edm::EventSetup&) override;
57 
59  void endJob() override;
60 
61 private:
63 
66  unsigned long long m_l1GtStableParCacheID;
67 
69  unsigned int m_numberPhysTriggers;
70 
73 
75  unsigned int m_numberDaqPartitions;
77 
80  unsigned long long m_l1GtPfAlgoCacheID;
81 
83  unsigned long long m_l1GtPfTechCacheID;
84 
85  const std::vector<std::vector<int> >* m_prescaleFactorsAlgoTrig;
86  const std::vector<std::vector<int> >* m_prescaleFactorsTechTrig;
87 
90  unsigned long long m_l1GtTmAlgoCacheID;
91 
93  unsigned long long m_l1GtTmTechCacheID;
94 
96  unsigned long long m_l1GtTmVetoAlgoCacheID;
97 
99  unsigned long long m_l1GtTmVetoTechCacheID;
100 
101  std::vector<unsigned int> m_triggerMaskAlgoTrig;
102  std::vector<unsigned int> m_triggerMaskTechTrig;
103 
104  std::vector<unsigned int> m_triggerMaskVetoAlgoTrig;
105  std::vector<unsigned int> m_triggerMaskVetoTechTrig;
106 
107  // trigger menu
109  unsigned long long m_l1GtMenuCacheID;
110 
111 private:
114 
117 
120 
122  const int m_printVerbosity;
123 
125  const int m_printOutput;
126 
128 
131 
133  std::vector<int> m_globalNrErrors;
134 
136  std::vector<int> m_globalNrAccepts;
137 
139  std::list<L1GtTrigReportEntry*> m_entryList;
140 
142  std::list<L1GtTrigReportEntry*> m_entryListTechTrig;
143 
144  typedef std::list<L1GtTrigReportEntry*>::const_iterator CItEntry;
145  typedef std::list<L1GtTrigReportEntry*>::iterator ItEntry;
146 
148  const unsigned int m_physicsDaqPartition;
149 };
150 
151 #endif /*GlobalTriggerAnalyzer_L1GtTrigReport_h*/
L1GtTrigReport::m_numberDaqPartitions
unsigned int m_numberDaqPartitions
number of DAQ partitions
Definition: L1GtTrigReport.h:75
L1GtTrigReport::m_globalNrAccepts
std::vector< int > m_globalNrAccepts
global number of events accepted by any of the L1 algorithm in any menu
Definition: L1GtTrigReport.h:136
EDAnalyzer.h
L1GtPrescaleFactors
Definition: L1GtPrescaleFactors.h:32
L1GtTrigReport::m_totalEvents
int m_totalEvents
counters
Definition: L1GtTrigReport.h:130
L1GtTrigReport::m_l1GtTmVetoTech
const L1GtTriggerMask * m_l1GtTmVetoTech
Definition: L1GtTrigReport.h:98
L1GtTrigReport::m_l1GtStablePar
const L1GtStableParameters * m_l1GtStablePar
cached stuff
Definition: L1GtTrigReport.h:65
edm::EDGetTokenT< L1GlobalTriggerRecord >
L1GtTrigReport::m_triggerMaskTechTrig
std::vector< unsigned int > m_triggerMaskTechTrig
Definition: L1GtTrigReport.h:102
L1GtTrigReport::m_l1GtPfTech
const L1GtPrescaleFactors * m_l1GtPfTech
Definition: L1GtTrigReport.h:82
L1GtTrigReport::m_numberTechnicalTriggers
unsigned int m_numberTechnicalTriggers
number of technical triggers
Definition: L1GtTrigReport.h:72
L1GtTrigReport::L1GtTrigReport
L1GtTrigReport(const edm::ParameterSet &)
constructor
Definition: L1GtTrigReport.cc:68
L1GtTrigReport::ItEntry
std::list< L1GtTrigReportEntry * >::iterator ItEntry
Definition: L1GtTrigReport.h:145
edm::one::EDAnalyzer
Definition: EDAnalyzer.h:30
L1GtTrigReport::m_l1GtTmVetoAlgo
const L1GtTriggerMask * m_l1GtTmVetoAlgo
Definition: L1GtTrigReport.h:95
L1GtTrigReport::m_l1GtTmVetoTechCacheID
unsigned long long m_l1GtTmVetoTechCacheID
Definition: L1GtTrigReport.h:99
L1GtTrigReport::m_l1GtRecordInputToken2
const edm::EDGetTokenT< L1GlobalTriggerReadoutRecord > m_l1GtRecordInputToken2
Definition: L1GtTrigReport.h:119
L1GtTrigReport::analyze
void analyze(const edm::Event &, const edm::EventSetup &) override
analyze each event
Definition: L1GtTrigReport.cc:162
L1GtTrigReport::m_entryList
std::list< L1GtTrigReportEntry * > m_entryList
list of individual entries in the report for physics algorithms
Definition: L1GtTrigReport.h:139
L1GtTrigReport::m_printVerbosity
const int m_printVerbosity
print verbosity
Definition: L1GtTrigReport.h:122
L1GlobalTriggerRecord.h
L1GtTrigReport::m_printOutput
const int m_printOutput
print output
Definition: L1GtTrigReport.h:125
L1GtTrigReport::m_l1GtRecordInputToken1
const edm::EDGetTokenT< L1GlobalTriggerRecord > m_l1GtRecordInputToken1
Definition: L1GtTrigReport.h:118
L1GtTrigReport::m_entryListTechTrig
std::list< L1GtTrigReportEntry * > m_entryListTechTrig
list of individual entries in the report for technical triggers
Definition: L1GtTrigReport.h:142
L1GtTrigReport::m_l1GtPfAlgoCacheID
unsigned long long m_l1GtPfAlgoCacheID
Definition: L1GtTrigReport.h:80
L1GtTrigReport::~L1GtTrigReport
~L1GtTrigReport() override
destructor
Definition: L1GtTrigReport.cc:134
L1GtTrigReport::beginJob
void beginJob() override
Definition: L1GtTrigReport.cc:157
L1GtTrigReport::m_l1GtPfAlgo
const L1GtPrescaleFactors * m_l1GtPfAlgo
prescale factors
Definition: L1GtTrigReport.h:79
L1GtTrigReport::m_useL1GlobalTriggerRecord
const bool m_useL1GlobalTriggerRecord
boolean flag to select the input record
Definition: L1GtTrigReport.h:113
L1GtTriggerMask
Definition: L1GtTriggerMask.h:33
L1GtTrigReport::m_numberDaqPartitionsMax
unsigned int m_numberDaqPartitionsMax
Definition: L1GtTrigReport.h:76
L1GtTrigReport::m_l1GtTmTechCacheID
unsigned long long m_l1GtTmTechCacheID
Definition: L1GtTrigReport.h:93
L1GtStableParameters
Definition: L1GtStableParameters.h:33
L1GtTrigReportEntry.h
L1GtTrigReport::m_l1GtTmAlgoCacheID
unsigned long long m_l1GtTmAlgoCacheID
Definition: L1GtTrigReport.h:90
L1GtTrigReport::m_numberPhysTriggers
unsigned int m_numberPhysTriggers
number of physics triggers
Definition: L1GtTrigReport.h:69
L1GtTrigReport::m_l1GtStableParCacheID
unsigned long long m_l1GtStableParCacheID
Definition: L1GtTrigReport.h:66
L1GtTrigReport::m_globalNrErrors
std::vector< int > m_globalNrErrors
global number of events with error (EDProduct[s] not found)
Definition: L1GtTrigReport.h:133
edm::ParameterSet
Definition: ParameterSet.h:47
L1GtTriggerMenu
Definition: L1GtTriggerMenu.h:48
L1GtTrigReport::m_l1GtTmVetoAlgoCacheID
unsigned long long m_l1GtTmVetoAlgoCacheID
Definition: L1GtTrigReport.h:96
Event.h
L1GtTrigReport::endJob
void endJob() override
end of job
Definition: L1GtTrigReport.cc:619
L1GtTrigReport::m_physicsDaqPartition
const unsigned int m_physicsDaqPartition
index of physics DAQ partition
Definition: L1GtTrigReport.h:148
L1GtTrigReport::m_triggerMaskVetoAlgoTrig
std::vector< unsigned int > m_triggerMaskVetoAlgoTrig
Definition: L1GtTrigReport.h:104
L1GtTrigReport::m_triggerMaskVetoTechTrig
std::vector< unsigned int > m_triggerMaskVetoTechTrig
Definition: L1GtTrigReport.h:105
L1GtTrigReport::m_triggerMaskAlgoTrig
std::vector< unsigned int > m_triggerMaskAlgoTrig
Definition: L1GtTrigReport.h:101
L1GtTrigReport::m_l1GtMenu
const L1GtTriggerMenu * m_l1GtMenu
Definition: L1GtTrigReport.h:108
edm::EventSetup
Definition: EventSetup.h:58
L1GtTrigReport::m_l1GtTmAlgo
const L1GtTriggerMask * m_l1GtTmAlgo
trigger masks & veto masks
Definition: L1GtTrigReport.h:89
L1GtTrigReport
Definition: L1GtTrigReport.h:44
Frameworkfwd.h
L1GtTrigReport::m_l1GtRecordInputTag
const edm::InputTag m_l1GtRecordInputTag
input tag for GT record (L1 GT DAQ record or L1 GT "lite" record):
Definition: L1GtTrigReport.h:116
L1GtTrigReport::m_l1GtPfTechCacheID
unsigned long long m_l1GtPfTechCacheID
Definition: L1GtTrigReport.h:83
L1GtTrigReport::m_l1GtTmTech
const L1GtTriggerMask * m_l1GtTmTech
Definition: L1GtTrigReport.h:92
L1GtTrigReport::m_prescaleFactorsAlgoTrig
const std::vector< std::vector< int > > * m_prescaleFactorsAlgoTrig
Definition: L1GtTrigReport.h:85
L1GtTrigReport::m_prescaleFactorsTechTrig
const std::vector< std::vector< int > > * m_prescaleFactorsTechTrig
Definition: L1GtTrigReport.h:86
ParameterSet.h
edm::Event
Definition: Event.h:73
L1GtTrigReport::m_l1GtMenuCacheID
unsigned long long m_l1GtMenuCacheID
Definition: L1GtTrigReport.h:109
edm::InputTag
Definition: InputTag.h:15
L1GlobalTriggerReadoutRecord.h
L1GtTrigReport::CItEntry
std::list< L1GtTrigReportEntry * >::const_iterator CItEntry
Definition: L1GtTrigReport.h:144