4#ifndef XAODTRIGL1MUON_VERSION_L1TGCCANDDATA_V1_H
5#define XAODTRIGL1MUON_VERSION_L1TGCCANDDATA_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...
IL1CandData_v1()=default
Default constructor.
Data class describing the L0 muon candidates produced by TGC-SL.
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.
L1TGCCandData_v1()=default
~L1TGCCandData_v1()=default
uint8_t l1DeltaPhiWord() const
Retrieve the raw encoded delta phi word.
void setDeltaTheta(float dtheta)
Set the delta theta value.
float deltaTheta() const
Retrieve the delta theta value wrt vector from IP to segment position.
static constexpr float s_dthetaRange
range of the RPC hits z positions
static constexpr uint8_t DTHETA_BIT_MASK
Bit mask for deltaTheta : 1 bit for sign and 6 bits.
void setDeltaPhi(float dphi)
Set the delta phi value.
bool goodMagneticField() const
Check whether the candidate is in a good magnetic-field region.
static constexpr uint8_t COINTYPE_GOOD_MAGNETIC_FIELD_BIT
CoinType bit for the GoodMag flag.
void setL1DeltaPhiWord(uint8_t value)
Set the raw encoded delta phi word.
void setGoodMagneticField(bool value)
Set the GoodMag bit in CoinType.
void setHasInnerCoincidence(bool value)
Set the Inner Coincidence bit in CoinType.
static constexpr uint32_t NSW_BIT_MASK
Bit mask for NSW-TP output.
bool hasInnerCoincidence() const
Check whether the candidate passed Inner Coincidence.
static constexpr uint8_t DPHI_BIT_MASK
Bit mask for deltaPhi : 1 bit for sign and 3 bits.
void setL1DeltaThetaWord(uint8_t value)
Set the raw encoded delta theta word.
uint32_t l1NswSegment() const
Retrieve the NSW segments.
static constexpr float s_posRange
range of the TGC hits positions
static constexpr float s_dphiRange
float ptValueGeV() const
Retrieve the inherited encoded pT value in GeV.
void setL1NswSegment(uint32_t nswout)
Set the NSW segments.
uint8_t l1DeltaThetaWord() const
Retrieve the raw encoded delta theta word.
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.