30 if (
data.size() != 2) {
48 s <<
"\n*BEGIN* xAOD::SectorLogicCandData" << std::endl;
49 s <<
" Trigger Candidate ID: " <<
TCID() << std::endl;
50 s <<
" Veto: " <<
veto() << std::endl;
51 s <<
" Board ID: " <<
boardID() << std::endl;
52 s <<
" Fiber ID: " <<
fiberID() << std::endl;
53 s <<
" BCID offset: " <<
BCIDOffset() << std::endl;
54 s <<
" Position in phi: " <<
phi() << std::endl;
55 s <<
" Position in eta: " <<
eta() << std::endl;
56 s <<
" pT value: " <<
pT() << std::endl;
57 s <<
" pT threshold: " <<
ptThresh() << std::endl;
58 s <<
" Charge: " << (
charge() ?
"Positive" :
"Negative") << std::endl;
59 s <<
" MDT processing flag [0:15]: " <<
mdtFlag() << std::endl;
60 s <<
" Processed by MDT or RPC/TGC: " << (
isMDT() ?
"RPC/TGC" :
"MDT") << std::endl;
61 s <<
" MDT segment quality: " <<
mdtSegQual() << std::endl;
62 s <<
" Number of associated MDT segments: " <<
numMDTSeg() << std::endl;
63 s <<
" Exotic trigger: " <<
exotTrig() << std::endl;
64 s <<
" Presence of TILE Coincidence: " << (
tileCoin() ?
"Yes" :
"No") << std::endl;
65 s <<
" RPC/TGC coincidence type: " <<
coinType() << std::endl;
66 s <<
"*END* xAOD::SectorLogicCandData" << std::endl;
#define AUXSTORE_PRIMITIVE_SETTER_AND_GETTER(CL, TYPE, NAME, SETTER)
Macro creating the accessors of primitive auxiliary properties.
char data[hepevt_bytes_allocation_ATLAS]
uint32_t charge() const
Retrieve the charge.
uint16_t fiberID() const
Retrieve the fiber ID.
void setBCIDOffset(int offset)
Set the bunch crossing identifier offset.
void initialize(const std::vector< uint32_t > &data, int offset, uint16_t bID, uint16_t fID)
Initialise the object given some input data.
unsigned short veto() const
Retrieve the veto flag.
uint32_t exotTrig() const
Retrieve the exotic trigger.
uint32_t ptThresh() const
Retrieve the Trigger candidate ID.
void setCandExtraWord(uint32_t word)
Set the candidate extra word (second 32-bits).
uint32_t mdtSegQual() const
Retrieve the MDT segment quality flag.
uint32_t coinType() const
Retrieve the RPC/TGC coincidence type.
uint32_t candWord() const
Retrieve the candidate word (first 32-bits).
float phi() const
Retrieve the position in phi.
static constexpr float ETA_MAX_RAW
float eta() const
Retrieve the position in eta.
uint32_t pT() const
Retrieve the pT value.
void setCandWord(uint32_t word)
Set the candidate word (first 32-bits).
static constexpr float ETA_MIN
int BCIDOffset() const
Retrieve the bunch crossing identifier offset.
void setFiberID(uint16_t id)
Set the fiber ID.
SectorLogicCandData_v1()
Default constructor.
static constexpr float ETA_MAX
static constexpr float PHI_MAX
static constexpr float PHI_MAX_RAW
uint16_t boardID() const
Retrieve the board ID.
void setBoardID(uint16_t id)
Set the board ID.
uint32_t isMDT() const
Retrieve whether the candidate was processed by MDTTP.
uint32_t TCID() const
Retrieve the Trigger candidate ID.
uint32_t rawPhi() const
Retrieve the bits for the position in phi.
const std::string dump() const
Get the information stored in the SectorLogicCandData_v1 object.
uint32_t candExtraWord() const
Retrieve the candidate extra word (second 32-bits).
uint32_t numMDTSeg() const
Retrieve the number of MDT segments.
uint32_t rawEta() const
Retrieve the bits for the position in eta.
void setVeto(unsigned short veto)
Set the veto flag.
uint32_t tileCoin() const
Retrieve the TILE coincidence presence.
uint32_t mdtFlag() const
Retrieve the MDT flag.
std::vector< std::string > veto
these patterns are anded
static constexpr uint32_t RUN4_SL2MUCTPI_PTTHRESHOLD_SHIFT
static constexpr uint32_t RUN4_SL2MUCTPI_COINTYPE_MASK
static constexpr uint32_t RUN4_SL2MUCTPI_CHARGE_MASK
static constexpr uint32_t RUN4_SL2MUCTPI_ETA_MASK
static constexpr uint32_t RUN4_SL2MUCTPI_MDTFLAG_MASK
static constexpr uint32_t RUN4_SL2MUCTPI_MDT_SHIFT
static constexpr uint32_t RUN4_SL2MUCTPI_ET_MASK
static constexpr uint32_t RUN4_SL2MUCTPI_ETA_SHIFT
static constexpr uint32_t RUN4_SL2MUCTPI_TC_SHIFT
static constexpr uint32_t RUN4_SL2MUCTPI_PT_VAL_SHIFT
static constexpr uint32_t RUN4_SL2MUCTPI_SEGNUM_MASK
static constexpr uint32_t RUN4_SL2MUCTPI_CHARGE_SHIFT
static constexpr uint32_t RUN4_SL2MUCTPI_MDTFLAG_SHIFT
static constexpr uint32_t RUN4_SL2MUCTPI_TCID_SHIFT
static constexpr uint32_t RUN4_SL2MUCTPI_MDT_MASK
static constexpr uint32_t RUN4_SL2MUCTPI_SEGQUAL_SHIFT
static constexpr uint32_t RUN4_SL2MUCTPI_TC_MASK
static constexpr uint32_t RUN4_SL2MUCTPI_PTTHRESHOLD_MASK
static constexpr uint32_t RUN4_SL2MUCTPI_SEGNUM_SHIFT
static constexpr uint32_t RUN4_SL2MUCTPI_ET_SHIFT
static constexpr uint32_t RUN4_SL2MUCTPI_COINTYPE_SHIFT
static constexpr uint32_t RUN4_SL2MUCTPI_PT_VAL_MASK
static constexpr uint32_t RUN4_SL2MUCTPI_PHI_MASK
static constexpr uint32_t RUN4_SL2MUCTPI_TCID_MASK
static constexpr uint32_t RUN4_SL2MUCTPI_SEGQUAL_MASK
static constexpr uint32_t RUN4_SL2MUCTPI_PHI_SHIFT
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.