CMS 3D CMS Logo

DTLocalTrigger.h
Go to the documentation of this file.
1 #ifndef DTLocalTrigger_DTLocalTrigger_h
2 #define DTLocalTrigger_DTLocalTrigger_h
3 
13 #include <cstdint>
14 
16 public:
18  explicit DTLocalTrigger(int eventBx, int bx, int data);
19 
22 
24  bool operator==(const DTLocalTrigger& trig) const;
25 
26  uint16_t eventBx() const;
27  uint16_t bx() const;
28  uint16_t quality() const;
29  uint16_t trTheta() const;
30  bool secondTrack() const;
31  bool trOut() const;
32 
34  void print() const;
35 
36 private:
37  uint16_t theEventBX;
38  uint16_t theBX;
39  uint16_t theData;
40 };
41 
42 #include <iostream>
43 inline std::ostream& operator<<(std::ostream& o, const DTLocalTrigger& trig) {
44  return o << " BX: " << trig.bx() << " quality: " << trig.quality();
45 }
46 #endif
bool trOut() const
uint16_t theData
uint16_t quality() const
std::ostream & operator<<(std::ostream &o, const DTLocalTrigger &trig)
bool secondTrack() const
uint16_t theEventBX
void print() const
Print content of trigger.
bool operator==(const DTLocalTrigger &trig) const
triggers are equal if they are in the same chamber and have same BX count (??)
DTLocalTrigger()
Default construction.
uint16_t eventBx() const
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:79
uint16_t trTheta() const
uint16_t bx() const