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
omtf::MuonDataWord64::quality_
uint64_t quality_
Definition: OmtfMuonDataWord64.h:28
omtf::MuonDataWord64::vch
unsigned int vch() const
Definition: OmtfMuonDataWord64.h:14
omtf::MuonDataWord64::layers
unsigned int layers() const
Definition: OmtfMuonDataWord64.h:12
omtf::MuonDataWord64::quality
unsigned int quality() const
Definition: OmtfMuonDataWord64.h:18
omtf::MuonDataWord64::bxNum
unsigned int bxNum() const
Definition: OmtfMuonDataWord64.h:19
omtf::MuonDataWord64::pT
unsigned int pT() const
Definition: OmtfMuonDataWord64.h:17
omtf::Word64
uint64_t Word64
Definition: OmtfDataWord64.h:11
omtf::MuonDataWord64::type
unsigned int type() const
Definition: OmtfMuonDataWord64.h:20
omtf::MuonDataWord64::bxNum_
uint64_t bxNum_
Definition: OmtfMuonDataWord64.h:37
omtf::MuonDataWord64::MuonDataWord64
MuonDataWord64(Word64 data=0)
Definition: OmtfMuonDataWord64.h:10
omtf::MuonDataWord64::phi_
int64_t phi_
Definition: OmtfMuonDataWord64.h:31
omtf::MuonDataWord64::ch_
uint64_t ch_
Definition: OmtfMuonDataWord64.h:33
omtf::MuonDataWord64::ch
unsigned int ch() const
Definition: OmtfMuonDataWord64.h:13
EcalTangentSkim_cfg.o
o
Definition: EcalTangentSkim_cfg.py:42
omtf::MuonDataWord64::bc0_
uint64_t bc0_
Definition: OmtfMuonDataWord64.h:32
omtf::MuonDataWord64::eta
int eta() const
Definition: OmtfMuonDataWord64.h:16
omtf::MuonDataWord64::vch_
uint64_t vch_
Definition: OmtfMuonDataWord64.h:34
omtf::MuonDataWord64::layers_
uint64_t layers_
Definition: OmtfMuonDataWord64.h:35
omtf::MuonDataWord64::pT_
uint64_t pT_
Definition: OmtfMuonDataWord64.h:27
omtf::MuonDataWord64
Definition: OmtfMuonDataWord64.h:8
omtf::MuonDataWord64::weight_lowBits
unsigned int weight_lowBits() const
Definition: OmtfMuonDataWord64.h:11
omtf::MuonDataWord64::rawData
uint64_t rawData
Definition: OmtfMuonDataWord64.h:25
omtf::MuonDataWord64::type_
uint64_t type_
Definition: OmtfMuonDataWord64.h:38
omtf::MuonDataWord64::eta_
int64_t eta_
Definition: OmtfMuonDataWord64.h:29
omtf::MuonDataWord64::operator<<
friend std::ostream & operator<<(std::ostream &out, const MuonDataWord64 &o)
Definition: OmtfMuonDataWord64.cc:6
OmtfDataWord64.h
data
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:79
omtf::MuonDataWord64::phi
int phi() const
Definition: OmtfMuonDataWord64.h:15
cond::uint64_t
unsigned long long uint64_t
Definition: Time.h:13
MillePedeFileConverter_cfg.out
out
Definition: MillePedeFileConverter_cfg.py:31
omtf::MuonDataWord64::empty_
uint64_t empty_
Definition: OmtfMuonDataWord64.h:30
omtf
Definition: OmtfCscDataWord64.h:7
omtf::MuonDataWord64::weight_
uint64_t weight_
Definition: OmtfMuonDataWord64.h:36