CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
L1GtTrigReportEntry.h
Go to the documentation of this file.
1 #ifndef GlobalTriggerAnalyzer_L1GtTrigReportEntry_h
2 #define GlobalTriggerAnalyzer_L1GtTrigReportEntry_h
3 
20 // system include files
21 #include <string>
22 
23 // class declaration
24 
26 {
27 
28 public:
29 
31  explicit L1GtTrigReportEntry(const std::string& menuName, const std::string& algName,
32  const int prescaleFactor, const int triggerMask, const int daqPartition);
33 
35  virtual ~L1GtTrigReportEntry();
36 
37 public:
38 
41 
43  bool operator==(const L1GtTrigReportEntry&) const;
44 
46  bool operator!=(const L1GtTrigReportEntry&) const;
47 
48 
49 public:
50 
52  inline const std::string gtTriggerMenuName() const {
53  return m_triggerMenuName;
54  }
55 
57  inline const std::string gtAlgoName() const {
58  return m_algoName;
59  }
60 
62  inline const int gtPrescaleFactor() const {
63  return m_prescaleFactor;
64  }
65 
67  inline const unsigned int gtTriggerMask() const {
68  return m_triggerMask;
69  }
70 
72  inline const unsigned int gtDaqPartition() const {
73  return m_daqPartition;
74  }
75 
77  inline const int gtNrEventsAccept() const {
78  return m_nrEventsAccept;
79  }
80 
82  inline const int gtNrEventsReject() const {
83  return m_nrEventsReject;
84  }
85 
87  inline const int gtNrEventsAcceptBeforeMask() const {
89  }
90 
92  inline const int gtNrEventsRejectBeforeMask() const {
94  }
95 
96 
98  inline const int gtNrEventsError() const {
99  return m_nrEventsError;
100  }
101 
102 public:
103 
105  void addValidEntry(const bool algResultAfterMask, const bool algResultBeforeMask);
106 
108  void addErrorEntry();
109 
110 private:
111 
114 
117 
120 
122  unsigned int m_triggerMask;
123 
126 
128 
131 
134 
137 
140 
143 
144 };
145 
146 #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