CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
L1GtTrigReportEntry.h
Go to the documentation of this file.
1 #ifndef GlobalTriggerAnalyzer_L1GtTrigReportEntry_h
2 #define GlobalTriggerAnalyzer_L1GtTrigReportEntry_h
3 
18 // system include files
19 #include <string>
20 
21 // class declaration
22 
24 public:
26  explicit L1GtTrigReportEntry(const std::string& menuName,
27  const std::string& algName,
28  const int prescaleFactor,
29  const int triggerMask,
30  const int daqPartition);
31 
33  virtual ~L1GtTrigReportEntry();
34 
35 public:
38 
40  bool operator==(const L1GtTrigReportEntry&) const;
41 
43  bool operator!=(const L1GtTrigReportEntry&) const;
44 
45 public:
47  inline const std::string gtTriggerMenuName() const { return m_triggerMenuName; }
48 
50  inline const std::string gtAlgoName() const { return m_algoName; }
51 
53  inline const int gtPrescaleFactor() const { return m_prescaleFactor; }
54 
56  inline const unsigned int gtTriggerMask() const { return m_triggerMask; }
57 
59  inline const unsigned int gtDaqPartition() const { return m_daqPartition; }
60 
62  inline const int gtNrEventsAccept() const { return m_nrEventsAccept; }
63 
65  inline const int gtNrEventsReject() const { return m_nrEventsReject; }
66 
68  inline const int gtNrEventsAcceptBeforeMask() const { return m_nrEventsAcceptBeforeMask; }
69 
71  inline const int gtNrEventsRejectBeforeMask() const { return m_nrEventsRejectBeforeMask; }
72 
74  inline const int gtNrEventsError() const { return m_nrEventsError; }
75 
76 public:
78  void addValidEntry(const bool algResultAfterMask, const bool algResultBeforeMask);
79 
81  void addErrorEntry();
82 
83 private:
86 
89 
92 
94  unsigned int m_triggerMask;
95 
98 
100 
103 
106 
109 
112 
115 };
116 
117 #endif /*GlobalTriggerAnalyzer_L1GtTrigReportEntry_h*/
const std::string gtAlgoName() const
get the algorithm name
bool operator!=(const L1GtTrigReportEntry &) const
unequal operator
const int gtNrEventsReject() const
get the number of events rejected for this entry
const std::string gtTriggerMenuName() const
get the trigger menu name
std::string m_triggerMenuName
menu name
int m_daqPartition
index of the DAQ partition
void addValidEntry(const bool algResultAfterMask, const bool algResultBeforeMask)
increase # of events accepted/rejected for this entry
const int gtNrEventsAccept() const
get the number of events accepted for this entry
const unsigned int gtTriggerMask() const
get the trigger mask
virtual ~L1GtTrigReportEntry()
destructor
int m_nrEventsError
number of events with error
int m_nrEventsRejectBeforeMask
number of events rejected for this entry before applying the trigger masks
L1GtTrigReportEntry(const std::string &menuName, const std::string &algName, const int prescaleFactor, const int triggerMask, const int daqPartition)
constructor
std::string m_algoName
algorithm name
int m_nrEventsAcceptBeforeMask
number of events accepted for this entry before applying the trigger masks
void addErrorEntry()
increase # of events with error
L1GtTrigReportEntry & operator=(const L1GtTrigReportEntry &)
assignment operator
const unsigned int gtDaqPartition() const
get the index of the DAQ partition
const int gtNrEventsRejectBeforeMask() const
get the number of events rejected for this entry before applying the trigger masks ...
int m_prescaleFactor
prescale factor
int m_nrEventsReject
number of events rejected for this entry
unsigned int m_triggerMask
trigger mask
const int gtNrEventsAcceptBeforeMask() const
get the number of events accepted for this entry before applying the trigger masks ...
bool operator==(const L1GtTrigReportEntry &) const
equal operator
const int gtPrescaleFactor() const
get the prescale factor
const int gtNrEventsError() const
get the number of events with error for this entry