#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_ = 13 |
static constexpr unsigned | absEtaMu2Shift_ = 22 |
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_ = 21 |
static constexpr unsigned | etaMu2SignShift_ = 30 |
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, bool wasSpecialMWGR=false) |
static void | fillMuonStableQuantities (Muon &mu, uint32_t raw_data_00_31, uint32_t raw_data_32_63) |
static void | generatePackedDataWordsRun3 (const Muon &mu, int abs_eta, int abs_eta_at_vtx, uint32_t &raw_data_spare, uint32_t &raw_data_00_31, uint32_t &raw_data_32_63, int muInBx, bool wasSpecialMWGR=false) |
Definition at line 7 of file MuonRawDigiTranslator.h.
|
static |
Definition at line 266 of file MuonRawDigiTranslator.cc.
|
static |
Definition at line 36 of file MuonRawDigiTranslator.cc.
References l1t::Muon::setHwCharge().
Referenced by l1t::stage2::IntermediateMuonUnpacker::unpackBx().
|
staticprivate |
Definition at line 170 of file MuonRawDigiTranslator.cc.
References l1t::Muon::setHwDXY(), and l1t::Muon::setHwPtUnconstrained().
|
static |
Definition at line 5 of file MuonRawDigiTranslator.cc.
References chargeShift_, fillMuonCoordinates2016(), fillMuonCoordinatesFrom2017(), fillMuonQuantitiesRun3(), fillMuonStableQuantities(), and l1t::Muon::setHwCharge().
Referenced by l1t::stage2::MuonUnpacker::unpackBx().
|
static |
Definition at line 83 of file MuonRawDigiTranslator.cc.
|
staticprivate |
Definition at line 89 of file MuonRawDigiTranslator.cc.
References l1t::L1Candidate::hwEta(), l1t::L1Candidate::hwPhi(), l1t::Muon::setHwDEtaExtra(), l1t::Muon::setHwDPhiExtra(), l1t::L1Candidate::setHwEta(), l1t::Muon::setHwEtaAtVtx(), l1t::L1Candidate::setHwPhi(), and l1t::Muon::setHwPhiAtVtx().
Referenced by fillMuon().
|
staticprivate |
Definition at line 102 of file MuonRawDigiTranslator.cc.
References l1t::Muon::hwCharge(), l1t::L1Candidate::hwEta(), l1t::Muon::hwEtaAtVtx(), l1t::L1Candidate::hwPhi(), l1t::Muon::hwPhiAtVtx(), l1t::Muon::setHwDEtaExtra(), l1t::Muon::setHwDPhiExtra(), l1t::L1Candidate::setHwEta(), l1t::Muon::setHwEtaAtVtx(), l1t::L1Candidate::setHwPhi(), and l1t::Muon::setHwPhiAtVtx().
Referenced by fillMuon().
|
staticprivate |
Definition at line 123 of file MuonRawDigiTranslator.cc.
References l1t::Muon::hwCharge(), l1t::L1Candidate::hwEta(), l1t::Muon::hwEtaAtVtx(), l1t::L1Candidate::hwPhi(), l1t::Muon::hwPhiAtVtx(), l1t::Muon::setHwDEtaExtra(), l1t::Muon::setHwDPhiExtra(), l1t::Muon::setHwDXY(), l1t::L1Candidate::setHwEta(), l1t::Muon::setHwEtaAtVtx(), l1t::L1Candidate::setHwPhi(), l1t::Muon::setHwPhiAtVtx(), and l1t::Muon::setHwPtUnconstrained().
Referenced by fillMuon().
|
staticprivate |
Definition at line 55 of file MuonRawDigiTranslator.cc.
References reco::LeafCandidate::eta(), l1t::Muon::hwCharge(), l1t::Muon::hwChargeValid(), l1t::L1Candidate::hwEta(), l1t::Muon::hwEtaAtVtx(), l1t::L1Candidate::hwPhi(), l1t::Muon::hwPhiAtVtx(), l1t::L1Candidate::hwPt(), l1t::Muon::hwPtUnconstrained(), reco::LeafCandidate::phi(), reco::LeafCandidate::setCharge(), l1t::Muon::setEtaAtVtx(), l1t::Muon::setHwChargeValid(), l1t::L1Candidate::setHwIso(), l1t::L1Candidate::setHwPt(), l1t::L1Candidate::setHwQual(), reco::LeafCandidate::setP4(), l1t::Muon::setPhiAtVtx(), l1t::Muon::setPtUnconstrained(), and l1t::Muon::setTfMuonIndex().
Referenced by fillMuon().
|
static |
Definition at line 257 of file MuonRawDigiTranslator.cc.
|
static |
Definition at line 180 of file MuonRawDigiTranslator.cc.
References l1t::Muon::hwCharge(), l1t::Muon::hwChargeValid(), l1t::L1Candidate::hwEta(), l1t::Muon::hwEtaAtVtx(), l1t::L1Candidate::hwIso(), l1t::L1Candidate::hwPhi(), l1t::Muon::hwPhiAtVtx(), l1t::L1Candidate::hwPt(), l1t::L1Candidate::hwQual(), and l1t::Muon::tfMuonIndex().
Referenced by l1t::stage2::MuonPacker::packBx().
|
staticprivate |
Definition at line 223 of file MuonRawDigiTranslator.cc.
References l1t::Muon::hwCharge(), l1t::Muon::hwChargeValid(), l1t::Muon::hwDXY(), l1t::L1Candidate::hwEta(), l1t::Muon::hwEtaAtVtx(), l1t::L1Candidate::hwIso(), l1t::L1Candidate::hwPhi(), l1t::Muon::hwPhiAtVtx(), l1t::L1Candidate::hwPt(), l1t::Muon::hwPtUnconstrained(), l1t::L1Candidate::hwQual(), and l1t::Muon::tfMuonIndex().
|
static |
Definition at line 35 of file MuonRawDigiTranslator.h.
|
static |
Definition at line 33 of file MuonRawDigiTranslator.h.
|
static |
Definition at line 52 of file MuonRawDigiTranslator.h.
|
static |
Definition at line 54 of file MuonRawDigiTranslator.h.
|
static |
Definition at line 34 of file MuonRawDigiTranslator.h.
|
static |
Definition at line 41 of file MuonRawDigiTranslator.h.
Referenced by fillMuon().
|
static |
Definition at line 42 of file MuonRawDigiTranslator.h.
|
static |
Definition at line 47 of file MuonRawDigiTranslator.h.
|
static |
Definition at line 48 of file MuonRawDigiTranslator.h.
|
static |
Definition at line 37 of file MuonRawDigiTranslator.h.
|
static |
Definition at line 53 of file MuonRawDigiTranslator.h.
|
static |
Definition at line 55 of file MuonRawDigiTranslator.h.
|
static |
Definition at line 36 of file MuonRawDigiTranslator.h.
|
static |
Definition at line 45 of file MuonRawDigiTranslator.h.
|
static |
Definition at line 46 of file MuonRawDigiTranslator.h.
|
static |
Definition at line 40 of file MuonRawDigiTranslator.h.
|
static |
Definition at line 38 of file MuonRawDigiTranslator.h.
|
static |
Definition at line 39 of file MuonRawDigiTranslator.h.
|
static |
Definition at line 29 of file MuonRawDigiTranslator.h.
Referenced by l1t::stage2::IntermediateMuonUnpacker::unpackBx(), and l1t::stage2::MuonUnpacker::unpackBx().
|
static |
Definition at line 30 of file MuonRawDigiTranslator.h.
Referenced by l1t::stage2::IntermediateMuonUnpacker::unpackBx(), and l1t::stage2::MuonUnpacker::unpackBx().
|
static |
Definition at line 51 of file MuonRawDigiTranslator.h.
|
static |
Definition at line 49 of file MuonRawDigiTranslator.h.
|
static |
Definition at line 50 of file MuonRawDigiTranslator.h.
|
static |
Definition at line 31 of file MuonRawDigiTranslator.h.
|
static |
Definition at line 32 of file MuonRawDigiTranslator.h.
|
static |
Definition at line 43 of file MuonRawDigiTranslator.h.
|
static |
Definition at line 44 of file MuonRawDigiTranslator.h.