CMS 3D CMS Logo

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

#include <RegionalMuonRawDigiTranslator.h>

Static Public Member Functions

static void fillRegionalMuonCand (RegionalMuonCand &, uint32_t, uint32_t, int, tftype)
 
static void fillRegionalMuonCand (RegionalMuonCand &, uint64_t, int, tftype)
 
static uint64_t generate64bitDataWord (const RegionalMuonCand &)
 
static void generatePackedDataWords (const RegionalMuonCand &, uint32_t &, uint32_t &)
 

Static Public Attributes

static const unsigned absEtaMask_ = 0xFF
 
static const unsigned absEtaShift_ = 13
 
static const unsigned absPhiMask_ = 0x7F
 
static const unsigned absPhiShift_ = 23
 
static const unsigned bmtfTrAddrDetSideShift_ = 20
 
static const unsigned bmtfTrAddrSegSelMask_ = 0xF
 
static const unsigned bmtfTrAddrSegSelShift_ = 21
 
static const unsigned bmtfTrAddrStat1Mask_ = 0x3
 
static const unsigned bmtfTrAddrStat1Shift_ = 14
 
static const unsigned bmtfTrAddrStat2Mask_ = 0xF
 
static const unsigned bmtfTrAddrStat2Shift_ = 10
 
static const unsigned bmtfTrAddrStat3Mask_ = 0xF
 
static const unsigned bmtfTrAddrStat3Shift_ = 6
 
static const unsigned bmtfTrAddrStat4Mask_ = 0xF
 
static const unsigned bmtfTrAddrStat4Shift_ = 2
 
static const unsigned bmtfTrAddrWheelMask_ = 0x3
 
static const unsigned bmtfTrAddrWheelShift_ = 18
 
static const unsigned emtfTrAddrBxMask_ = 0x7FF
 
static const unsigned emtfTrAddrBxShift_ = 18
 
static const unsigned emtfTrAddrMe1ChMask_ = 0x7
 
static const unsigned emtfTrAddrMe1ChShift_ = 1
 
static const unsigned emtfTrAddrMe1SegShift_ = 0
 
static const unsigned emtfTrAddrMe2ChMask_ = 0x7
 
static const unsigned emtfTrAddrMe2ChShift_ = 5
 
static const unsigned emtfTrAddrMe2SegShift_ = 4
 
static const unsigned emtfTrAddrMe3ChMask_ = 0x7
 
static const unsigned emtfTrAddrMe3ChShift_ = 9
 
static const unsigned emtfTrAddrMe3SegShift_ = 8
 
static const unsigned emtfTrAddrMe4ChMask_ = 0x7
 
static const unsigned emtfTrAddrMe4ChShift_ = 13
 
static const unsigned emtfTrAddrMe4SegShift_ = 12
 
static const unsigned emtfTrAddrTrkNumMask_ = 0x3
 
static const unsigned emtfTrAddrTrkNumShift_ = 16
 
static const unsigned etaSignShift_ = 21
 
static const unsigned hfMask_ = 0x1
 
static const unsigned hfShift_ = 22
 
static const unsigned omtfTrAddrLayersMask_ = 0x3FFFF
 
static const unsigned omtfTrAddrLayersShift_ = 0
 
static const unsigned omtfTrAddrWeightMask_ = 0x1F
 
static const unsigned omtfTrAddrWeightShift_ = 18
 
static const unsigned phiSignShift_ = 30
 
static const unsigned ptMask_ = 0x1FF
 
static const unsigned ptShift_ = 0
 
static const unsigned qualMask_ = 0xF
 
static const unsigned qualShift_ = 9
 
static const unsigned signShift_ = 0
 
static const unsigned signValidShift_ = 1
 
static const unsigned trackAddressMask_ = 0x1FFFFFFF
 
static const unsigned trackAddressShift_ = 2
 

Detailed Description

Definition at line 7 of file RegionalMuonRawDigiTranslator.h.

Member Function Documentation

◆ fillRegionalMuonCand() [1/2]

void l1t::RegionalMuonRawDigiTranslator::fillRegionalMuonCand ( RegionalMuonCand mu,
uint32_t  raw_data_00_31,
uint32_t  raw_data_32_63,
int  proc,
tftype  tf 
)
static

Definition at line 4 of file RegionalMuonRawDigiTranslator.cc.

5  {
6  // translations as defined in DN-15-017
7  mu.setHwPt((raw_data_00_31 >> ptShift_) & ptMask_);
8  mu.setHwQual((raw_data_00_31 >> qualShift_) & qualMask_);
9 
10  // eta is coded as two's complement
11  int abs_eta = (raw_data_00_31 >> absEtaShift_) & absEtaMask_;
12  if ((raw_data_00_31 >> etaSignShift_) & 0x1) {
13  mu.setHwEta(abs_eta - (1 << (etaSignShift_ - absEtaShift_)));
14  } else {
15  mu.setHwEta(abs_eta);
16  }
17 
18  // phi is coded as two's complement
19  int abs_phi = (raw_data_00_31 >> absPhiShift_) & absPhiMask_;
20  if ((raw_data_00_31 >> phiSignShift_) & 0x1) {
21  mu.setHwPhi(abs_phi - (1 << (phiSignShift_ - absPhiShift_)));
22  } else {
23  mu.setHwPhi(abs_phi);
24  }
25 
26  // sign is coded as -1^signBit
27  mu.setHwSign((raw_data_32_63 >> signShift_) & 0x1);
28  mu.setHwSignValid((raw_data_32_63 >> signValidShift_) & 0x1);
29  mu.setHwHF((raw_data_00_31 >> hfShift_) & hfMask_);
30 
31  // set track address with subaddresses
32  int rawTrackAddress = (raw_data_32_63 >> trackAddressShift_) & trackAddressMask_;
33  if (tf == bmtf) {
34  //int segSel = (rawTrackAddress >> bmtfTrAddrSegSelShift_) & bmtfTrAddrSegSelMask_;
35  int detSide = (rawTrackAddress >> bmtfTrAddrDetSideShift_) & 0x1;
36  int wheelNum = (rawTrackAddress >> bmtfTrAddrWheelShift_) & bmtfTrAddrWheelMask_;
37  int statAddr1 = ((rawTrackAddress >> bmtfTrAddrStat1Shift_) & bmtfTrAddrStat1Mask_);
38  int statAddr2 = ((rawTrackAddress >> bmtfTrAddrStat2Shift_) & bmtfTrAddrStat2Mask_);
39  int statAddr3 = ((rawTrackAddress >> bmtfTrAddrStat3Shift_) & bmtfTrAddrStat3Mask_);
40  int statAddr4 = ((rawTrackAddress >> bmtfTrAddrStat4Shift_) & bmtfTrAddrStat4Mask_);
41 
42  mu.setTrackSubAddress(RegionalMuonCand::kWheelSide, detSide);
43  mu.setTrackSubAddress(RegionalMuonCand::kWheelNum, wheelNum);
44  mu.setTrackSubAddress(RegionalMuonCand::kStat1, statAddr1);
45  mu.setTrackSubAddress(RegionalMuonCand::kStat2, statAddr2);
46  mu.setTrackSubAddress(RegionalMuonCand::kStat3, statAddr3);
47  mu.setTrackSubAddress(RegionalMuonCand::kStat4, statAddr4);
48  mu.setTrackSubAddress(RegionalMuonCand::kSegSelStat1, 0);
49  mu.setTrackSubAddress(RegionalMuonCand::kSegSelStat2, 0);
50  mu.setTrackSubAddress(RegionalMuonCand::kSegSelStat3, 0);
51  mu.setTrackSubAddress(RegionalMuonCand::kSegSelStat4, 0);
52  //mu.setTrackSubAddress(RegionalMuonCand::kNumBmtfSubAddr, 0);
53  } else if (tf == emtf_neg || tf == emtf_pos) {
54  mu.setTrackSubAddress(RegionalMuonCand::kME1Seg, (rawTrackAddress >> emtfTrAddrMe1SegShift_) & 0x1);
55  mu.setTrackSubAddress(RegionalMuonCand::kME1Ch, (rawTrackAddress >> emtfTrAddrMe1ChShift_) & emtfTrAddrMe1ChMask_);
56  mu.setTrackSubAddress(RegionalMuonCand::kME2Seg, (rawTrackAddress >> emtfTrAddrMe2SegShift_) & 0x1);
57  mu.setTrackSubAddress(RegionalMuonCand::kME2Ch, (rawTrackAddress >> emtfTrAddrMe2ChShift_) & emtfTrAddrMe2ChMask_);
58  mu.setTrackSubAddress(RegionalMuonCand::kME3Seg, (rawTrackAddress >> emtfTrAddrMe3SegShift_) & 0x1);
59  mu.setTrackSubAddress(RegionalMuonCand::kME3Ch, (rawTrackAddress >> emtfTrAddrMe3ChShift_) & emtfTrAddrMe3ChMask_);
60  mu.setTrackSubAddress(RegionalMuonCand::kME4Seg, (rawTrackAddress >> emtfTrAddrMe4SegShift_) & 0x1);
61  mu.setTrackSubAddress(RegionalMuonCand::kME4Ch, (rawTrackAddress >> emtfTrAddrMe4ChShift_) & emtfTrAddrMe4ChMask_);
62  mu.setTrackSubAddress(RegionalMuonCand::kTrkNum,
63  (rawTrackAddress >> emtfTrAddrTrkNumShift_) & emtfTrAddrTrkNumMask_);
64  mu.setTrackSubAddress(RegionalMuonCand::kBX, (rawTrackAddress >> emtfTrAddrBxShift_) & emtfTrAddrBxMask_);
65  } else if (tf == omtf_neg || tf == omtf_pos) {
66  mu.setTrackSubAddress(RegionalMuonCand::kLayers,
67  (rawTrackAddress >> omtfTrAddrLayersShift_) & omtfTrAddrLayersMask_);
68  mu.setTrackSubAddress(RegionalMuonCand::kZero, 0);
69  mu.setTrackSubAddress(RegionalMuonCand::kWeight,
70  (rawTrackAddress >> omtfTrAddrWeightShift_) & omtfTrAddrWeightMask_);
71  } else {
72  std::map<int, int> trackAddr;
73  trackAddr[0] = rawTrackAddress;
74  mu.setTrackAddress(trackAddr);
75  }
76 
77  mu.setTFIdentifiers(proc, tf);
78  mu.setDataword(raw_data_32_63, raw_data_00_31);
79 }

References absEtaMask_, absEtaShift_, absPhiMask_, absPhiShift_, l1t::bmtf, bmtfTrAddrDetSideShift_, bmtfTrAddrStat1Mask_, bmtfTrAddrStat1Shift_, bmtfTrAddrStat2Mask_, bmtfTrAddrStat2Shift_, bmtfTrAddrStat3Mask_, bmtfTrAddrStat3Shift_, bmtfTrAddrStat4Mask_, bmtfTrAddrStat4Shift_, bmtfTrAddrWheelMask_, bmtfTrAddrWheelShift_, l1t::emtf_neg, l1t::emtf_pos, emtfTrAddrBxMask_, emtfTrAddrBxShift_, emtfTrAddrMe1ChMask_, emtfTrAddrMe1ChShift_, emtfTrAddrMe1SegShift_, emtfTrAddrMe2ChMask_, emtfTrAddrMe2ChShift_, emtfTrAddrMe2SegShift_, emtfTrAddrMe3ChMask_, emtfTrAddrMe3ChShift_, emtfTrAddrMe3SegShift_, emtfTrAddrMe4ChMask_, emtfTrAddrMe4ChShift_, emtfTrAddrMe4SegShift_, emtfTrAddrTrkNumMask_, emtfTrAddrTrkNumShift_, etaSignShift_, hfMask_, hfShift_, l1t::RegionalMuonCand::kBX, l1t::RegionalMuonCand::kLayers, l1t::RegionalMuonCand::kME1Ch, l1t::RegionalMuonCand::kME1Seg, l1t::RegionalMuonCand::kME2Ch, l1t::RegionalMuonCand::kME2Seg, l1t::RegionalMuonCand::kME3Ch, l1t::RegionalMuonCand::kME3Seg, l1t::RegionalMuonCand::kME4Ch, l1t::RegionalMuonCand::kME4Seg, l1t::RegionalMuonCand::kSegSelStat1, l1t::RegionalMuonCand::kSegSelStat2, l1t::RegionalMuonCand::kSegSelStat3, l1t::RegionalMuonCand::kSegSelStat4, l1t::RegionalMuonCand::kStat1, l1t::RegionalMuonCand::kStat2, l1t::RegionalMuonCand::kStat3, l1t::RegionalMuonCand::kStat4, l1t::RegionalMuonCand::kTrkNum, l1t::RegionalMuonCand::kWeight, l1t::RegionalMuonCand::kWheelNum, l1t::RegionalMuonCand::kWheelSide, l1t::RegionalMuonCand::kZero, amptDefaultParameters_cff::mu, l1t::omtf_neg, l1t::omtf_pos, omtfTrAddrLayersMask_, omtfTrAddrLayersShift_, omtfTrAddrWeightMask_, omtfTrAddrWeightShift_, phiSignShift_, ValidateTausOnZEEFastSim_cff::proc, ptMask_, ptShift_, qualMask_, qualShift_, signShift_, signValidShift_, trackAddressMask_, trackAddressShift_, and testProducerWithPsetDescEmpty_cfi::x1.

Referenced by l1t::stage2::RegionalMuonGMTUnpacker::unpack(), and l1t::stage2::BMTFUnpackerOutput::unpack().

◆ fillRegionalMuonCand() [2/2]

void l1t::RegionalMuonRawDigiTranslator::fillRegionalMuonCand ( RegionalMuonCand mu,
uint64_t  dataword,
int  proc,
tftype  tf 
)
static

Definition at line 81 of file RegionalMuonRawDigiTranslator.cc.

84  {
85  fillRegionalMuonCand(mu, (uint32_t)(dataword & 0xFFFFFFFF), (uint32_t)((dataword >> 32) & 0xFFFFFFFF), proc, tf);
86 }

References amptDefaultParameters_cff::mu, and ValidateTausOnZEEFastSim_cff::proc.

◆ generate64bitDataWord()

uint64_t l1t::RegionalMuonRawDigiTranslator::generate64bitDataWord ( const RegionalMuonCand mu)
static

Definition at line 175 of file RegionalMuonRawDigiTranslator.cc.

175  {
176  uint32_t lsw;
177  uint32_t msw;
178 
179  generatePackedDataWords(mu, lsw, msw);
180  return (((uint64_t)msw) << 32) + lsw;
181 }

References amptDefaultParameters_cff::mu.

◆ generatePackedDataWords()

void l1t::RegionalMuonRawDigiTranslator::generatePackedDataWords ( const RegionalMuonCand mu,
uint32_t &  raw_data_00_31,
uint32_t &  raw_data_32_63 
)
static

Definition at line 88 of file RegionalMuonRawDigiTranslator.cc.

90  {
91  int abs_eta = mu.hwEta();
92  if (abs_eta < 0) {
93  abs_eta += (1 << (etaSignShift_ - absEtaShift_));
94  }
95  int abs_phi = mu.hwPhi();
96  if (abs_phi < 0) {
97  abs_phi += (1 << (phiSignShift_ - absPhiShift_));
98  }
99  raw_data_00_31 = (mu.hwPt() & ptMask_) << ptShift_ | (mu.hwQual() & qualMask_) << qualShift_ |
100  (abs_eta & absEtaMask_) << absEtaShift_ | (mu.hwEta() < 0) << etaSignShift_ |
101  (mu.hwHF() & hfMask_) << hfShift_ | (abs_phi & absPhiMask_) << absPhiShift_ |
102  (mu.hwPhi() < 0) << phiSignShift_;
103 
104  // generate the raw track address from the subaddresses
105  int tf = mu.trackFinderType();
106  int rawTrkAddr = 0;
107  if (tf == bmtf) {
108  // protection against a track address map with the wrong size
109  if (mu.trackAddress().size() == RegionalMuonCand::kNumBmtfSubAddr) {
110  int detSide = mu.trackSubAddress(RegionalMuonCand::kWheelSide);
111  int wheelNum = mu.trackSubAddress(RegionalMuonCand::kWheelNum);
112  int stat1 = mu.trackSubAddress(RegionalMuonCand::kStat1);
113  int stat2 = mu.trackSubAddress(RegionalMuonCand::kStat2);
114  int stat3 = mu.trackSubAddress(RegionalMuonCand::kStat3);
115  int stat4 = mu.trackSubAddress(RegionalMuonCand::kStat4);
116 
117  int segSel = mu.trackSubAddress(RegionalMuonCand::kSegSelStat1) |
118  (mu.trackSubAddress(RegionalMuonCand::kSegSelStat2)) >> 1 |
119  (mu.trackSubAddress(RegionalMuonCand::kSegSelStat3)) >> 2 |
120  (mu.trackSubAddress(RegionalMuonCand::kSegSelStat4)) >> 3;
121 
122  rawTrkAddr = (segSel & bmtfTrAddrSegSelMask_) << bmtfTrAddrSegSelShift_ |
123  (detSide & 0x1) << bmtfTrAddrDetSideShift_ |
129  } else {
130  edm::LogWarning("L1T") << "BMTF muon track address map contains " << mu.trackAddress().size()
131  << " instead of the expected " << RegionalMuonCand::kNumBmtfSubAddr
132  << " subaddresses. Check the data format. Setting track address to 0.";
133  rawTrkAddr = 0;
134  }
135  } else if (tf == emtf_neg || tf == emtf_pos) {
136  // protection against a track address map with the wrong size
137  if (mu.trackAddress().size() == RegionalMuonCand::kNumEmtfSubAddr) {
138  rawTrkAddr = (mu.trackSubAddress(RegionalMuonCand::kME1Seg) & 0x1) << emtfTrAddrMe1SegShift_ |
140  (mu.trackSubAddress(RegionalMuonCand::kME2Seg) & 0x1) << emtfTrAddrMe2SegShift_ |
142  (mu.trackSubAddress(RegionalMuonCand::kME3Seg) & 0x1) << emtfTrAddrMe3SegShift_ |
144  (mu.trackSubAddress(RegionalMuonCand::kME4Seg) & 0x1) << emtfTrAddrMe4SegShift_ |
148 
149  } else {
150  edm::LogWarning("L1T") << "EMTF muon track address map contains " << mu.trackAddress().size()
151  << " instead of the expected " << RegionalMuonCand::kNumEmtfSubAddr
152  << " subaddresses. Check the data format. Setting track address to 0.";
153  rawTrkAddr = 0;
154  }
155  } else if (tf == omtf_neg || tf == omtf_pos) {
156  // protection against a track address map with the wrong size
157  if (mu.trackAddress().size() == RegionalMuonCand::kNumOmtfSubAddr) {
158  rawTrkAddr = (mu.trackSubAddress(RegionalMuonCand::kLayers) & omtfTrAddrLayersMask_) << omtfTrAddrLayersShift_ |
160 
161  } else {
162  edm::LogWarning("L1T") << "OMTF muon track address map contains " << mu.trackAddress().size()
163  << " instead of the expected " << RegionalMuonCand::kNumOmtfSubAddr
164  << " subaddresses. Check the data format. Setting track address to 0.";
165  rawTrkAddr = 0;
166  }
167  } else {
168  rawTrkAddr = mu.trackAddress().at(0);
169  }
170 
171  raw_data_32_63 = mu.hwSign() << signShift_ | mu.hwSignValid() << signValidShift_ |
172  (rawTrkAddr & trackAddressMask_) << trackAddressShift_;
173 }

References l1t::bmtf, l1t::emtf_neg, l1t::emtf_pos, l1t::RegionalMuonCand::kBX, l1t::RegionalMuonCand::kLayers, l1t::RegionalMuonCand::kME1Ch, l1t::RegionalMuonCand::kME1Seg, l1t::RegionalMuonCand::kME2Ch, l1t::RegionalMuonCand::kME2Seg, l1t::RegionalMuonCand::kME3Ch, l1t::RegionalMuonCand::kME3Seg, l1t::RegionalMuonCand::kME4Ch, l1t::RegionalMuonCand::kME4Seg, l1t::RegionalMuonCand::kNumBmtfSubAddr, l1t::RegionalMuonCand::kNumEmtfSubAddr, l1t::RegionalMuonCand::kNumOmtfSubAddr, l1t::RegionalMuonCand::kSegSelStat1, l1t::RegionalMuonCand::kSegSelStat2, l1t::RegionalMuonCand::kSegSelStat3, l1t::RegionalMuonCand::kSegSelStat4, l1t::RegionalMuonCand::kStat1, l1t::RegionalMuonCand::kStat2, l1t::RegionalMuonCand::kStat3, l1t::RegionalMuonCand::kStat4, l1t::RegionalMuonCand::kTrkNum, l1t::RegionalMuonCand::kWeight, l1t::RegionalMuonCand::kWheelNum, l1t::RegionalMuonCand::kWheelSide, amptDefaultParameters_cff::mu, l1t::omtf_neg, l1t::omtf_pos, and testProducerWithPsetDescEmpty_cfi::x1.

Referenced by l1t::stage2::BMTFPackerOutput::pack(), and l1t::stage2::RegionalMuonGMTPacker::packTF().

Member Data Documentation

◆ absEtaMask_

const unsigned l1t::RegionalMuonRawDigiTranslator::absEtaMask_ = 0xFF
static

Definition at line 18 of file RegionalMuonRawDigiTranslator.h.

Referenced by fillRegionalMuonCand().

◆ absEtaShift_

const unsigned l1t::RegionalMuonRawDigiTranslator::absEtaShift_ = 13
static

Definition at line 19 of file RegionalMuonRawDigiTranslator.h.

Referenced by fillRegionalMuonCand().

◆ absPhiMask_

const unsigned l1t::RegionalMuonRawDigiTranslator::absPhiMask_ = 0x7F
static

Definition at line 23 of file RegionalMuonRawDigiTranslator.h.

Referenced by fillRegionalMuonCand().

◆ absPhiShift_

const unsigned l1t::RegionalMuonRawDigiTranslator::absPhiShift_ = 23
static

Definition at line 24 of file RegionalMuonRawDigiTranslator.h.

Referenced by fillRegionalMuonCand().

◆ bmtfTrAddrDetSideShift_

const unsigned l1t::RegionalMuonRawDigiTranslator::bmtfTrAddrDetSideShift_ = 20
static

Definition at line 33 of file RegionalMuonRawDigiTranslator.h.

Referenced by fillRegionalMuonCand().

◆ bmtfTrAddrSegSelMask_

const unsigned l1t::RegionalMuonRawDigiTranslator::bmtfTrAddrSegSelMask_ = 0xF
static

Definition at line 31 of file RegionalMuonRawDigiTranslator.h.

◆ bmtfTrAddrSegSelShift_

const unsigned l1t::RegionalMuonRawDigiTranslator::bmtfTrAddrSegSelShift_ = 21
static

Definition at line 32 of file RegionalMuonRawDigiTranslator.h.

◆ bmtfTrAddrStat1Mask_

const unsigned l1t::RegionalMuonRawDigiTranslator::bmtfTrAddrStat1Mask_ = 0x3
static

Definition at line 36 of file RegionalMuonRawDigiTranslator.h.

Referenced by fillRegionalMuonCand().

◆ bmtfTrAddrStat1Shift_

const unsigned l1t::RegionalMuonRawDigiTranslator::bmtfTrAddrStat1Shift_ = 14
static

Definition at line 37 of file RegionalMuonRawDigiTranslator.h.

Referenced by fillRegionalMuonCand().

◆ bmtfTrAddrStat2Mask_

const unsigned l1t::RegionalMuonRawDigiTranslator::bmtfTrAddrStat2Mask_ = 0xF
static

Definition at line 38 of file RegionalMuonRawDigiTranslator.h.

Referenced by fillRegionalMuonCand().

◆ bmtfTrAddrStat2Shift_

const unsigned l1t::RegionalMuonRawDigiTranslator::bmtfTrAddrStat2Shift_ = 10
static

Definition at line 39 of file RegionalMuonRawDigiTranslator.h.

Referenced by fillRegionalMuonCand().

◆ bmtfTrAddrStat3Mask_

const unsigned l1t::RegionalMuonRawDigiTranslator::bmtfTrAddrStat3Mask_ = 0xF
static

Definition at line 40 of file RegionalMuonRawDigiTranslator.h.

Referenced by fillRegionalMuonCand().

◆ bmtfTrAddrStat3Shift_

const unsigned l1t::RegionalMuonRawDigiTranslator::bmtfTrAddrStat3Shift_ = 6
static

Definition at line 41 of file RegionalMuonRawDigiTranslator.h.

Referenced by fillRegionalMuonCand().

◆ bmtfTrAddrStat4Mask_

const unsigned l1t::RegionalMuonRawDigiTranslator::bmtfTrAddrStat4Mask_ = 0xF
static

Definition at line 42 of file RegionalMuonRawDigiTranslator.h.

Referenced by fillRegionalMuonCand().

◆ bmtfTrAddrStat4Shift_

const unsigned l1t::RegionalMuonRawDigiTranslator::bmtfTrAddrStat4Shift_ = 2
static

Definition at line 43 of file RegionalMuonRawDigiTranslator.h.

Referenced by fillRegionalMuonCand().

◆ bmtfTrAddrWheelMask_

const unsigned l1t::RegionalMuonRawDigiTranslator::bmtfTrAddrWheelMask_ = 0x3
static

Definition at line 34 of file RegionalMuonRawDigiTranslator.h.

Referenced by fillRegionalMuonCand().

◆ bmtfTrAddrWheelShift_

const unsigned l1t::RegionalMuonRawDigiTranslator::bmtfTrAddrWheelShift_ = 18
static

Definition at line 35 of file RegionalMuonRawDigiTranslator.h.

Referenced by fillRegionalMuonCand().

◆ emtfTrAddrBxMask_

const unsigned l1t::RegionalMuonRawDigiTranslator::emtfTrAddrBxMask_ = 0x7FF
static

Definition at line 60 of file RegionalMuonRawDigiTranslator.h.

Referenced by fillRegionalMuonCand().

◆ emtfTrAddrBxShift_

const unsigned l1t::RegionalMuonRawDigiTranslator::emtfTrAddrBxShift_ = 18
static

Definition at line 59 of file RegionalMuonRawDigiTranslator.h.

Referenced by fillRegionalMuonCand().

◆ emtfTrAddrMe1ChMask_

const unsigned l1t::RegionalMuonRawDigiTranslator::emtfTrAddrMe1ChMask_ = 0x7
static

Definition at line 47 of file RegionalMuonRawDigiTranslator.h.

Referenced by fillRegionalMuonCand().

◆ emtfTrAddrMe1ChShift_

const unsigned l1t::RegionalMuonRawDigiTranslator::emtfTrAddrMe1ChShift_ = 1
static

Definition at line 46 of file RegionalMuonRawDigiTranslator.h.

Referenced by fillRegionalMuonCand().

◆ emtfTrAddrMe1SegShift_

const unsigned l1t::RegionalMuonRawDigiTranslator::emtfTrAddrMe1SegShift_ = 0
static

Definition at line 45 of file RegionalMuonRawDigiTranslator.h.

Referenced by fillRegionalMuonCand().

◆ emtfTrAddrMe2ChMask_

const unsigned l1t::RegionalMuonRawDigiTranslator::emtfTrAddrMe2ChMask_ = 0x7
static

Definition at line 50 of file RegionalMuonRawDigiTranslator.h.

Referenced by fillRegionalMuonCand().

◆ emtfTrAddrMe2ChShift_

const unsigned l1t::RegionalMuonRawDigiTranslator::emtfTrAddrMe2ChShift_ = 5
static

Definition at line 49 of file RegionalMuonRawDigiTranslator.h.

Referenced by fillRegionalMuonCand().

◆ emtfTrAddrMe2SegShift_

const unsigned l1t::RegionalMuonRawDigiTranslator::emtfTrAddrMe2SegShift_ = 4
static

Definition at line 48 of file RegionalMuonRawDigiTranslator.h.

Referenced by fillRegionalMuonCand().

◆ emtfTrAddrMe3ChMask_

const unsigned l1t::RegionalMuonRawDigiTranslator::emtfTrAddrMe3ChMask_ = 0x7
static

Definition at line 53 of file RegionalMuonRawDigiTranslator.h.

Referenced by fillRegionalMuonCand().

◆ emtfTrAddrMe3ChShift_

const unsigned l1t::RegionalMuonRawDigiTranslator::emtfTrAddrMe3ChShift_ = 9
static

Definition at line 52 of file RegionalMuonRawDigiTranslator.h.

Referenced by fillRegionalMuonCand().

◆ emtfTrAddrMe3SegShift_

const unsigned l1t::RegionalMuonRawDigiTranslator::emtfTrAddrMe3SegShift_ = 8
static

Definition at line 51 of file RegionalMuonRawDigiTranslator.h.

Referenced by fillRegionalMuonCand().

◆ emtfTrAddrMe4ChMask_

const unsigned l1t::RegionalMuonRawDigiTranslator::emtfTrAddrMe4ChMask_ = 0x7
static

Definition at line 56 of file RegionalMuonRawDigiTranslator.h.

Referenced by fillRegionalMuonCand().

◆ emtfTrAddrMe4ChShift_

const unsigned l1t::RegionalMuonRawDigiTranslator::emtfTrAddrMe4ChShift_ = 13
static

Definition at line 55 of file RegionalMuonRawDigiTranslator.h.

Referenced by fillRegionalMuonCand().

◆ emtfTrAddrMe4SegShift_

const unsigned l1t::RegionalMuonRawDigiTranslator::emtfTrAddrMe4SegShift_ = 12
static

Definition at line 54 of file RegionalMuonRawDigiTranslator.h.

Referenced by fillRegionalMuonCand().

◆ emtfTrAddrTrkNumMask_

const unsigned l1t::RegionalMuonRawDigiTranslator::emtfTrAddrTrkNumMask_ = 0x3
static

Definition at line 58 of file RegionalMuonRawDigiTranslator.h.

Referenced by fillRegionalMuonCand().

◆ emtfTrAddrTrkNumShift_

const unsigned l1t::RegionalMuonRawDigiTranslator::emtfTrAddrTrkNumShift_ = 16
static

Definition at line 57 of file RegionalMuonRawDigiTranslator.h.

Referenced by fillRegionalMuonCand().

◆ etaSignShift_

const unsigned l1t::RegionalMuonRawDigiTranslator::etaSignShift_ = 21
static

Definition at line 20 of file RegionalMuonRawDigiTranslator.h.

Referenced by fillRegionalMuonCand().

◆ hfMask_

const unsigned l1t::RegionalMuonRawDigiTranslator::hfMask_ = 0x1
static

Definition at line 21 of file RegionalMuonRawDigiTranslator.h.

Referenced by fillRegionalMuonCand().

◆ hfShift_

const unsigned l1t::RegionalMuonRawDigiTranslator::hfShift_ = 22
static

Definition at line 22 of file RegionalMuonRawDigiTranslator.h.

Referenced by fillRegionalMuonCand().

◆ omtfTrAddrLayersMask_

const unsigned l1t::RegionalMuonRawDigiTranslator::omtfTrAddrLayersMask_ = 0x3FFFF
static

Definition at line 63 of file RegionalMuonRawDigiTranslator.h.

Referenced by fillRegionalMuonCand().

◆ omtfTrAddrLayersShift_

const unsigned l1t::RegionalMuonRawDigiTranslator::omtfTrAddrLayersShift_ = 0
static

Definition at line 62 of file RegionalMuonRawDigiTranslator.h.

Referenced by fillRegionalMuonCand().

◆ omtfTrAddrWeightMask_

const unsigned l1t::RegionalMuonRawDigiTranslator::omtfTrAddrWeightMask_ = 0x1F
static

Definition at line 65 of file RegionalMuonRawDigiTranslator.h.

Referenced by fillRegionalMuonCand().

◆ omtfTrAddrWeightShift_

const unsigned l1t::RegionalMuonRawDigiTranslator::omtfTrAddrWeightShift_ = 18
static

Definition at line 64 of file RegionalMuonRawDigiTranslator.h.

Referenced by fillRegionalMuonCand().

◆ phiSignShift_

const unsigned l1t::RegionalMuonRawDigiTranslator::phiSignShift_ = 30
static

Definition at line 25 of file RegionalMuonRawDigiTranslator.h.

Referenced by fillRegionalMuonCand().

◆ ptMask_

const unsigned l1t::RegionalMuonRawDigiTranslator::ptMask_ = 0x1FF
static

◆ ptShift_

const unsigned l1t::RegionalMuonRawDigiTranslator::ptShift_ = 0
static

◆ qualMask_

const unsigned l1t::RegionalMuonRawDigiTranslator::qualMask_ = 0xF
static

Definition at line 16 of file RegionalMuonRawDigiTranslator.h.

Referenced by fillRegionalMuonCand().

◆ qualShift_

const unsigned l1t::RegionalMuonRawDigiTranslator::qualShift_ = 9
static

Definition at line 17 of file RegionalMuonRawDigiTranslator.h.

Referenced by fillRegionalMuonCand().

◆ signShift_

const unsigned l1t::RegionalMuonRawDigiTranslator::signShift_ = 0
static

Definition at line 26 of file RegionalMuonRawDigiTranslator.h.

Referenced by fillRegionalMuonCand().

◆ signValidShift_

const unsigned l1t::RegionalMuonRawDigiTranslator::signValidShift_ = 1
static

Definition at line 27 of file RegionalMuonRawDigiTranslator.h.

Referenced by fillRegionalMuonCand().

◆ trackAddressMask_

const unsigned l1t::RegionalMuonRawDigiTranslator::trackAddressMask_ = 0x1FFFFFFF
static

Definition at line 28 of file RegionalMuonRawDigiTranslator.h.

Referenced by fillRegionalMuonCand().

◆ trackAddressShift_

const unsigned l1t::RegionalMuonRawDigiTranslator::trackAddressShift_ = 2
static

Definition at line 29 of file RegionalMuonRawDigiTranslator.h.

Referenced by fillRegionalMuonCand().

l1t::RegionalMuonRawDigiTranslator::emtfTrAddrMe3ChShift_
static const unsigned emtfTrAddrMe3ChShift_
Definition: RegionalMuonRawDigiTranslator.h:52
l1t::RegionalMuonCand::kME1Ch
Definition: RegionalMuonCand.h:32
l1t::RegionalMuonCand::kStat2
Definition: RegionalMuonCand.h:16
l1t::RegionalMuonCand::kLayers
Definition: RegionalMuonCand.h:27
l1t::RegionalMuonCand::kME3Seg
Definition: RegionalMuonCand.h:35
l1t::bmtf
Definition: RegionalMuonCandFwd.h:8
l1t::RegionalMuonRawDigiTranslator::phiSignShift_
static const unsigned phiSignShift_
Definition: RegionalMuonRawDigiTranslator.h:25
l1t::emtf_neg
Definition: RegionalMuonCandFwd.h:8
l1t::RegionalMuonCand::kWheelNum
Definition: RegionalMuonCand.h:14
l1t::RegionalMuonRawDigiTranslator::signValidShift_
static const unsigned signValidShift_
Definition: RegionalMuonRawDigiTranslator.h:27
l1t::RegionalMuonCand::kSegSelStat4
Definition: RegionalMuonCand.h:22
l1t::RegionalMuonRawDigiTranslator::emtfTrAddrMe1SegShift_
static const unsigned emtfTrAddrMe1SegShift_
Definition: RegionalMuonRawDigiTranslator.h:45
l1t::RegionalMuonRawDigiTranslator::omtfTrAddrLayersShift_
static const unsigned omtfTrAddrLayersShift_
Definition: RegionalMuonRawDigiTranslator.h:62
l1t::RegionalMuonCand::kSegSelStat1
Definition: RegionalMuonCand.h:19
l1t::RegionalMuonRawDigiTranslator::emtfTrAddrBxShift_
static const unsigned emtfTrAddrBxShift_
Definition: RegionalMuonRawDigiTranslator.h:59
l1t::RegionalMuonRawDigiTranslator::bmtfTrAddrStat4Shift_
static const unsigned bmtfTrAddrStat4Shift_
Definition: RegionalMuonRawDigiTranslator.h:43
l1t::omtf_pos
Definition: RegionalMuonCandFwd.h:8
l1t::RegionalMuonCand::kME2Ch
Definition: RegionalMuonCand.h:34
amptDefaultParameters_cff.mu
mu
Definition: amptDefaultParameters_cff.py:16
l1t::RegionalMuonCand::kBX
Definition: RegionalMuonCand.h:40
l1t::RegionalMuonRawDigiTranslator::absEtaMask_
static const unsigned absEtaMask_
Definition: RegionalMuonRawDigiTranslator.h:18
l1t::RegionalMuonCand::kME1Seg
Definition: RegionalMuonCand.h:31
l1t::RegionalMuonCand::kStat4
Definition: RegionalMuonCand.h:18
l1t::RegionalMuonCand::kStat3
Definition: RegionalMuonCand.h:17
l1t::RegionalMuonRawDigiTranslator::bmtfTrAddrStat2Mask_
static const unsigned bmtfTrAddrStat2Mask_
Definition: RegionalMuonRawDigiTranslator.h:38
l1t::RegionalMuonRawDigiTranslator::emtfTrAddrTrkNumShift_
static const unsigned emtfTrAddrTrkNumShift_
Definition: RegionalMuonRawDigiTranslator.h:57
l1t::RegionalMuonRawDigiTranslator::emtfTrAddrTrkNumMask_
static const unsigned emtfTrAddrTrkNumMask_
Definition: RegionalMuonRawDigiTranslator.h:58
l1t::RegionalMuonCand::kNumOmtfSubAddr
Definition: RegionalMuonCand.h:27
l1t::RegionalMuonRawDigiTranslator::absPhiShift_
static const unsigned absPhiShift_
Definition: RegionalMuonRawDigiTranslator.h:24
l1t::RegionalMuonRawDigiTranslator::emtfTrAddrMe4ChShift_
static const unsigned emtfTrAddrMe4ChShift_
Definition: RegionalMuonRawDigiTranslator.h:55
l1t::RegionalMuonRawDigiTranslator::bmtfTrAddrDetSideShift_
static const unsigned bmtfTrAddrDetSideShift_
Definition: RegionalMuonRawDigiTranslator.h:33
l1t::RegionalMuonRawDigiTranslator::bmtfTrAddrWheelMask_
static const unsigned bmtfTrAddrWheelMask_
Definition: RegionalMuonRawDigiTranslator.h:34
testProducerWithPsetDescEmpty_cfi.x1
x1
Definition: testProducerWithPsetDescEmpty_cfi.py:33
l1t::RegionalMuonRawDigiTranslator::bmtfTrAddrSegSelMask_
static const unsigned bmtfTrAddrSegSelMask_
Definition: RegionalMuonRawDigiTranslator.h:31
l1t::RegionalMuonRawDigiTranslator::absEtaShift_
static const unsigned absEtaShift_
Definition: RegionalMuonRawDigiTranslator.h:19
l1t::RegionalMuonRawDigiTranslator::bmtfTrAddrWheelShift_
static const unsigned bmtfTrAddrWheelShift_
Definition: RegionalMuonRawDigiTranslator.h:35
l1t::RegionalMuonCand::kZero
Definition: RegionalMuonCand.h:27
l1t::RegionalMuonRawDigiTranslator::emtfTrAddrMe1ChMask_
static const unsigned emtfTrAddrMe1ChMask_
Definition: RegionalMuonRawDigiTranslator.h:47
l1t::RegionalMuonCand::kStat1
Definition: RegionalMuonCand.h:15
l1t::RegionalMuonRawDigiTranslator::bmtfTrAddrStat3Shift_
static const unsigned bmtfTrAddrStat3Shift_
Definition: RegionalMuonRawDigiTranslator.h:41
l1t::RegionalMuonRawDigiTranslator::ptMask_
static const unsigned ptMask_
Definition: RegionalMuonRawDigiTranslator.h:14
edm::LogWarning
Definition: MessageLogger.h:141
l1t::RegionalMuonRawDigiTranslator::omtfTrAddrWeightMask_
static const unsigned omtfTrAddrWeightMask_
Definition: RegionalMuonRawDigiTranslator.h:65
l1t::RegionalMuonRawDigiTranslator::qualShift_
static const unsigned qualShift_
Definition: RegionalMuonRawDigiTranslator.h:17
ValidateTausOnZEEFastSim_cff.proc
proc
Definition: ValidateTausOnZEEFastSim_cff.py:6
l1t::RegionalMuonRawDigiTranslator::bmtfTrAddrStat1Shift_
static const unsigned bmtfTrAddrStat1Shift_
Definition: RegionalMuonRawDigiTranslator.h:37
l1t::RegionalMuonRawDigiTranslator::fillRegionalMuonCand
static void fillRegionalMuonCand(RegionalMuonCand &, uint32_t, uint32_t, int, tftype)
Definition: RegionalMuonRawDigiTranslator.cc:4
l1t::RegionalMuonRawDigiTranslator::bmtfTrAddrStat1Mask_
static const unsigned bmtfTrAddrStat1Mask_
Definition: RegionalMuonRawDigiTranslator.h:36
l1t::RegionalMuonRawDigiTranslator::emtfTrAddrMe3ChMask_
static const unsigned emtfTrAddrMe3ChMask_
Definition: RegionalMuonRawDigiTranslator.h:53
l1t::RegionalMuonRawDigiTranslator::emtfTrAddrMe2SegShift_
static const unsigned emtfTrAddrMe2SegShift_
Definition: RegionalMuonRawDigiTranslator.h:48
l1t::RegionalMuonCand::kNumBmtfSubAddr
Definition: RegionalMuonCand.h:23
l1t::RegionalMuonRawDigiTranslator::emtfTrAddrMe2ChMask_
static const unsigned emtfTrAddrMe2ChMask_
Definition: RegionalMuonRawDigiTranslator.h:50
l1t::RegionalMuonRawDigiTranslator::qualMask_
static const unsigned qualMask_
Definition: RegionalMuonRawDigiTranslator.h:16
l1t::RegionalMuonCand::kSegSelStat2
Definition: RegionalMuonCand.h:20
l1t::RegionalMuonCand::kSegSelStat3
Definition: RegionalMuonCand.h:21
l1t::RegionalMuonCand::kWheelSide
Definition: RegionalMuonCand.h:13
l1t::RegionalMuonRawDigiTranslator::bmtfTrAddrStat2Shift_
static const unsigned bmtfTrAddrStat2Shift_
Definition: RegionalMuonRawDigiTranslator.h:39
l1t::RegionalMuonCand::kME4Seg
Definition: RegionalMuonCand.h:37
l1t::RegionalMuonRawDigiTranslator::ptShift_
static const unsigned ptShift_
Definition: RegionalMuonRawDigiTranslator.h:15
l1t::RegionalMuonRawDigiTranslator::hfMask_
static const unsigned hfMask_
Definition: RegionalMuonRawDigiTranslator.h:21
l1t::RegionalMuonCand::kWeight
Definition: RegionalMuonCand.h:27
l1t::RegionalMuonCand::kTrkNum
Definition: RegionalMuonCand.h:39
l1t::RegionalMuonRawDigiTranslator::emtfTrAddrBxMask_
static const unsigned emtfTrAddrBxMask_
Definition: RegionalMuonRawDigiTranslator.h:60
l1t::RegionalMuonRawDigiTranslator::hfShift_
static const unsigned hfShift_
Definition: RegionalMuonRawDigiTranslator.h:22
l1t::RegionalMuonRawDigiTranslator::generatePackedDataWords
static void generatePackedDataWords(const RegionalMuonCand &, uint32_t &, uint32_t &)
Definition: RegionalMuonRawDigiTranslator.cc:88
l1t::RegionalMuonRawDigiTranslator::bmtfTrAddrStat3Mask_
static const unsigned bmtfTrAddrStat3Mask_
Definition: RegionalMuonRawDigiTranslator.h:40
l1t::emtf_pos
Definition: RegionalMuonCandFwd.h:8
l1t::RegionalMuonRawDigiTranslator::emtfTrAddrMe4SegShift_
static const unsigned emtfTrAddrMe4SegShift_
Definition: RegionalMuonRawDigiTranslator.h:54
l1t::RegionalMuonRawDigiTranslator::trackAddressShift_
static const unsigned trackAddressShift_
Definition: RegionalMuonRawDigiTranslator.h:29
l1t::RegionalMuonRawDigiTranslator::emtfTrAddrMe2ChShift_
static const unsigned emtfTrAddrMe2ChShift_
Definition: RegionalMuonRawDigiTranslator.h:49
l1t::RegionalMuonCand::kNumEmtfSubAddr
Definition: RegionalMuonCand.h:41
l1t::RegionalMuonRawDigiTranslator::omtfTrAddrLayersMask_
static const unsigned omtfTrAddrLayersMask_
Definition: RegionalMuonRawDigiTranslator.h:63
l1t::RegionalMuonRawDigiTranslator::emtfTrAddrMe4ChMask_
static const unsigned emtfTrAddrMe4ChMask_
Definition: RegionalMuonRawDigiTranslator.h:56
l1t::RegionalMuonRawDigiTranslator::signShift_
static const unsigned signShift_
Definition: RegionalMuonRawDigiTranslator.h:26
l1t::RegionalMuonRawDigiTranslator::emtfTrAddrMe1ChShift_
static const unsigned emtfTrAddrMe1ChShift_
Definition: RegionalMuonRawDigiTranslator.h:46
l1t::RegionalMuonRawDigiTranslator::omtfTrAddrWeightShift_
static const unsigned omtfTrAddrWeightShift_
Definition: RegionalMuonRawDigiTranslator.h:64
cond::uint64_t
unsigned long long uint64_t
Definition: Time.h:13
l1t::RegionalMuonCand::kME2Seg
Definition: RegionalMuonCand.h:33
l1t::RegionalMuonCand::kME3Ch
Definition: RegionalMuonCand.h:36
l1t::RegionalMuonRawDigiTranslator::absPhiMask_
static const unsigned absPhiMask_
Definition: RegionalMuonRawDigiTranslator.h:23
l1t::omtf_neg
Definition: RegionalMuonCandFwd.h:8
l1t::RegionalMuonRawDigiTranslator::trackAddressMask_
static const unsigned trackAddressMask_
Definition: RegionalMuonRawDigiTranslator.h:28
l1t::RegionalMuonRawDigiTranslator::bmtfTrAddrStat4Mask_
static const unsigned bmtfTrAddrStat4Mask_
Definition: RegionalMuonRawDigiTranslator.h:42
l1t::RegionalMuonRawDigiTranslator::bmtfTrAddrSegSelShift_
static const unsigned bmtfTrAddrSegSelShift_
Definition: RegionalMuonRawDigiTranslator.h:32
l1t::RegionalMuonRawDigiTranslator::emtfTrAddrMe3SegShift_
static const unsigned emtfTrAddrMe3SegShift_
Definition: RegionalMuonRawDigiTranslator.h:51
l1t::RegionalMuonCand::kME4Ch
Definition: RegionalMuonCand.h:38
l1t::RegionalMuonRawDigiTranslator::etaSignShift_
static const unsigned etaSignShift_
Definition: RegionalMuonRawDigiTranslator.h:20