CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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
uint16_t quality() const
uint16_t theData
bool trOut() const
uint16_t trTheta() const
std::ostream & operator<<(std::ostream &out, const ALILine &li)
Definition: ALILine.cc:167
bool operator==(const DTLocalTrigger &trig) const
triggers are equal if they are in the same chamber and have same BX count (??)
uint16_t theEventBX
DTLocalTrigger()
Default construction.
void print() const
Print content of trigger.
bool secondTrack() const
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:79
uint16_t bx() const
uint16_t eventBx() const