CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
DTLocalTrigger.h
Go to the documentation of this file.
1 #ifndef DTLocalTrigger_DTLocalTrigger_h
2 #define DTLocalTrigger_DTLocalTrigger_h
3 
14 #include <boost/cstdint.hpp>
15 
17 
18 public:
19 
20 
22  explicit DTLocalTrigger (int eventBx, int bx, int data);
23 
24 
26  DTLocalTrigger ();
27 
29  bool operator==(const DTLocalTrigger& trig) const;
30 
31 
32  uint16_t eventBx() const;
33  uint16_t bx() const;
34  uint16_t quality() const;
35  uint16_t trTheta() const;
36  bool secondTrack() const;
37  bool trOut() const;
38 
39 
41  void print() const;
42 
43 
44  private:
45 
46  uint16_t theEventBX;
47  uint16_t theBX;
48  uint16_t theData;
49 };
50 
51 #include<iostream>
52 inline std::ostream & operator<<(std::ostream & o, const DTLocalTrigger& trig) {
53  return o << " BX: " << trig.bx()
54  << " quality: " << trig.quality();
55 }
56 #endif
57 
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:187
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:82
uint16_t bx() const
uint16_t eventBx() const