CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
MuonRawDigiTranslator.h
Go to the documentation of this file.
1 #ifndef MuonRawDigiTranslator_h
2 #define MuonRawDigiTranslator_h
3 
5 
6 namespace l1t {
8  public:
9  static void fillMuon(Muon&, uint32_t, uint32_t);
10  static void fillMuon(Muon&, uint64_t);
11  static void generatePackedDataWords(const Muon&, uint32_t&, uint32_t&);
12  static uint64_t generate64bitDataWord(const Muon&);
13 
14  static const unsigned ptMask_ = 0x1FF;
15  static const unsigned ptShift_ = 10;
16  static const unsigned qualMask_ = 0xF;
17  static const unsigned qualShift_ = 19;
18  static const unsigned absEtaMask_ = 0xFF;
19  static const unsigned absEtaShift_ = 23;
20  static const unsigned etaSignShift_ = 31;
21  static const unsigned phiMask_ = 0x3FF;
22  static const unsigned phiShift_ = 0;
23  static const unsigned chargeShift_ = 2;
24  static const unsigned chargeValidShift_ = 3;
25  static const unsigned tfMuonIndexMask_ = 0x7F;
26  static const unsigned tfMuonIndexShift_ = 4;
27  static const unsigned isoMask_ = 0x3;
28  static const unsigned isoShift_ = 0;
29  };
30 }
31 
32 #endif
static const unsigned tfMuonIndexShift_
static const unsigned phiMask_
static const unsigned isoShift_
static void fillMuon(Muon &, uint32_t, uint32_t)
static const unsigned etaSignShift_
static const unsigned qualShift_
static const unsigned tfMuonIndexMask_
static const unsigned absEtaShift_
static const unsigned phiShift_
static const unsigned chargeValidShift_
Definition: Muon.h:16
static const unsigned absEtaMask_
static uint64_t generate64bitDataWord(const Muon &)
unsigned long long uint64_t
Definition: Time.h:15
static const unsigned ptShift_
static void generatePackedDataWords(const Muon &, uint32_t &, uint32_t &)
static const unsigned isoMask_
static const unsigned chargeShift_
static const unsigned qualMask_
static const unsigned ptMask_