CMS 3D CMS Logo

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, int, unsigned int);
10  static void fillMuon(Muon&, uint64_t, int, unsigned int);
11  static void generatePackedDataWords(const Muon&, uint32_t&, uint32_t&);
12  static uint64_t generate64bitDataWord(const Muon&);
13  static int calcHwEta(const uint32_t&, const unsigned, const unsigned);
14 
15  static const unsigned ptMask_ = 0x1FF;
16  static const unsigned ptShift_ = 10;
17  static const unsigned qualMask_ = 0xF;
18  static const unsigned qualShift_ = 19;
19  static const unsigned absEtaMask_ = 0xFF;
20  static const unsigned absEtaShift_ = 21;
21  static const unsigned absEtaAtVtxShift_ = 23;
22  static const unsigned etaSignShift_ = 29;
23  static const unsigned etaAtVtxSignShift_ = 31;
24  static const unsigned phiMask_ = 0x3FF;
25  static const unsigned phiShift_ = 11;
26  static const unsigned phiAtVtxShift_ = 0;
27  static const unsigned chargeShift_ = 2;
28  static const unsigned chargeValidShift_ = 3;
29  static const unsigned tfMuonIndexMask_ = 0x7F;
30  static const unsigned tfMuonIndexShift_ = 4;
31  static const unsigned isoMask_ = 0x3;
32  static const unsigned isoShift_ = 0;
33  };
34 }
35 
36 #endif
static const unsigned etaAtVtxSignShift_
static const unsigned tfMuonIndexShift_
static const unsigned phiMask_
static const unsigned isoShift_
static const unsigned etaSignShift_
delete x;
Definition: CaloConfig.h:22
static const unsigned absEtaAtVtxShift_
static int calcHwEta(const uint32_t &, const unsigned, const unsigned)
static const unsigned qualShift_
static const unsigned tfMuonIndexMask_
static const unsigned absEtaShift_
Definition: Muon.py:1
static const unsigned phiShift_
static const unsigned chargeValidShift_
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 phiAtVtxShift_
static const unsigned ptMask_
static void fillMuon(Muon &, uint32_t, uint32_t, int, unsigned int)