ATLAS Offline Software
Loading...
Searching...
No Matches
MuCTPI_Bits.h File Reference
#include <cstdint>
Include dependency graph for MuCTPI_Bits.h:

Go to the source code of this file.

Namespaces

namespace  LVL1
 eFexTowerBuilder creates xAOD::eFexTowerContainer from supercells (LATOME) and triggerTowers (TREX) inputs.
namespace  LVL1::MuCTPIBits

Variables

static constexpr uint32_t LVL1::MuCTPIBits::MULT_VAL = 7
 Binary 111 representing the maximal multiplicity value for a given threshold.
static constexpr uint32_t LVL1::MuCTPIBits::MULT_BITS = 3
 Number of multiplicity bits reserved per threshold.
static constexpr uint32_t LVL1::MuCTPIBits::RUN3_MULT_THRESH_NUM = 32
 Defining the number of pT thresholds in the system.
static constexpr uint32_t LVL1::MuCTPIBits::MULT_THRESH_NUM = 6
static constexpr uint32_t LVL1::MuCTPIBits::RUN3_MULT_BCID_POS = 26
 Telling that the 3-bit BCID comes at "position 7" in the multiplicity word.
static constexpr uint32_t LVL1::MuCTPIBits::MULT_BCID_POS = 7
static constexpr uint32_t LVL1::MuCTPIBits::CAND_OVERFLOW_MASK = 0x1
 Mask for the bit showing if more than two muon candidates were in the trigger sector.
static constexpr uint32_t LVL1::MuCTPIBits::RUN3_CAND_OVERFLOW_SHIFT = 17
 Position of the candidate overflow mask.
static constexpr uint32_t LVL1::MuCTPIBits::CAND_OVERFLOW_SHIFT = 0
static constexpr uint32_t LVL1::MuCTPIBits::ROI_OVERFLOW_MASK = 0x1
 Mask for the bit showing if more than one muon candidates were in the sector RoI.
static constexpr uint32_t LVL1::MuCTPIBits::RUN3_ROI_OVERFLOW_SHIFT = 12
 Position of the RoI overflow mask.
static constexpr uint32_t LVL1::MuCTPIBits::ROI_OVERFLOW_SHIFT = 1
static constexpr uint32_t LVL1::MuCTPIBits::ROI_MASK = 0xff
 Mask for the full potential ROI word from the data words.
static constexpr uint32_t LVL1::MuCTPIBits::BARREL_ROI_MASK = 0x1f
 new in v2
static constexpr uint32_t LVL1::MuCTPIBits::ENDCAP_ROI_MASK = 0xff
 Mask for extracting the RoI for endcap candidates from the data words.
static constexpr uint32_t LVL1::MuCTPIBits::FORWARD_ROI_MASK = 0x3f
 Mask for extracting the RoI for forward candidates from the data words.
static constexpr uint32_t LVL1::MuCTPIBits::RUN3_ROI_SHIFT = 0
 Position of the RoI bits in the data word.
static constexpr uint32_t LVL1::MuCTPIBits::ROI_SHIFT = 2
static constexpr uint32_t LVL1::MuCTPIBits::BARREL_OL_MASK = 0x3
 Mask for extracting the overlap bits for barrel candidates from the data words.
static constexpr uint32_t LVL1::MuCTPIBits::BARREL_PHI_OL_MASK = 0x1
static constexpr uint32_t LVL1::MuCTPIBits::BARREL_ETA_OL_MASK = 0x2
static constexpr uint32_t LVL1::MuCTPIBits::BARREL_OL_SHIFT = 9
 Position of the overlap bits in barrel data words.
static constexpr uint32_t LVL1::MuCTPIBits::ENDCAP_OL_MASK = 0x1
 Mask for extracting the overlap bits for endcap candidates from the data words.
static constexpr uint32_t LVL1::MuCTPIBits::ENDCAP_OL_SHIFT = 10
 Position of the overlap bits in endcap data words.
static constexpr uint32_t LVL1::MuCTPIBits::RUN3_CAND_PT_MASK = 0xf
 Mask for extracting the pT threshold passed by the candidate from the data word.
static constexpr uint32_t LVL1::MuCTPIBits::CAND_PT_MASK = 0x7
static constexpr uint32_t LVL1::MuCTPIBits::RUN3_CAND_PT_SHIFT = 8
 Position of the pT threshold bits in the data words.
static constexpr uint32_t LVL1::MuCTPIBits::CAND_PT_SHIFT = 11
static constexpr uint32_t LVL1::MuCTPIBits::CAND_BCID_MASK = 0x7
 gone in v2
static constexpr uint32_t LVL1::MuCTPIBits::CAND_BCID_SHIFT = 14
 Position of the BCID bits in the data words.
static constexpr uint32_t LVL1::MuCTPIBits::RUN3_CAND_SECTOR_ADDRESS_MASK = 0xff
 Mask for extracting the address of the muon candidate from the data word This is the mask and shift for the full sector address, including the hemisphere as the least significant bit.
static constexpr uint32_t LVL1::MuCTPIBits::CAND_SECTOR_ADDRESS_MASK = 0xff
static constexpr uint32_t LVL1::MuCTPIBits::SECTOR_HEMISPHERE_MASK = 0x1
 Mask for the bit showing which hemisphere the candidate came from.(1: positive; 0: negative)
static constexpr uint32_t LVL1::MuCTPIBits::RUN3_CAND_SECTOR_ADDRESS_SHIFT = 21
 Position of the muon candidate's address in the data word.
static constexpr uint32_t LVL1::MuCTPIBits::CAND_SECTOR_ADDRESS_SHIFT = 14
static constexpr uint32_t LVL1::MuCTPIBits::ENDCAP_ADDRESS_MASK = 0x80
 Bit in the candidate's address turned on for endcap candidates.
static constexpr uint32_t LVL1::MuCTPIBits::FORWARD_ADDRESS_MASK = 0x40
 Bit in the candidate's address turned on for forward candidates.
static constexpr uint32_t LVL1::MuCTPIBits::SUBSYS_ADDRESS_MASK = 0xc0
 Mask for both forward and endcap bits.
static constexpr uint32_t LVL1::MuCTPIBits::RUN3_SUBSYS_ADDRESS_SHIFT = 27
 Position in the data word of the subsystem bits.
static constexpr uint32_t LVL1::MuCTPIBits::SUBSYS_ADDRESS_SHIFT = 20
static constexpr uint32_t LVL1::MuCTPIBits::RUN3_SUBSYS_ADDRESS_BAFW_SHIFT = 27
 Run-3 subsystem identifier bits location and values.
static constexpr uint32_t LVL1::MuCTPIBits::RUN3_SUBSYS_ADDRESS_BAFW_MASK = 0b11
static constexpr uint32_t LVL1::MuCTPIBits::RUN3_SUBSYS_ADDRESS_BA_VAL = 0b00
static constexpr uint32_t LVL1::MuCTPIBits::RUN3_SUBSYS_ADDRESS_FW_VAL = 0b01
static constexpr uint32_t LVL1::MuCTPIBits::RUN3_SUBSYS_ADDRESS_EC_SHIFT = 28
static constexpr uint32_t LVL1::MuCTPIBits::RUN3_SUBSYS_ADDRESS_EC_MASK = 0b1
static constexpr uint32_t LVL1::MuCTPIBits::RUN3_SUBSYS_ADDRESS_EC_VAL = 0b1
static constexpr uint32_t LVL1::MuCTPIBits::RUN3_SUBSYS_HEMISPHERE_SHIFT = 21
static constexpr uint32_t LVL1::MuCTPIBits::RUN3_SUBSYS_HEMISPHERE_MASK = 0b1
static constexpr uint32_t LVL1::MuCTPIBits::ENDCAP_SECTORID_MASK = 0x3f
 Mask for extracting the sector ID for endcap candidates from the data word.
static constexpr uint32_t LVL1::MuCTPIBits::FORWARD_SECTORID_MASK = 0x1f
 Mask for extracting the sector ID for forward candidates from the data word.
static constexpr uint32_t LVL1::MuCTPIBits::BARREL_SECTORID_MASK = 0x1f
 Mask for extracting the sector ID for barrel candidates from the data word.
static constexpr uint32_t LVL1::MuCTPIBits::RUN3_CAND_SECTORID_MASK = 0x7f
 Position of the sector ID itself.
static constexpr uint32_t LVL1::MuCTPIBits::RUN3_CAND_SECTORID_SHIFT = 22
static constexpr uint32_t LVL1::MuCTPIBits::CAND_SECTORID_SHIFT = 15
static constexpr uint32_t LVL1::MuCTPIBits::CAND_HIGHEST_PT_MASK = 0x1
 gone in v2 Mask for extracting the bit from the data word showing whether the candidate had the highest pT in the sector
static constexpr uint32_t LVL1::MuCTPIBits::CAND_HIGHEST_PT_SHIFT = 22
 Position of the "highest p<sub>T</sub>" bit.
static constexpr uint32_t LVL1::MuCTPIBits::CAND_SENT_ROI_MASK = 0x1
 gone in v2
static constexpr uint32_t LVL1::MuCTPIBits::CAND_SENT_ROI_SHIFT = 26
 Position of the "candidate sent to RoIB" bit.
static constexpr uint32_t LVL1::MuCTPIBits::MULT_WORD_FLAG_SHIFT = 29
 Position of the bit turned on for the multiplicity words that distinguishes them from the data words.
static constexpr uint32_t LVL1::MuCTPIBits::RUN3_CAND_TGC_CHARGE_SIGN_SHIFT = 12
 Position of the bit specifying the candidate's sign.
static constexpr uint32_t LVL1::MuCTPIBits::CAND_TGC_CHARGE_SIGN_SHIFT = 27
static constexpr uint32_t LVL1::MuCTPIBits::RUN3_CAND_TGC_BW2OR3_SHIFT = 13
 Position of the bit specifying 3-station coincidence from the big wheel.
static constexpr uint32_t LVL1::MuCTPIBits::RUN3_CAND_TGC_INNERCOIN_SHIFT = 14
 Position of the bit specifying coincidence with inner detectors.
static constexpr uint32_t LVL1::MuCTPIBits::RUN3_CAND_TGC_GOODMF_SHIFT = 15
 Position of the bit specifying if RoI is in a good b-field region (1=good, 0=bad)
static constexpr uint32_t LVL1::MuCTPIBits::RUN3_CAND_VETO_SHIFT = 16
 Position of the bit specifying if a candidate was vetoed in the multiplicity sum.
static constexpr uint32_t LVL1::MuCTPIBits::CAND_VETO_SHIFT = 28
static constexpr uint32_t LVL1::MuCTPIBits::RUN3_TIMESLICE_MULT_WORD_ID_SHIFT = 30
static constexpr uint32_t LVL1::MuCTPIBits::RUN3_TIMESLICE_MULT_WORD_ID_MASK = 0b11
static constexpr uint32_t LVL1::MuCTPIBits::RUN3_TIMESLICE_MULT_WORD_ID_VAL = 0b10
static constexpr uint32_t LVL1::MuCTPIBits::RUN3_TIMESLICE_MULT_WORD_NUM_SHIFT = 28
static constexpr uint32_t LVL1::MuCTPIBits::RUN3_TIMESLICE_MULT_WORD_NUM_MASK = 0b11
static constexpr uint32_t LVL1::MuCTPIBits::RUN3_TIMESLICE_WORD_NUM_VAL = 0b00
static constexpr uint32_t LVL1::MuCTPIBits::RUN3_TIMESLICE_BCID_SHIFT = 16
static constexpr uint32_t LVL1::MuCTPIBits::RUN3_TIMESLICE_BCID_MASK = 0xfff
static constexpr uint32_t LVL1::MuCTPIBits::RUN3_TIMESLICE_NTOB_SHIFT = 10
static constexpr uint32_t LVL1::MuCTPIBits::RUN3_TIMESLICE_NTOB_MASK = 0x3f
static constexpr uint32_t LVL1::MuCTPIBits::RUN3_TIMESLICE_NCAND_SHIFT = 0
static constexpr uint32_t LVL1::MuCTPIBits::RUN3_TIMESLICE_NCAND_MASK = 0x3ff
static constexpr uint32_t LVL1::MuCTPIBits::RUN3_NSW_MONITORING_TRIGGER_SHIFT = 0x8
static constexpr uint32_t LVL1::MuCTPIBits::RUN3_NSW_MONITORING_TRIGGER_MASK = 0b1
static constexpr uint32_t LVL1::MuCTPIBits::RUN3_MULTIPLICITY_OVERFLOW_SHIFT = 0x9
static constexpr uint32_t LVL1::MuCTPIBits::RUN3_MULTIPLICITY_OVERFLOW_MASK = 0b1
static constexpr uint32_t LVL1::MuCTPIBits::RUN3_MULTIPLICITY_TRIGBITS_SHIFT = 0xa
static constexpr uint32_t LVL1::MuCTPIBits::RUN3_MULTIPLICITY_TRIGBITS_MASK = 0x3ffff
static constexpr uint32_t LVL1::MuCTPIBits::RUN3_MULTIPLICITY_ENC_PART1_SHIFT = 0
static constexpr uint32_t LVL1::MuCTPIBits::RUN3_MULTIPLICITY_ENC_PART1_MASK = 0xffffff
static constexpr uint32_t LVL1::MuCTPIBits::RUN3_MULTIPLICITY_ENC_PART2_SHIFT = 28
static constexpr uint32_t LVL1::MuCTPIBits::RUN3_MULTIPLICITY_ENC_PART2_MASK = 0xffffff
static constexpr uint32_t LVL1::MuCTPIBits::RUN3_MULTIPLICITY_ENC_PART3_SHIFT = 56
static constexpr uint32_t LVL1::MuCTPIBits::RUN3_MULTIPLICITY_ENC_PART3_MASK = 0xff
static constexpr uint32_t LVL1::MuCTPIBits::RUN3_MULTIPLICITY_PART1_SHIFT = 0
static constexpr uint32_t LVL1::MuCTPIBits::RUN3_MULTIPLICITY_PART1_MASK = 0xfffffff
static constexpr uint32_t LVL1::MuCTPIBits::RUN3_MULTIPLICITY_PART2_SHIFT = 0
static constexpr uint32_t LVL1::MuCTPIBits::RUN3_MULTIPLICITY_PART2_MASK = 0xfffffff
static constexpr uint32_t LVL1::MuCTPIBits::RUN3_MULTIPLICITY_PART3_SHIFT = 0
static constexpr uint32_t LVL1::MuCTPIBits::RUN3_MULTIPLICITY_PART3_MASK = 0xff
static constexpr uint32_t LVL1::MuCTPIBits::RUN3_CAND_WORD_ID_SHIFT = 31
static constexpr uint32_t LVL1::MuCTPIBits::RUN3_CAND_WORD_ID_MASK = 0b1
static constexpr uint32_t LVL1::MuCTPIBits::RUN3_CAND_WORD_ID_VAL = 0b0
static constexpr uint32_t LVL1::MuCTPIBits::RUN3_CAND_WORD_SECTORERRORFLAG_SHIFT = 29
static constexpr uint32_t LVL1::MuCTPIBits::RUN3_CAND_WORD_SECTORERRORFLAG_MASK = 0x1
static constexpr uint32_t LVL1::MuCTPIBits::RUN3_CAND_WORD_SLID_SHIFT = 21
static constexpr uint32_t LVL1::MuCTPIBits::RUN3_CAND_WORD_SLID_MASK = 0xff
static constexpr uint32_t LVL1::MuCTPIBits::RUN3_CAND_WORD_SECTORFLAGS_GTN_SHIFT = 17
static constexpr uint32_t LVL1::MuCTPIBits::RUN3_CAND_WORD_SECTORFLAGS_GTN_MASK = 0x1
static constexpr uint32_t LVL1::MuCTPIBits::RUN3_CAND_WORD_VETO_SHIFT = 16
static constexpr uint32_t LVL1::MuCTPIBits::RUN3_CAND_WORD_VETO_MASK = 0x1
static constexpr uint32_t LVL1::MuCTPIBits::RUN3_CAND_WORD_CANDFLAGS_SHIFT = 12
static constexpr uint32_t LVL1::MuCTPIBits::RUN3_CAND_WORD_CANDFLAGS_MASK = 0xf
static constexpr uint32_t LVL1::MuCTPIBits::RUN3_CAND_WORD_CANDFLAGS_ECFW_R_SHIFT = 2
static constexpr uint32_t LVL1::MuCTPIBits::RUN3_CAND_WORD_CANDFLAGS_EC_R_MASK = 0x3f
static constexpr uint32_t LVL1::MuCTPIBits::RUN3_CAND_WORD_CANDFLAGS_FW_R_MASK = 0xf
static constexpr uint32_t LVL1::MuCTPIBits::RUN3_CAND_WORD_CANDFLAGS_ECFW_PHI_SHIFT = 0
static constexpr uint32_t LVL1::MuCTPIBits::RUN3_CAND_WORD_CANDFLAGS_ECFW_PHI_MASK = 0x3
static constexpr uint32_t LVL1::MuCTPIBits::RUN3_CAND_WORD_CANDFLAGS_BA_PHIOVERLAP_SHIFT = 13
static constexpr uint32_t LVL1::MuCTPIBits::RUN3_CAND_WORD_CANDFLAGS_BA_PHIOVERLAP_MASK = 0x1
static constexpr uint32_t LVL1::MuCTPIBits::RUN3_CAND_WORD_CANDFLAGS_NSWMON_SHIFT = 18
static constexpr uint32_t LVL1::MuCTPIBits::RUN3_CAND_WORD_CANDFLAGS_NSWMON_MASK = 0x1
static constexpr uint32_t LVL1::MuCTPIBits::RUN3_CAND_WORD_CANDFLAGS_BA_GT1ROI_SHIFT = 12
static constexpr uint32_t LVL1::MuCTPIBits::RUN3_CAND_WORD_CANDFLAGS_BA_GT1ROI_MASK = 0x1
static constexpr uint32_t LVL1::MuCTPIBits::RUN3_CAND_WORD_CANDFLAGS_ECFW_GOODMF_SHIFT = 15
static constexpr uint32_t LVL1::MuCTPIBits::RUN3_CAND_WORD_CANDFLAGS_ECFW_GOODMF_MASK = 0x1
static constexpr uint32_t LVL1::MuCTPIBits::RUN3_CAND_WORD_CANDFLAGS_ECFW_INNERCOIN_SHIFT = 14
static constexpr uint32_t LVL1::MuCTPIBits::RUN3_CAND_WORD_CANDFLAGS_ECFW_INNERCOIN_MASK = 0x1
static constexpr uint32_t LVL1::MuCTPIBits::RUN3_CAND_WORD_CANDFLAGS_ECFW_BW23_SHIFT = 13
static constexpr uint32_t LVL1::MuCTPIBits::RUN3_CAND_WORD_CANDFLAGS_ECFW_BW23_MASK = 0x1
static constexpr uint32_t LVL1::MuCTPIBits::RUN3_CAND_WORD_CANDFLAGS_ECFW_CHARGE_SHIFT = 12
static constexpr uint32_t LVL1::MuCTPIBits::RUN3_CAND_WORD_CANDFLAGS_ECFW_CHARGE_MASK = 0x1
static constexpr uint32_t LVL1::MuCTPIBits::RUN3_CAND_WORD_PT_SHIFT = 8
static constexpr uint32_t LVL1::MuCTPIBits::RUN3_CAND_WORD_PT_MASK = 0xf
static constexpr uint32_t LVL1::MuCTPIBits::RUN3_CAND_WORD_ROI_SHIFT = 0
static constexpr uint32_t LVL1::MuCTPIBits::RUN3_CAND_WORD_ROI_MASK = 0xff
static constexpr uint32_t LVL1::MuCTPIBits::RUN3_TOPO_WORD_ID_SHIFT = 29
static constexpr uint32_t LVL1::MuCTPIBits::RUN3_TOPO_WORD_ID_MASK = 0b111
static constexpr uint32_t LVL1::MuCTPIBits::RUN3_TOPO_WORD_ID_VAL = 0b110
static constexpr uint32_t LVL1::MuCTPIBits::RUN3_TOPO_WORD_HEMI_SHIFT = 24
static constexpr uint32_t LVL1::MuCTPIBits::RUN3_TOPO_WORD_HEMI_MASK = 0x1
static constexpr uint32_t LVL1::MuCTPIBits::RUN3_TOPO_WORD_FLAGS_SHIFT = 20
static constexpr uint32_t LVL1::MuCTPIBits::RUN3_TOPO_WORD_FLAGS_MASK = 0xf
static constexpr uint32_t LVL1::MuCTPIBits::RUN3_TOPO_WORD_PT_SHIFT = 16
static constexpr uint32_t LVL1::MuCTPIBits::RUN3_TOPO_WORD_PT_MASK = 0xf
static constexpr uint32_t LVL1::MuCTPIBits::RUN3_TOPO_WORD_ETA_SHIFT = 8
static constexpr uint32_t LVL1::MuCTPIBits::RUN3_TOPO_WORD_ETA_MASK = 0xff
static constexpr uint32_t LVL1::MuCTPIBits::RUN3_TOPO_WORD_PHI_SHIFT = 0
static constexpr uint32_t LVL1::MuCTPIBits::RUN3_TOPO_WORD_PHI_MASK = 0xff
static constexpr uint32_t LVL1::MuCTPIBits::RUN3_TOPO_WORD_DET_SHIFT = 13
static constexpr uint32_t LVL1::MuCTPIBits::RUN3_TOPO_WORD_DET_MASK = 0x3
static constexpr uint32_t LVL1::MuCTPIBits::RUN3_TOPO_WORD_CANDFLAGS_ECFW_CHARGE_SHIFT = 20
static constexpr uint32_t LVL1::MuCTPIBits::RUN3_TOPO_WORD_CANDFLAGS_ECFW_BW23_SHIFT = 21
static constexpr uint32_t LVL1::MuCTPIBits::RUN3_TOPO_WORD_CANDFLAGS_ECFW_INNERCOIN_SHIFT = 22
static constexpr uint32_t LVL1::MuCTPIBits::RUN3_TOPO_WORD_CANDFLAGS_ECFW_GOODMF_SHIFT = 23
static constexpr uint32_t LVL1::MuCTPIBits::RUN3_TOPO_WORD_CANDFLAGS_ECFW_CHARGE_MASK = 0x1
static constexpr uint32_t LVL1::MuCTPIBits::RUN3_TOPO_WORD_CANDFLAGS_ECFW_BW23_MASK = 0x1
static constexpr uint32_t LVL1::MuCTPIBits::RUN3_TOPO_WORD_CANDFLAGS_ECFW_INNERCOIN_MASK = 0x1
static constexpr uint32_t LVL1::MuCTPIBits::RUN3_TOPO_WORD_CANDFLAGS_ECFW_GOODMF_MASK = 0x1
static constexpr uint32_t LVL1::MuCTPIBits::RUN3_STATUS_WORD_ID_SHIFT = 29
static constexpr uint32_t LVL1::MuCTPIBits::RUN3_STATUS_WORD_ID_MASK = 0b111
static constexpr uint32_t LVL1::MuCTPIBits::RUN3_STATUS_WORD_ID_VAL = 0b111
static constexpr uint32_t LVL1::MuCTPIBits::RUN3_STATUS_WORD_SHIFT = 0
static constexpr uint32_t LVL1::MuCTPIBits::RUN3_STATUS_WORD_MASK = 0xffff