ATLAS Offline Software
|
Classes | |
struct | Candidate |
struct | Multiplicity |
struct | Slice |
struct | TimesliceHeader |
struct | TopoTOB |
Enumerations | |
enum | WordType : uint8_t { WordType::Undefined =0, WordType::Timeslice, WordType::Multiplicity, WordType::Candidate, WordType::Topo, WordType::Status, WordType::MAX } |
enum | SubsysID : uint8_t { SubsysID::Undefined =0, SubsysID::Barrel, SubsysID::Forward, SubsysID::Endcap, SubsysID::MAX } |
Functions | |
constexpr uint32_t | maskedWord (uint32_t word, uint32_t shift, uint32_t mask) |
Extract sub-word from 32-bit word by applying a shift and a mask. More... | |
constexpr uint32_t | maskedWord (uint64_t word, uint32_t shift, uint32_t mask) |
Extract sub-word from 64-bit word by applying a shift and a mask. More... | |
constexpr uint32_t | buildWord (uint32_t value, uint32_t shift, uint32_t mask) |
Extract sub-word from 32-bit word by applying a shift and a mask. More... | |
constexpr bool | wordEquals (uint32_t word, uint32_t shift, uint32_t mask, uint32_t value) |
Compare a sub-word of a 32-bit word to an expected value. More... | |
constexpr WordType | getWordType (uint32_t word) |
Determine the type of a MUCTPI ROD word. More... | |
constexpr auto | timesliceHeader (uint32_t word) |
Decode timeslice word. More... | |
constexpr uint32_t | timesliceHeader (uint32_t bcid, uint32_t tobCount, uint32_t candCount) |
Encode timeslice word. More... | |
constexpr auto | topoHeader (uint32_t word) |
Decode topo word : More... | |
constexpr uint32_t | multiplicityWordNumber (uint32_t word) |
Decode the index of the multitpicity word, which is 1, 2, or 3. More... | |
constexpr std::array< uint32_t, 3 > | multiplicityWords (uint64_t multiplicity, uint32_t triggerBits, bool overflow) |
Encode the multiplicity words. More... | |
constexpr SubsysID | getSubsysID (uint32_t word) |
Decode the subsys ID from RoI candidate word. More... | |
std::vector< size_t > | getDataStatusWordErrors (uint32_t word) |
Decode the data status word (returns a vector of bit indices for the errors set - empty if no errors) More... | |
constexpr uint32_t | dataStatusWord (uint16_t status) |
Encode the data status word. More... | |
Variables | |
const uint32_t | RPCtoTGC_pt_map [7] = {0, 2, 4, 6, 8, 10, 12} |
|
strong |
|
strong |
Enumerator | |
---|---|
Undefined | |
Timeslice | |
Multiplicity | |
Candidate | |
Topo | |
Status | |
MAX |
Definition at line 16 of file HelpersPhase1.h.
|
inlineconstexpr |
Extract sub-word from 32-bit word by applying a shift and a mask.
Definition at line 54 of file HelpersPhase1.h.
|
inlineconstexpr |
Encode the data status word.
Definition at line 199 of file HelpersPhase1.h.
|
inline |
Decode the data status word (returns a vector of bit indices for the errors set - empty if no errors)
Definition at line 186 of file HelpersPhase1.h.
|
inlineconstexpr |
Decode the subsys ID from RoI candidate word.
Definition at line 174 of file HelpersPhase1.h.
|
inlineconstexpr |
Determine the type of a MUCTPI ROD word.
Definition at line 64 of file HelpersPhase1.h.
|
inlineconstexpr |
Extract sub-word from 32-bit word by applying a shift and a mask.
Definition at line 44 of file HelpersPhase1.h.
|
inlineconstexpr |
Extract sub-word from 64-bit word by applying a shift and a mask.
Definition at line 49 of file HelpersPhase1.h.
|
inlineconstexpr |
Decode the index of the multitpicity word, which is 1, 2, or 3.
Definition at line 154 of file HelpersPhase1.h.
|
inlineconstexpr |
Encode the multiplicity words.
Definition at line 159 of file HelpersPhase1.h.
|
inlineconstexpr |
Encode timeslice word.
Definition at line 94 of file HelpersPhase1.h.
|
inlineconstexpr |
|
inlineconstexpr |
Decode topo word :
Definition at line 105 of file HelpersPhase1.h.
|
inlineconstexpr |
Compare a sub-word of a 32-bit word to an expected value.
Definition at line 59 of file HelpersPhase1.h.
const uint32_t LVL1::MuCTPIBits::RPCtoTGC_pt_map[7] = {0, 2, 4, 6, 8, 10, 12} |
Definition at line 20 of file HelpersPhase1.h.