70 os <<
"\n*BEGIN* xAOD::L1NSWCandData" << std::endl;
71 os <<
" BCID: " << obj.l1Bcid() << std::endl;
72 os <<
" Board ID: " <<
static_cast<int>(obj.boardID()) << std::endl;
73 os <<
" Fiber ID: " <<
static_cast<int>(obj.fiberID()) << std::endl;
74 os <<
" Number of Segments: " <<
static_cast<int>(obj.l1NSegments()) << std::endl;
75 os <<
" Overflow Flag: " << (obj.l1Overflow() ?
"TRUE" :
"FALSE") << std::endl;
76 os <<
" Eta Index: " << obj.segEtaIndex() <<
" (eta ~ " << obj.segEta() <<
")" << std::endl;
77 os <<
" Phi Index: " << obj.segPhiIndex() <<
" (phi ~ " << obj.segPhi() <<
")" << std::endl;
78 os <<
" Delta Theta Index: " <<
static_cast<int>(obj.segDeltaThetaIndex()) << std::endl;
79 os <<
" Quality Flag: " <<
static_cast<int>(obj.segQuality()) << std::endl;
80 os <<
"*END* xAOD::L1NSWCandData" << std::endl;
#define AUXSTORE_PRIMITIVE_SETTER_AND_GETTER(CL, TYPE, NAME, SETTER)
Macro creating the accessors of primitive auxiliary properties.
Helper class to provide type-safe access to aux data.
Data class describing the L0 muon candidates from NSW-TP to TGC SL.
L1NSWCandData_v1()=default
uint8_t segQuality() const
Retrieve the quality flag of the segment.
uint32_t l1SegmentWord() const
Segment.
uint16_t segEtaIndex() const
Retrieve the eta index of the segment.
float segPhi() const
Retrieve the decoded physical phi coordinate of the segment.
float segEta() const
Retrieve the decoded physical eta coordinate of the segment.
void setL1Overflow(bool ovf)
Set the segment total capacity overflow state flag.
bool l1Overflow() const
Check if the segment candidate limit has been exceeded.
void setSegment(uint16_t etaIndex, uint16_t phiIndex, uint8_t deltaThetaIndex, uint8_t quality)
Pack and set the segment from its decoded fields.
void setL1SegmentWord(uint32_t word)
Set the raw packed segment word.
uint8_t segDeltaThetaIndex() const
Retrieve the delta theta index of the segment.
uint16_t segPhiIndex() const
Retrieve the phi index of the segment.
constexpr uint32_t RUN4_NSWTP_QUAL_MASK
constexpr float PHI_MAX_RAW
constexpr uint32_t RUN4_NSWTP_PHI_MASK
constexpr uint32_t RUN4_NSWTP_ETA_MASK
constexpr float ETA_MAX_RAW
constexpr uint32_t RUN4_NSWTP_DTH_SHIFT
Angular deviation of the locally defined segment from the infinite momentum track.
constexpr uint32_t RUN4_NSWTP_PHI_SHIFT
Segment position in phi.
constexpr uint32_t RUN4_NSWTP_QUAL_SHIFT
Valid flag and detector information.
constexpr uint32_t RUN4_NSWTP_DTH_MASK
constexpr uint32_t RUN4_NSWTP_ETA_SHIFT
Segment position in eta.
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
setBGCode setTAP setLVL2ErrorBits bool
std::ostream & operator<<(std::ostream &out, const std::pair< FIRST, SECOND > &pair)
Helper print operator.
static const SG::Accessor< ElementLink< IParticleContainer > > acc("originalObjectLink")
Object used for setting/getting the dynamic decoration in question.