CMS 3D CMS Logo

OmtfMuonDataWord64.h
Go to the documentation of this file.
1 #ifndef EventFilter_L1TRawToDigi_Omtf_MuonDataWord64_H
2 #define EventFilter_L1TRawToDigi_Omtf_MuonDataWord64_H
3 
4 #include <iostream>
6 
7 namespace omtf {
8  class MuonDataWord64 {
9  public:
11  unsigned int weight_lowBits() const { return weight_; }
12  unsigned int layers() const { return layers_; }
13  unsigned int ch() const { return ch_; }
14  unsigned int vch() const { return vch_; }
15  int phi() const { return phi_; }
16  int eta() const { return eta_; }
17  unsigned int pT() const { return pT_; }
18  unsigned int quality() const { return quality_; }
19  unsigned int bxNum() const { return bxNum_; }
20  unsigned int type() const { return type_; }
21  friend std::ostream &operator<<(std::ostream &out, const MuonDataWord64 &o);
22 
23  private:
24  union {
26  struct {
29  int64_t eta_ : 9;
30  uint64_t empty_ : 1; //not used, orig h/f
31  int64_t phi_ : 8;
39  };
40  };
41  };
42 
43 } //namespace omtf
44 #endif
unsigned int weight_lowBits() const
MuonDataWord64(Word64 data=0)
unsigned int ch() const
unsigned int type() const
unsigned int layers() const
friend std::ostream & operator<<(std::ostream &out, const MuonDataWord64 &o)
unsigned int bxNum() const
unsigned int vch() const
uint64_t Word64
unsigned long long uint64_t
Definition: Time.h:13
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:79
unsigned int pT() const
unsigned int quality() const