CMS 3D CMS Logo

List of all members | Static Public Member Functions | Static Public Attributes | Static Private Member Functions
l1t::MuonRawDigiTranslator Class Reference

#include <MuonRawDigiTranslator.h>

Static Public Member Functions

static int calcHwEta (const uint32_t &raw, const unsigned absEtaShift, const unsigned etaSignShift)
 
static void fillIntermediateMuon (Muon &mu, uint32_t raw_data_00_31, uint32_t raw_data_32_63, unsigned int fw)
 
static void fillMuon (Muon &mu, uint32_t raw_data_spare, uint32_t raw_data_00_31, uint32_t raw_data_32_63, int fed, unsigned int fw, int muInBx)
 
static void fillMuon (Muon &mu, uint32_t raw_data_spare, uint64_t dataword, int fed, unsigned int fw, int muInBx)
 
static void generate64bitDataWord (const Muon &mu, uint32_t &raw_data_spare, uint64_t &dataword, int fedId, int fwId, int muInBx)
 
static void generatePackedDataWords (const Muon &mu, uint32_t &raw_data_spare, uint32_t &raw_data_00_31, uint32_t &raw_data_32_63, int fedId, int fwId, int muInBx)
 

Static Public Attributes

static constexpr unsigned absEtaAtVtxShift_ = 23
 
static constexpr unsigned absEtaMask_ = 0xFF
 
static constexpr unsigned absEtaMu1Shift_ = 12
 
static constexpr unsigned absEtaMu2Shift_ = 21
 
static constexpr unsigned absEtaShift_ = 21
 
static constexpr unsigned chargeShift_ = 2
 
static constexpr unsigned chargeValidShift_ = 3
 
static constexpr unsigned dxyMask_ = 0x3
 
static constexpr unsigned dxyShift_ = 30
 
static constexpr unsigned etaAtVtxSignShift_ = 31
 
static constexpr unsigned etaMu1SignShift_ = 20
 
static constexpr unsigned etaMu2SignShift_ = 29
 
static constexpr unsigned etaSignShift_ = 29
 
static constexpr unsigned isoMask_ = 0x3
 
static constexpr unsigned isoShift_ = 0
 
static constexpr unsigned phiAtVtxShift_ = 0
 
static constexpr unsigned phiMask_ = 0x3FF
 
static constexpr unsigned phiShift_ = 11
 
static constexpr unsigned ptMask_ = 0x1FF
 
static constexpr unsigned ptShift_ = 10
 
static constexpr unsigned ptUnconstrainedIntermedidateShift_ = 0
 
static constexpr unsigned ptUnconstrainedMask_ = 0xFF
 
static constexpr unsigned ptUnconstrainedShift_ = 21
 
static constexpr unsigned qualMask_ = 0xF
 
static constexpr unsigned qualShift_ = 19
 
static constexpr unsigned tfMuonIndexMask_ = 0x7F
 
static constexpr unsigned tfMuonIndexShift_ = 4
 

Static Private Member Functions

static void fillIntermediateMuonQuantitiesRun3 (Muon &mu, uint32_t raw_data_00_31, uint32_t raw_data_32_63)
 
static void fillMuonCoordinates2016 (Muon &mu, uint32_t raw_data_00_31, uint32_t raw_data_32_63)
 
static void fillMuonCoordinatesFrom2017 (Muon &mu, uint32_t raw_data_00_31, uint32_t raw_data_32_63)
 
static void fillMuonQuantitiesRun3 (Muon &mu, uint32_t raw_data_spare, uint32_t raw_data_00_31, uint32_t raw_data_32_63, int muInBx)
 
static void fillMuonStableQuantities (Muon &mu, uint32_t raw_data_00_31, uint32_t raw_data_32_63)
 

Detailed Description

Definition at line 7 of file MuonRawDigiTranslator.h.

Member Function Documentation

◆ calcHwEta()

int l1t::MuonRawDigiTranslator::calcHwEta ( const uint32_t &  raw,
const unsigned  absEtaShift,
const unsigned  etaSignShift 
)
static

Definition at line 223 of file MuonRawDigiTranslator.cc.

225  {
226  // eta is coded as two's complement
227  int abs_eta = (raw >> absEtaShift) & absEtaMask_;
228  if ((raw >> etaSignShift) & 0x1) {
229  return abs_eta - (1 << (etaSignShift - absEtaShift));
230  } else {
231  return abs_eta;
232  }
233 }

◆ fillIntermediateMuon()

void l1t::MuonRawDigiTranslator::fillIntermediateMuon ( Muon mu,
uint32_t  raw_data_00_31,
uint32_t  raw_data_32_63,
unsigned int  fw 
)
static

Definition at line 33 of file MuonRawDigiTranslator.cc.

36  {
37  // Need the hw charge to properly compute dPhi
38  mu.setHwCharge((raw_data_32_63 >> chargeShift_) & 0x1);
39 
40  if (fw < 0x4010000) {
41  fillMuonCoordinates2016(mu, raw_data_00_31, raw_data_32_63);
42  } else if (fw < 0x6000000) {
43  fillMuonCoordinatesFrom2017(mu, raw_data_00_31, raw_data_32_63);
44  } else {
45  fillIntermediateMuonQuantitiesRun3(mu, raw_data_00_31, raw_data_32_63);
46  }
47 
48  // Fill pT, qual, iso, charge, index bits, phys. coordinates at vtx & unconstrained pT
49  fillMuonStableQuantities(mu, raw_data_00_31, raw_data_32_63);
50 }

References amptDefaultParameters_cff::mu, and testProducerWithPsetDescEmpty_cfi::x1.

Referenced by l1t::stage2::IntermediateMuonUnpacker::unpackBx().

◆ fillIntermediateMuonQuantitiesRun3()

void l1t::MuonRawDigiTranslator::fillIntermediateMuonQuantitiesRun3 ( Muon mu,
uint32_t  raw_data_00_31,
uint32_t  raw_data_32_63 
)
staticprivate

Definition at line 150 of file MuonRawDigiTranslator.cc.

152  {
153  fillMuonCoordinatesFrom2017(mu, raw_data_00_31, raw_data_32_63);
154 
155  // displacement information
156  mu.setHwDXY((raw_data_32_63 >> dxyShift_) & dxyMask_);
157  mu.setHwPtUnconstrained((raw_data_00_31 >> ptUnconstrainedIntermedidateShift_) & ptUnconstrainedMask_);
158 }

References amptDefaultParameters_cff::mu.

◆ fillMuon() [1/2]

void l1t::MuonRawDigiTranslator::fillMuon ( Muon mu,
uint32_t  raw_data_spare,
uint32_t  raw_data_00_31,
uint32_t  raw_data_32_63,
int  fed,
unsigned int  fw,
int  muInBx 
)
static

Definition at line 5 of file MuonRawDigiTranslator.cc.

11  {
12  // Need the hw charge to properly compute dPhi
13  mu.setHwCharge((raw_data_32_63 >> chargeShift_) & 0x1);
14 
15  // The position of the eta and phi coordinates in the RAW data changed between the 2016 run and the 2017 run.
16  // Eta and phi at the muon system are replaced by eta and phi at the vertex
17  // Eta and phi at the muon system are moved to spare bits
18  // In Run-3 we have displacement information.
19  // To make room for these data the raw eta value was moved to the second "spare" word which we will have to treat separately
20  // The uGMT (FED 1402) or uGT (FED 1404) FW versions are used to determine the era.
21  if ((fed == 1402 && fw < 0x4010000) || (fed == 1404 && fw < 0x10A6)) {
22  fillMuonCoordinates2016(mu, raw_data_00_31, raw_data_32_63);
23  } else if ((fed == 1402 && fw < 0x6000000) || (fed == 1404 && fw < 0x1120)) {
24  fillMuonCoordinatesFrom2017(mu, raw_data_00_31, raw_data_32_63);
25  } else {
26  fillMuonQuantitiesRun3(mu, raw_data_spare, raw_data_00_31, raw_data_32_63, muInBx);
27  }
28 
29  // Fill pT, qual, iso, charge, index bits, coordinates at vtx
30  fillMuonStableQuantities(mu, raw_data_00_31, raw_data_32_63);
31 }

References chargeShift_, fillMuonCoordinates2016(), fillMuonCoordinatesFrom2017(), fillMuonQuantitiesRun3(), fillMuonStableQuantities(), amptDefaultParameters_cff::mu, and testProducerWithPsetDescEmpty_cfi::x1.

Referenced by l1t::stage2::MuonUnpacker::unpackBx().

◆ fillMuon() [2/2]

void l1t::MuonRawDigiTranslator::fillMuon ( Muon mu,
uint32_t  raw_data_spare,
uint64_t  dataword,
int  fed,
unsigned int  fw,
int  muInBx 
)
static

Definition at line 79 of file MuonRawDigiTranslator.cc.

80  {
81  fillMuon(
82  mu, raw_data_spare, (uint32_t)(dataword & 0xFFFFFFFF), (uint32_t)((dataword >> 32) & 0xFFFFFFFF), fed, fw, muInBx);
83 }

References amptDefaultParameters_cff::mu.

◆ fillMuonCoordinates2016()

void l1t::MuonRawDigiTranslator::fillMuonCoordinates2016 ( Muon mu,
uint32_t  raw_data_00_31,
uint32_t  raw_data_32_63 
)
staticprivate

Definition at line 85 of file MuonRawDigiTranslator.cc.

85  {
86  // coordinates at the muon system are in 2016 where in 2017 eta and phi at the vertex are
87  mu.setHwEta(calcHwEta(raw_data_00_31, absEtaAtVtxShift_, etaAtVtxSignShift_));
88  mu.setHwPhi((raw_data_00_31 >> phiAtVtxShift_) & phiMask_);
89 
90  // set the coordiantes at vertex to be the same as the coordinates at the muon system
91  mu.setHwEtaAtVtx(mu.hwEta());
92  mu.setHwPhiAtVtx(mu.hwPhi());
93  // deltas are 0
94  mu.setHwDEtaExtra(0);
95  mu.setHwDPhiExtra(0);
96 }

References amptDefaultParameters_cff::mu.

Referenced by fillMuon().

◆ fillMuonCoordinatesFrom2017()

void l1t::MuonRawDigiTranslator::fillMuonCoordinatesFrom2017 ( Muon mu,
uint32_t  raw_data_00_31,
uint32_t  raw_data_32_63 
)
staticprivate

Definition at line 98 of file MuonRawDigiTranslator.cc.

100  {
101  // coordinates at the muon system
102  mu.setHwEta(calcHwEta(raw_data_32_63, absEtaShift_, etaSignShift_));
103  mu.setHwPhi((raw_data_32_63 >> phiShift_) & phiMask_);
104 
105  // coordinates at the vertex
106  mu.setHwEtaAtVtx(calcHwEta(raw_data_00_31, absEtaAtVtxShift_, etaAtVtxSignShift_));
107  mu.setHwPhiAtVtx((raw_data_00_31 >> phiAtVtxShift_) & phiMask_);
108  // deltas
109  mu.setHwDEtaExtra(mu.hwEtaAtVtx() - mu.hwEta());
110  int dPhi = mu.hwPhiAtVtx() - mu.hwPhi();
111  if (mu.hwCharge() == 1 && dPhi > 0) {
112  dPhi -= 576;
113  } else if (mu.hwCharge() == 0 && dPhi < 0) {
114  dPhi += 576;
115  }
116  mu.setHwDPhiExtra(dPhi);
117 }

References HLT_2018_cff::dPhi, and amptDefaultParameters_cff::mu.

Referenced by fillMuon().

◆ fillMuonQuantitiesRun3()

void l1t::MuonRawDigiTranslator::fillMuonQuantitiesRun3 ( Muon mu,
uint32_t  raw_data_spare,
uint32_t  raw_data_00_31,
uint32_t  raw_data_32_63,
int  muInBx 
)
staticprivate

Definition at line 119 of file MuonRawDigiTranslator.cc.

120  {
121  // coordinates at the muon system
122  // Where to find the raw eta depends on which muon we're looking at
123  if (muInBx == 1) {
124  mu.setHwEta(calcHwEta(raw_data_spare, absEtaMu1Shift_, etaMu1SignShift_));
125  } else if (muInBx == 2) {
126  mu.setHwEta(calcHwEta(raw_data_spare, absEtaMu2Shift_, etaMu2SignShift_));
127  } else {
128  edm::LogWarning("L1T") << "Received invalid muon id " << muInBx << ". Cannot fill eta value in the muon system.";
129  }
130  mu.setHwPhi((raw_data_32_63 >> phiShift_) & phiMask_);
131 
132  // coordinates at the vertex
133  mu.setHwEtaAtVtx(calcHwEta(raw_data_00_31, absEtaAtVtxShift_, etaAtVtxSignShift_));
134  mu.setHwPhiAtVtx((raw_data_00_31 >> phiAtVtxShift_) & phiMask_);
135  // deltas
136  mu.setHwDEtaExtra(mu.hwEtaAtVtx() - mu.hwEta());
137  int dPhi = mu.hwPhiAtVtx() - mu.hwPhi();
138  if (mu.hwCharge() == 1 && dPhi > 0) {
139  dPhi -= 576;
140  } else if (mu.hwCharge() == 0 && dPhi < 0) {
141  dPhi += 576;
142  }
143  mu.setHwDPhiExtra(dPhi);
144 
145  // displacement information
146  mu.setHwDXY((raw_data_32_63 >> dxyShift_) & dxyMask_);
147  mu.setHwPtUnconstrained((raw_data_32_63 >> ptUnconstrainedShift_) & ptUnconstrainedMask_);
148 }

References HLT_2018_cff::dPhi, and amptDefaultParameters_cff::mu.

Referenced by fillMuon().

◆ fillMuonStableQuantities()

void l1t::MuonRawDigiTranslator::fillMuonStableQuantities ( Muon mu,
uint32_t  raw_data_00_31,
uint32_t  raw_data_32_63 
)
staticprivate

Definition at line 52 of file MuonRawDigiTranslator.cc.

52  {
53  mu.setHwPt((raw_data_00_31 >> ptShift_) & ptMask_);
54  mu.setHwQual((raw_data_00_31 >> qualShift_) & qualMask_);
55  mu.setHwIso((raw_data_32_63 >> isoShift_) & isoMask_);
56  // charge is coded as -1^chargeBit
57  mu.setHwChargeValid((raw_data_32_63 >> chargeValidShift_) & 0x1);
58  mu.setTfMuonIndex((raw_data_32_63 >> tfMuonIndexShift_) & tfMuonIndexMask_);
59  if (mu.hwChargeValid()) {
60  mu.setCharge(1 - 2 * mu.hwCharge());
61  } else {
62  mu.setCharge(0);
63  }
64 
65  math::PtEtaPhiMLorentzVector vec{(mu.hwPt() - 1) * 0.5, mu.hwEta() * 0.010875, mu.hwPhi() * 0.010908, 0.0};
66  mu.setP4(vec);
67  // generate a muon at the vertex to extract the physical eta and phi coordinates
69  (mu.hwPt() - 1) * 0.5, mu.hwEtaAtVtx() * 0.010875, mu.hwPhiAtVtx() * 0.010908, 0.0};
70  Muon muAtVtx;
71  muAtVtx.setP4(vecAtVtx);
72  mu.setEtaAtVtx(muAtVtx.eta());
73  mu.setPhiAtVtx(muAtVtx.phi());
74 
75  int hwPtUnconstrained{mu.hwPtUnconstrained()};
76  mu.setPtUnconstrained(hwPtUnconstrained == 0 ? 0 : (hwPtUnconstrained - 1) * 0.5); // Don't want negative pT.
77 }

References reco::LeafCandidate::eta(), amptDefaultParameters_cff::mu, reco::LeafCandidate::phi(), reco::LeafCandidate::setP4(), and testProducerWithPsetDescEmpty_cfi::x1.

Referenced by fillMuon().

◆ generate64bitDataWord()

void l1t::MuonRawDigiTranslator::generate64bitDataWord ( const Muon mu,
uint32_t &  raw_data_spare,
uint64_t &  dataword,
int  fedId,
int  fwId,
int  muInBx 
)
static

Definition at line 214 of file MuonRawDigiTranslator.cc.

215  {
216  uint32_t lsw;
217  uint32_t msw;
218 
219  generatePackedDataWords(mu, raw_data_spare, lsw, msw, fedId, fwId, muInBx);
220  dataword = (((uint64_t)msw) << 32) + lsw;
221 }

References l1tstage2_dqm_sourceclient-live_cfg::fedId, and amptDefaultParameters_cff::mu.

◆ generatePackedDataWords()

void l1t::MuonRawDigiTranslator::generatePackedDataWords ( const Muon mu,
uint32_t &  raw_data_spare,
uint32_t &  raw_data_00_31,
uint32_t &  raw_data_32_63,
int  fedId,
int  fwId,
int  muInBx 
)
static

Definition at line 160 of file MuonRawDigiTranslator.cc.

166  {
167  int abs_eta = mu.hwEta();
168  if (abs_eta < 0) {
169  abs_eta += (1 << (etaSignShift_ - absEtaShift_));
170  }
171  int abs_eta_at_vtx = mu.hwEtaAtVtx();
172  if (abs_eta_at_vtx < 0) {
173  abs_eta_at_vtx += (1 << (etaAtVtxSignShift_ - absEtaAtVtxShift_));
174  }
175  if ((fedID == 1402 && fwID < 0x4010000) || (fedID == 1404 && fwID < 0x10A6)) {
176  // For 2016 the non-extrapolated coordiantes were in the place that are now occupied by the extrapolated quantities.
177  raw_data_spare = 0;
178  raw_data_00_31 = (mu.hwPt() & ptMask_) << ptShift_ | (mu.hwQual() & qualMask_) << qualShift_ |
179  (abs_eta & absEtaMask_) << absEtaAtVtxShift_ | (mu.hwEta() < 0) << etaAtVtxSignShift_ |
180  (mu.hwPhi() & phiMask_) << phiAtVtxShift_;
181  raw_data_32_63 = mu.hwCharge() << chargeShift_ | mu.hwChargeValid() << chargeValidShift_ |
182  (mu.tfMuonIndex() & tfMuonIndexMask_) << tfMuonIndexShift_ | (mu.hwIso() & isoMask_) << isoShift_;
183  } else if ((fedID == 1402 && fwID < 0x6000000) || (fedID == 1404 && fwID < 0x1120)) {
184  raw_data_spare = 0;
185  raw_data_00_31 = (mu.hwPt() & ptMask_) << ptShift_ | (mu.hwQual() & qualMask_) << qualShift_ |
186  (abs_eta_at_vtx & absEtaMask_) << absEtaAtVtxShift_ | (mu.hwEtaAtVtx() < 0) << etaAtVtxSignShift_ |
187  (mu.hwPhiAtVtx() & phiMask_) << phiAtVtxShift_;
188 
189  raw_data_32_63 = mu.hwCharge() << chargeShift_ | mu.hwChargeValid() << chargeValidShift_ |
190  (mu.tfMuonIndex() & tfMuonIndexMask_) << tfMuonIndexShift_ | (mu.hwIso() & isoMask_) << isoShift_ |
191  (abs_eta & absEtaMask_) << absEtaShift_ | (mu.hwEta() < 0) << etaSignShift_ |
192  (mu.hwPhi() & phiMask_) << phiShift_;
193  } else {
194  int absEtaShiftRun3{0}, etaSignShiftRun3{0};
195  if (muInBx == 1) {
196  absEtaShiftRun3 = absEtaMu1Shift_;
197  etaSignShiftRun3 = etaMu1SignShift_;
198  } else if (muInBx == 2) {
199  absEtaShiftRun3 = absEtaMu2Shift_;
200  etaSignShiftRun3 = etaMu2SignShift_;
201  }
202  raw_data_spare = (abs_eta & absEtaMask_) << absEtaShiftRun3 | (mu.hwEta() < 0) << etaSignShiftRun3;
203  raw_data_00_31 = (mu.hwPt() & ptMask_) << ptShift_ | (mu.hwQual() & qualMask_) << qualShift_ |
204  (abs_eta_at_vtx & absEtaMask_) << absEtaAtVtxShift_ | (mu.hwEtaAtVtx() < 0) << etaAtVtxSignShift_ |
205  (mu.hwPhiAtVtx() & phiMask_) << phiAtVtxShift_;
206  raw_data_32_63 = mu.hwCharge() << chargeShift_ | mu.hwChargeValid() << chargeValidShift_ |
207  (mu.tfMuonIndex() & tfMuonIndexMask_) << tfMuonIndexShift_ | (mu.hwIso() & isoMask_) << isoShift_ |
208  (mu.hwPhi() & phiMask_) << phiShift_ |
209  (mu.hwPtUnconstrained() & ptUnconstrainedMask_) << ptUnconstrainedShift_ |
210  (mu.hwDXY() & dxyMask_) << dxyShift_;
211  }
212 }

References amptDefaultParameters_cff::mu.

Referenced by l1t::stage2::MuonPacker::packBx().

Member Data Documentation

◆ absEtaAtVtxShift_

constexpr unsigned l1t::MuonRawDigiTranslator::absEtaAtVtxShift_ = 23
staticconstexpr

Definition at line 35 of file MuonRawDigiTranslator.h.

◆ absEtaMask_

constexpr unsigned l1t::MuonRawDigiTranslator::absEtaMask_ = 0xFF
staticconstexpr

Definition at line 33 of file MuonRawDigiTranslator.h.

◆ absEtaMu1Shift_

constexpr unsigned l1t::MuonRawDigiTranslator::absEtaMu1Shift_ = 12
staticconstexpr

Definition at line 52 of file MuonRawDigiTranslator.h.

◆ absEtaMu2Shift_

constexpr unsigned l1t::MuonRawDigiTranslator::absEtaMu2Shift_ = 21
staticconstexpr

Definition at line 54 of file MuonRawDigiTranslator.h.

◆ absEtaShift_

constexpr unsigned l1t::MuonRawDigiTranslator::absEtaShift_ = 21
staticconstexpr

Definition at line 34 of file MuonRawDigiTranslator.h.

◆ chargeShift_

constexpr unsigned l1t::MuonRawDigiTranslator::chargeShift_ = 2
staticconstexpr

Definition at line 41 of file MuonRawDigiTranslator.h.

Referenced by fillMuon().

◆ chargeValidShift_

constexpr unsigned l1t::MuonRawDigiTranslator::chargeValidShift_ = 3
staticconstexpr

Definition at line 42 of file MuonRawDigiTranslator.h.

◆ dxyMask_

constexpr unsigned l1t::MuonRawDigiTranslator::dxyMask_ = 0x3
staticconstexpr

Definition at line 47 of file MuonRawDigiTranslator.h.

◆ dxyShift_

constexpr unsigned l1t::MuonRawDigiTranslator::dxyShift_ = 30
staticconstexpr

Definition at line 48 of file MuonRawDigiTranslator.h.

◆ etaAtVtxSignShift_

constexpr unsigned l1t::MuonRawDigiTranslator::etaAtVtxSignShift_ = 31
staticconstexpr

Definition at line 37 of file MuonRawDigiTranslator.h.

◆ etaMu1SignShift_

constexpr unsigned l1t::MuonRawDigiTranslator::etaMu1SignShift_ = 20
staticconstexpr

Definition at line 53 of file MuonRawDigiTranslator.h.

◆ etaMu2SignShift_

constexpr unsigned l1t::MuonRawDigiTranslator::etaMu2SignShift_ = 29
staticconstexpr

Definition at line 55 of file MuonRawDigiTranslator.h.

◆ etaSignShift_

constexpr unsigned l1t::MuonRawDigiTranslator::etaSignShift_ = 29
staticconstexpr

Definition at line 36 of file MuonRawDigiTranslator.h.

◆ isoMask_

constexpr unsigned l1t::MuonRawDigiTranslator::isoMask_ = 0x3
staticconstexpr

Definition at line 45 of file MuonRawDigiTranslator.h.

◆ isoShift_

constexpr unsigned l1t::MuonRawDigiTranslator::isoShift_ = 0
staticconstexpr

Definition at line 46 of file MuonRawDigiTranslator.h.

◆ phiAtVtxShift_

constexpr unsigned l1t::MuonRawDigiTranslator::phiAtVtxShift_ = 0
staticconstexpr

Definition at line 40 of file MuonRawDigiTranslator.h.

◆ phiMask_

constexpr unsigned l1t::MuonRawDigiTranslator::phiMask_ = 0x3FF
staticconstexpr

Definition at line 38 of file MuonRawDigiTranslator.h.

◆ phiShift_

constexpr unsigned l1t::MuonRawDigiTranslator::phiShift_ = 11
staticconstexpr

Definition at line 39 of file MuonRawDigiTranslator.h.

◆ ptMask_

constexpr unsigned l1t::MuonRawDigiTranslator::ptMask_ = 0x1FF
staticconstexpr

◆ ptShift_

constexpr unsigned l1t::MuonRawDigiTranslator::ptShift_ = 10
staticconstexpr

◆ ptUnconstrainedIntermedidateShift_

constexpr unsigned l1t::MuonRawDigiTranslator::ptUnconstrainedIntermedidateShift_ = 0
staticconstexpr

Definition at line 51 of file MuonRawDigiTranslator.h.

◆ ptUnconstrainedMask_

constexpr unsigned l1t::MuonRawDigiTranslator::ptUnconstrainedMask_ = 0xFF
staticconstexpr

Definition at line 49 of file MuonRawDigiTranslator.h.

◆ ptUnconstrainedShift_

constexpr unsigned l1t::MuonRawDigiTranslator::ptUnconstrainedShift_ = 21
staticconstexpr

Definition at line 50 of file MuonRawDigiTranslator.h.

◆ qualMask_

constexpr unsigned l1t::MuonRawDigiTranslator::qualMask_ = 0xF
staticconstexpr

Definition at line 31 of file MuonRawDigiTranslator.h.

◆ qualShift_

constexpr unsigned l1t::MuonRawDigiTranslator::qualShift_ = 19
staticconstexpr

Definition at line 32 of file MuonRawDigiTranslator.h.

◆ tfMuonIndexMask_

constexpr unsigned l1t::MuonRawDigiTranslator::tfMuonIndexMask_ = 0x7F
staticconstexpr

Definition at line 43 of file MuonRawDigiTranslator.h.

◆ tfMuonIndexShift_

constexpr unsigned l1t::MuonRawDigiTranslator::tfMuonIndexShift_ = 4
staticconstexpr

Definition at line 44 of file MuonRawDigiTranslator.h.

l1t::MuonRawDigiTranslator::etaSignShift_
static constexpr unsigned etaSignShift_
Definition: MuonRawDigiTranslator.h:36
l1t::MuonRawDigiTranslator::dxyShift_
static constexpr unsigned dxyShift_
Definition: MuonRawDigiTranslator.h:48
l1t::MuonRawDigiTranslator::chargeValidShift_
static constexpr unsigned chargeValidShift_
Definition: MuonRawDigiTranslator.h:42
l1t::MuonRawDigiTranslator::ptUnconstrainedIntermedidateShift_
static constexpr unsigned ptUnconstrainedIntermedidateShift_
Definition: MuonRawDigiTranslator.h:51
l1t::MuonRawDigiTranslator::phiShift_
static constexpr unsigned phiShift_
Definition: MuonRawDigiTranslator.h:39
l1t::MuonRawDigiTranslator::chargeShift_
static constexpr unsigned chargeShift_
Definition: MuonRawDigiTranslator.h:41
l1t::MuonRawDigiTranslator::fillMuonQuantitiesRun3
static void fillMuonQuantitiesRun3(Muon &mu, uint32_t raw_data_spare, uint32_t raw_data_00_31, uint32_t raw_data_32_63, int muInBx)
Definition: MuonRawDigiTranslator.cc:119
amptDefaultParameters_cff.mu
mu
Definition: amptDefaultParameters_cff.py:16
l1t::MuonRawDigiTranslator::ptShift_
static constexpr unsigned ptShift_
Definition: MuonRawDigiTranslator.h:30
l1t::MuonRawDigiTranslator::phiAtVtxShift_
static constexpr unsigned phiAtVtxShift_
Definition: MuonRawDigiTranslator.h:40
l1t::MuonRawDigiTranslator::phiMask_
static constexpr unsigned phiMask_
Definition: MuonRawDigiTranslator.h:38
l1t::MuonRawDigiTranslator::absEtaMu2Shift_
static constexpr unsigned absEtaMu2Shift_
Definition: MuonRawDigiTranslator.h:54
l1t::MuonRawDigiTranslator::fillMuonCoordinatesFrom2017
static void fillMuonCoordinatesFrom2017(Muon &mu, uint32_t raw_data_00_31, uint32_t raw_data_32_63)
Definition: MuonRawDigiTranslator.cc:98
l1t::MuonRawDigiTranslator::fillMuonCoordinates2016
static void fillMuonCoordinates2016(Muon &mu, uint32_t raw_data_00_31, uint32_t raw_data_32_63)
Definition: MuonRawDigiTranslator.cc:85
Muon
Definition: Muon.py:1
l1t::MuonRawDigiTranslator::fillMuonStableQuantities
static void fillMuonStableQuantities(Muon &mu, uint32_t raw_data_00_31, uint32_t raw_data_32_63)
Definition: MuonRawDigiTranslator.cc:52
testProducerWithPsetDescEmpty_cfi.x1
x1
Definition: testProducerWithPsetDescEmpty_cfi.py:33
l1t::MuonRawDigiTranslator::fillMuon
static void fillMuon(Muon &mu, uint32_t raw_data_spare, uint32_t raw_data_00_31, uint32_t raw_data_32_63, int fed, unsigned int fw, int muInBx)
Definition: MuonRawDigiTranslator.cc:5
l1t::MuonRawDigiTranslator::absEtaShift_
static constexpr unsigned absEtaShift_
Definition: MuonRawDigiTranslator.h:34
HLT_2018_cff.dPhi
dPhi
Definition: HLT_2018_cff.py:12290
edm::LogWarning
Definition: MessageLogger.h:141
l1t::MuonRawDigiTranslator::absEtaMask_
static constexpr unsigned absEtaMask_
Definition: MuonRawDigiTranslator.h:33
l1t::MuonRawDigiTranslator::isoShift_
static constexpr unsigned isoShift_
Definition: MuonRawDigiTranslator.h:46
l1t::MuonRawDigiTranslator::ptMask_
static constexpr unsigned ptMask_
Definition: MuonRawDigiTranslator.h:29
l1t::MuonRawDigiTranslator::tfMuonIndexMask_
static constexpr unsigned tfMuonIndexMask_
Definition: MuonRawDigiTranslator.h:43
fw
Definition: estimate_field.h:12
l1t::MuonRawDigiTranslator::qualMask_
static constexpr unsigned qualMask_
Definition: MuonRawDigiTranslator.h:31
l1t::MuonRawDigiTranslator::ptUnconstrainedShift_
static constexpr unsigned ptUnconstrainedShift_
Definition: MuonRawDigiTranslator.h:50
l1t::MuonRawDigiTranslator::tfMuonIndexShift_
static constexpr unsigned tfMuonIndexShift_
Definition: MuonRawDigiTranslator.h:44
l1tstage2_dqm_sourceclient-live_cfg.fedId
fedId
Definition: l1tstage2_dqm_sourceclient-live_cfg.py:88
l1t::MuonRawDigiTranslator::dxyMask_
static constexpr unsigned dxyMask_
Definition: MuonRawDigiTranslator.h:47
l1t::MuonRawDigiTranslator::calcHwEta
static int calcHwEta(const uint32_t &raw, const unsigned absEtaShift, const unsigned etaSignShift)
Definition: MuonRawDigiTranslator.cc:223
l1t::MuonRawDigiTranslator::qualShift_
static constexpr unsigned qualShift_
Definition: MuonRawDigiTranslator.h:32
l1t::MuonRawDigiTranslator::etaMu2SignShift_
static constexpr unsigned etaMu2SignShift_
Definition: MuonRawDigiTranslator.h:55
l1t::MuonRawDigiTranslator::absEtaAtVtxShift_
static constexpr unsigned absEtaAtVtxShift_
Definition: MuonRawDigiTranslator.h:35
l1t::MuonRawDigiTranslator::ptUnconstrainedMask_
static constexpr unsigned ptUnconstrainedMask_
Definition: MuonRawDigiTranslator.h:49
l1t::MuonRawDigiTranslator::isoMask_
static constexpr unsigned isoMask_
Definition: MuonRawDigiTranslator.h:45
cond::uint64_t
unsigned long long uint64_t
Definition: Time.h:13
math::PtEtaPhiMLorentzVector
PtEtaPhiMLorentzVectorD PtEtaPhiMLorentzVector
Lorentz vector with cartesian internal representation.
Definition: LorentzVector.h:25
l1t::MuonRawDigiTranslator::etaAtVtxSignShift_
static constexpr unsigned etaAtVtxSignShift_
Definition: MuonRawDigiTranslator.h:37
l1t::MuonRawDigiTranslator::generatePackedDataWords
static void generatePackedDataWords(const Muon &mu, uint32_t &raw_data_spare, uint32_t &raw_data_00_31, uint32_t &raw_data_32_63, int fedId, int fwId, int muInBx)
Definition: MuonRawDigiTranslator.cc:160
l1t::MuonRawDigiTranslator::fillIntermediateMuonQuantitiesRun3
static void fillIntermediateMuonQuantitiesRun3(Muon &mu, uint32_t raw_data_00_31, uint32_t raw_data_32_63)
Definition: MuonRawDigiTranslator.cc:150
l1t::MuonRawDigiTranslator::absEtaMu1Shift_
static constexpr unsigned absEtaMu1Shift_
Definition: MuonRawDigiTranslator.h:52
l1t::MuonRawDigiTranslator::etaMu1SignShift_
static constexpr unsigned etaMu1SignShift_
Definition: MuonRawDigiTranslator.h:53