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 
18 // system include files
19 #include <string>
20 
21 // class declaration
22 
24 {
25 
26 public:
27 
29  explicit L1GtTrigReportEntry(const std::string& menuName, const std::string& algName,
30  const int prescaleFactor, const int triggerMask, const int daqPartition);
31 
33  virtual ~L1GtTrigReportEntry();
34 
35 public:
36 
39 
41  bool operator==(const L1GtTrigReportEntry&) const;
42 
44  bool operator!=(const L1GtTrigReportEntry&) const;
45 
46 
47 public:
48 
50  inline const std::string gtTriggerMenuName() const {
51  return m_triggerMenuName;
52  }
53 
55  inline const std::string gtAlgoName() const {
56  return m_algoName;
57  }
58 
60  inline const int gtPrescaleFactor() const {
61  return m_prescaleFactor;
62  }
63 
65  inline const unsigned int gtTriggerMask() const {
66  return m_triggerMask;
67  }
68 
70  inline const unsigned int gtDaqPartition() const {
71  return m_daqPartition;
72  }
73 
75  inline const int gtNrEventsAccept() const {
76  return m_nrEventsAccept;
77  }
78 
80  inline const int gtNrEventsReject() const {
81  return m_nrEventsReject;
82  }
83 
85  inline const int gtNrEventsAcceptBeforeMask() const {
87  }
88 
90  inline const int gtNrEventsRejectBeforeMask() const {
92  }
93 
94 
96  inline const int gtNrEventsError() const {
97  return m_nrEventsError;
98  }
99 
100 public:
101 
103  void addValidEntry(const bool algResultAfterMask, const bool algResultBeforeMask);
104 
106  void addErrorEntry();
107 
108 private:
109 
112 
115 
118 
120  unsigned int m_triggerMask;
121 
124 
126 
129 
132 
135 
138 
141 
142 };
143 
144 #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