4#ifndef XAODL0MUONCAND_VERSION_TGCCANDDATA_V1_H
5#define XAODL0MUONCAND_VERSION_TGCCANDDATA_V1_H
Base class for elements of a container that can have aux data.
#define SG_BASE(D, B)
Declare that class D derives from class B.
base class providing a common interface with shared variables for the L0 muon candidates from RPC/TGC...
ICandData_v1()=default
Default constructor.
Data class describing the L0 muon candidates produced by TGC-SL.
float deltaTheta() const
Retrieve the delta theta value wrt vector from IP to segment position.
static constexpr uint8_t TC_ID_BIT_MASK
Bit mask for the trigger-candidate identifier.
static constexpr float s_dphiRange
void setGoodMagneticField(bool value)
Set the GoodMag bit in CoinType.
static constexpr float s_posRange
range of the TGC hits positions
void setHasInnerCoincidence(bool value)
Set the Inner Coincidence bit in CoinType.
void setDeltaThetaWord(uint8_t value)
Set the raw encoded delta theta word.
static constexpr uint8_t DPHI_BIT_MASK
Bit mask for deltaPhi : 1 bit for sign and 3 bits.
static constexpr uint8_t DTHETA_BIT_MASK
Bit mask for deltaTheta : 1 bit for sign and 6 bits.
uint32_t nswSegment() const
Retrieve the NSW segments.
bool goodMagneticField() const
Check whether the candidate is in a good magnetic-field region.
void setDeltaTheta(float dtheta)
Set the delta theta value.
uint8_t deltaPhiWord() const
Retrieve the raw encoded delta phi word.
bool hasInnerCoincidence() const
Check whether the candidate passed Inner Coincidence.
static constexpr uint8_t COINTYPE_INNER_COINCIDENCE_BIT
CoinType bit for Inner Coincidence.
float deltaPhi() const
Retrieve the delta phi wrt vector from IP to segment position.
float ptValueGeV() const
Retrieve the inherited encoded pT value in GeV.
void setTcId(uint8_t value)
Set the trigger-candidate identifier.
void setDeltaPhi(float dphi)
Set the delta phi value.
uint8_t tcId() const
Retrieve the trigger-candidate identifier.
static constexpr uint8_t COINTYPE_GOOD_MAGNETIC_FIELD_BIT
CoinType bit for the GoodMag flag.
void setNswSegment(uint32_t nswout)
Set the NSW segments.
static constexpr uint32_t NSW_BIT_MASK
Bit mask for NSW-TP output.
~TGCCandData_v1()=default
uint8_t deltaThetaWord() const
Retrieve the raw encoded delta theta word.
static constexpr float s_dthetaRange
range of the RPC hits z positions
void setDeltaPhiWord(uint8_t value)
Set the raw encoded delta phi word.
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.