ATLAS Offline Software
Loading...
Searching...
No Matches
xAOD::L1TGCCandData_v1 Class Reference

Data class describing the L0 muon candidates produced by TGC-SL. More...

#include <L1TGCCandData_v1.h>

Inheritance diagram for xAOD::L1TGCCandData_v1:
Collaboration diagram for xAOD::L1TGCCandData_v1:

Public Types

enum class  BC_ID {
  BC_UNDEFINED = 0 , BC_PREVIOUS , BC_CURRENT , BC_NEXT ,
  BC_NEXTNEXT
}
 Bunch crossing identifier. More...

Public Member Functions

 L1TGCCandData_v1 ()=default
 ~L1TGCCandData_v1 ()=default
float ptValueGeV () const
 Retrieve the inherited encoded pT value in GeV.
bool hasInnerCoincidence () const
 Check whether the candidate passed Inner Coincidence.
bool goodMagneticField () const
 Check whether the candidate is in a good magnetic-field region.
float deltaPhi () const
 Retrieve the delta phi wrt vector from IP to segment position.
float deltaTheta () const
 Retrieve the delta theta value wrt vector from IP to segment position.
uint8_t l1DeltaPhiWord () const
 Retrieve the raw encoded delta phi word.
uint8_t l1DeltaThetaWord () const
 Retrieve the raw encoded delta theta word.
uint32_t l1NswSegment () const
 Retrieve the NSW segments.
void setHasInnerCoincidence (bool value)
 Set the Inner Coincidence bit in CoinType.
void setGoodMagneticField (bool value)
 Set the GoodMag bit in CoinType.
void setDeltaPhi (float dphi)
 Set the delta phi value.
void setDeltaTheta (float dtheta)
 Set the delta theta value.
void setL1DeltaPhiWord (uint8_t value)
 Set the raw encoded delta phi word.
void setL1DeltaThetaWord (uint8_t value)
 Set the raw encoded delta theta word.
void setL1NswSegment (uint32_t nswout)
 Set the NSW segments.
uint16_t l1SubdetectorId () const
 Retrieve the sub detector id.
uint16_t l1SectorId () const
 Retrieve the sector id.
uint16_t bcTag () const
 Retrieve the bunch crossing tag.
uint8_t l1Threshold () const
 Retrieve the threshold.
uint8_t l1CandCharge () const
 Retrieve the candidate charge.
uint8_t coinType () const
 Retrieve the coincidence type.
uint16_t l1Eta () const
 Retrieve the eta.
uint16_t l1Phi () const
 Retrieve the phi.
uint8_t l1Pt () const
 Retrieve the encoded candidate pT.
uint8_t tcId () const
 Retrieve the trigger-candidate identifier.
void setL1SubdetectorId (uint16_t subdetectorId)
 Set the sub detector id.
void setL1SectorId (uint16_t sectorId)
 Set the sector id.
void setBcTag (uint16_t bcTag)
 Set the bunch crossing tag.
void setL1Eta (float eta)
 Set the eta.
void setL1Phi (float phi)
 Set the phi.
void setL1Pt (float pt)
 Set the candidate pT.
void setL1Threshold (uint8_t threshold)
 Set the threshold.
void setL1CandCharge (uint8_t candCharge)
 Set the candidate charge.
void setCoinType (uint8_t coinType)
 Set the coincidence type.
void setTcId (uint8_t value)
 Set the trigger-candidate identifier.
void initialize (uint16_t subdetectorId, uint16_t sectorId, uint16_t bcTag)
 Initialize candidate with basic properties.

Static Public Member Functions

static constexpr float etaRange ()
static constexpr uint16_t etaBitRange ()
static constexpr float phiRange ()
static constexpr uint16_t phiBitRange ()
static constexpr float ptResolution ()
static constexpr float ptRange ()
static constexpr uint8_t ptBitRange ()
static constexpr uint8_t coinTypeBitMask ()
static constexpr uint8_t tcIdBitMask ()

Static Protected Attributes

static constexpr float s_etaRange = 2.7
 Variables range.
static constexpr float s_phiRange = 2.0 * M_PI
static constexpr float s_ptResolution = 0.5F
 GeV per pT code.
static constexpr uint16_t s_etaBitRange = 0x3fff
 Variables bit size 14 bits for eta, 9 bits for phi, 8 bits for pt.
static constexpr uint16_t s_phiBitRange = 0x1ff
static constexpr uint8_t s_ptBitRange = 0xff
static constexpr float s_ptRange
static constexpr uint8_t COINTYPE_BIT_MASK = 0x7
 Bit mask for Coincidence Types.
static constexpr uint8_t TC_ID_BIT_MASK = 0x7
 Bit mask for the trigger-candidate identifier.

Static Private Attributes

static constexpr float s_dthetaRange = 0.160
 range of the RPC hits z positions
static constexpr float s_dphiRange = 0.032
static constexpr float s_posRange = 12500.0F
 range of the TGC hits positions
static constexpr uint8_t COINTYPE_INNER_COINCIDENCE_BIT = 0x1
 CoinType bit for Inner Coincidence.
static constexpr uint8_t COINTYPE_GOOD_MAGNETIC_FIELD_BIT = 0x2
 CoinType bit for the GoodMag flag.
static constexpr uint8_t DPHI_BIT_MASK = 0x7
 Bit mask for deltaPhi : 1 bit for sign and 3 bits.
static constexpr uint8_t DTHETA_BIT_MASK = 0x3f
 Bit mask for deltaTheta : 1 bit for sign and 6 bits.
static constexpr uint32_t NSW_BIT_MASK = 0xfffffff
 Bit mask for NSW-TP output.

Detailed Description

Data class describing the L0 muon candidates produced by TGC-SL.

The candidates are consumed by MDT-TP and L0MuonEndcap. Common candidate quantities (including the trigger-candidate identifier) are provided by IL1CandData_v1; this class stores only TGC-specific information.

Definition at line 22 of file L1TGCCandData_v1.h.

Member Enumeration Documentation

◆ BC_ID

enum class xAOD::IL1CandData_v1::BC_ID
stronginherited

Bunch crossing identifier.

Enumerator
BC_UNDEFINED 
BC_PREVIOUS 
BC_CURRENT 
BC_NEXT 
BC_NEXTNEXT 

Definition at line 26 of file IL1CandData_v1.h.

27 {
28 BC_UNDEFINED = 0,
29 BC_PREVIOUS,
30 BC_CURRENT,
31 BC_NEXT,
32 BC_NEXTNEXT
33 };

Constructor & Destructor Documentation

◆ L1TGCCandData_v1()

xAOD::L1TGCCandData_v1::L1TGCCandData_v1 ( )
default

◆ ~L1TGCCandData_v1()

xAOD::L1TGCCandData_v1::~L1TGCCandData_v1 ( )
default

Member Function Documentation

◆ bcTag()

uint16_t xAOD::IL1CandData_v1::bcTag ( ) const
inherited

Retrieve the bunch crossing tag.

Returns
Bunch crossing tag

◆ coinType()

uint8_t xAOD::IL1CandData_v1::coinType ( ) const
inherited

Retrieve the coincidence type.

Returns
Coincidence type

Definition at line 60 of file IL1CandData_v1.cxx.

60 {
61 static const SG::Accessor<uint8_t> acc("coinType");
62 return acc(*this);
63 }
static const SG::Accessor< ElementLink< IParticleContainer > > acc("originalObjectLink")
Object used for setting/getting the dynamic decoration in question.

◆ coinTypeBitMask()

constexpr uint8_t xAOD::IL1CandData_v1::coinTypeBitMask ( )
inlinestaticconstexprinherited

Definition at line 156 of file IL1CandData_v1.h.

156{ return COINTYPE_BIT_MASK; }
static constexpr uint8_t COINTYPE_BIT_MASK
Bit mask for Coincidence Types.

◆ deltaPhi()

float xAOD::L1TGCCandData_v1::deltaPhi ( ) const

Retrieve the delta phi wrt vector from IP to segment position.

Returns
Delta phi value

Definition at line 43 of file L1TGCCandData_v1.cxx.

43 {
44 return decodeSigned(l1DeltaPhiWord(), s_dphiRange, DPHI_BIT_MASK);
45}
uint8_t l1DeltaPhiWord() const
Retrieve the raw encoded delta phi word.
static constexpr uint8_t DPHI_BIT_MASK
Bit mask for deltaPhi : 1 bit for sign and 3 bits.
static constexpr float s_dphiRange

◆ deltaTheta()

float xAOD::L1TGCCandData_v1::deltaTheta ( ) const

Retrieve the delta theta value wrt vector from IP to segment position.

Returns
Delta theta value

Definition at line 47 of file L1TGCCandData_v1.cxx.

47 {
48 return decodeSigned(l1DeltaThetaWord(), s_dthetaRange, DTHETA_BIT_MASK);
49}
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.
uint8_t l1DeltaThetaWord() const
Retrieve the raw encoded delta theta word.

◆ etaBitRange()

constexpr uint16_t xAOD::IL1CandData_v1::etaBitRange ( )
inlinestaticconstexprinherited

Definition at line 150 of file IL1CandData_v1.h.

150{ return s_etaBitRange; }
static constexpr uint16_t s_etaBitRange
Variables bit size 14 bits for eta, 9 bits for phi, 8 bits for pt.

◆ etaRange()

constexpr float xAOD::IL1CandData_v1::etaRange ( )
inlinestaticconstexprinherited

Definition at line 149 of file IL1CandData_v1.h.

149{ return s_etaRange; }
static constexpr float s_etaRange
Variables range.

◆ goodMagneticField()

bool xAOD::L1TGCCandData_v1::goodMagneticField ( ) const

Check whether the candidate is in a good magnetic-field region.

Returns
True when the GoodMag bit is set in CoinType

Definition at line 39 of file L1TGCCandData_v1.cxx.

39 {
41}
uint8_t coinType() const
Retrieve the coincidence type.
static constexpr uint8_t COINTYPE_GOOD_MAGNETIC_FIELD_BIT
CoinType bit for the GoodMag flag.

◆ hasInnerCoincidence()

bool xAOD::L1TGCCandData_v1::hasInnerCoincidence ( ) const

Check whether the candidate passed Inner Coincidence.

Returns
True when the Inner Coincidence bit is set in CoinType

Definition at line 35 of file L1TGCCandData_v1.cxx.

35 {
37}
static constexpr uint8_t COINTYPE_INNER_COINCIDENCE_BIT
CoinType bit for Inner Coincidence.

◆ initialize()

void xAOD::IL1CandData_v1::initialize ( uint16_t subdetectorId,
uint16_t sectorId,
uint16_t bcTag )
inherited

Initialize candidate with basic properties.

Initialise the object given some input data

Parameters
subdetectorIdSubdetector ID
sectorIdSector ID
bcTagBunch crossing tag

Definition at line 75 of file IL1CandData_v1.cxx.

75 {
76 setL1SubdetectorId(subdetectorId);
77 setL1SectorId(sectorId);
79 }
uint16_t bcTag() const
Retrieve the bunch crossing tag.
void setL1SectorId(uint16_t sectorId)
Set the sector id.
void setBcTag(uint16_t bcTag)
Set the bunch crossing tag.
void setL1SubdetectorId(uint16_t subdetectorId)
Set the sub detector id.

◆ l1CandCharge()

uint8_t xAOD::IL1CandData_v1::l1CandCharge ( ) const
inherited

Retrieve the candidate charge.

Returns
Candidate charge

◆ l1DeltaPhiWord()

uint8_t xAOD::L1TGCCandData_v1::l1DeltaPhiWord ( ) const

Retrieve the raw encoded delta phi word.

Returns
Four-bit signed delta phi word

Definition at line 51 of file L1TGCCandData_v1.cxx.

51 {
52 static const SG::ConstAccessor<uint8_t> acc("l1DeltaPhiWord");
53 return acc(*this);
54}

◆ l1DeltaThetaWord()

uint8_t xAOD::L1TGCCandData_v1::l1DeltaThetaWord ( ) const

Retrieve the raw encoded delta theta word.

Returns
Seven-bit signed delta theta word

Definition at line 56 of file L1TGCCandData_v1.cxx.

56 {
57 static const SG::ConstAccessor<uint8_t> acc("l1DeltaThetaWord");
58 return acc(*this);
59}

◆ l1Eta()

uint16_t xAOD::IL1CandData_v1::l1Eta ( ) const
inherited

Retrieve the eta.

Returns
Eta

Definition at line 24 of file IL1CandData_v1.cxx.

24 {
25 static const SG::Accessor<uint16_t> acc("l1Eta");
26 return acc(*this);
27 }

◆ l1NswSegment()

uint32_t xAOD::L1TGCCandData_v1::l1NswSegment ( ) const

Retrieve the NSW segments.

Returns
NSW segments

Definition at line 61 of file L1TGCCandData_v1.cxx.

61 {
62 static const SG::ConstAccessor<uint32_t> acc("l1NswSegment");
63 return acc(*this) & NSW_BIT_MASK;
64}
static constexpr uint32_t NSW_BIT_MASK
Bit mask for NSW-TP output.

◆ l1Phi()

uint16_t xAOD::IL1CandData_v1::l1Phi ( ) const
inherited

Retrieve the phi.

Returns
Phi

Definition at line 35 of file IL1CandData_v1.cxx.

35 {
36 static const SG::Accessor<uint16_t> acc("l1Phi");
37 //return (static_cast<float>(acc(*this)) / static_cast<float>(s_phiBitRange)) * s_phiRange-M_PI;
38 return acc(*this);
39 }

◆ l1Pt()

uint8_t xAOD::IL1CandData_v1::l1Pt ( ) const
inherited

Retrieve the encoded candidate pT.

Returns
Eight-bit pT code in 0.5 GeV steps; zero denotes an invalid pT estimate

Definition at line 49 of file IL1CandData_v1.cxx.

49 {
50 static const SG::Accessor<uint8_t> acc("l1Pt");
51 return acc(*this);
52 }

◆ l1SectorId()

uint16_t xAOD::IL1CandData_v1::l1SectorId ( ) const
inherited

Retrieve the sector id.

Returns
Sector ID

◆ l1SubdetectorId()

uint16_t xAOD::IL1CandData_v1::l1SubdetectorId ( ) const
inherited

Retrieve the sub detector id.

Returns
Subdetector ID

◆ l1Threshold()

uint8_t xAOD::IL1CandData_v1::l1Threshold ( ) const
inherited

Retrieve the threshold.

Returns
Threshold

◆ phiBitRange()

constexpr uint16_t xAOD::IL1CandData_v1::phiBitRange ( )
inlinestaticconstexprinherited

Definition at line 152 of file IL1CandData_v1.h.

152{ return s_phiBitRange; }
static constexpr uint16_t s_phiBitRange

◆ phiRange()

constexpr float xAOD::IL1CandData_v1::phiRange ( )
inlinestaticconstexprinherited

Definition at line 151 of file IL1CandData_v1.h.

151{ return s_phiRange; }
static constexpr float s_phiRange

◆ ptBitRange()

constexpr uint8_t xAOD::IL1CandData_v1::ptBitRange ( )
inlinestaticconstexprinherited

Definition at line 155 of file IL1CandData_v1.h.

155{ return s_ptBitRange; }
static constexpr uint8_t s_ptBitRange

◆ ptRange()

constexpr float xAOD::IL1CandData_v1::ptRange ( )
inlinestaticconstexprinherited

Definition at line 154 of file IL1CandData_v1.h.

154{ return s_ptRange; }
static constexpr float s_ptRange

◆ ptResolution()

constexpr float xAOD::IL1CandData_v1::ptResolution ( )
inlinestaticconstexprinherited

Definition at line 153 of file IL1CandData_v1.h.

153{ return s_ptResolution; }
static constexpr float s_ptResolution
GeV per pT code.

◆ ptValueGeV()

float xAOD::L1TGCCandData_v1::ptValueGeV ( ) const

Retrieve the inherited encoded pT value in GeV.

Returns
Candidate pT in 0.5 GeV steps; zero denotes an invalid pT estimate

Definition at line 31 of file L1TGCCandData_v1.cxx.

31 {
32 return ptResolution() * static_cast<float>(l1Pt());
33}
static constexpr float ptResolution()
uint8_t l1Pt() const
Retrieve the encoded candidate pT.

◆ setBcTag()

void xAOD::IL1CandData_v1::setBcTag ( uint16_t bcTag)
inherited

Set the bunch crossing tag.

Parameters
bcTagBunch crossing tag

◆ setCoinType()

void xAOD::IL1CandData_v1::setCoinType ( uint8_t coinType)
inherited

Set the coincidence type.

Parameters
coinTypeCoincidence type

Definition at line 54 of file IL1CandData_v1.cxx.

54 {
55 uint8_t coinTypeBin = cointype & COINTYPE_BIT_MASK;
56 static const SG::Accessor<uint8_t> acc("coinType");
57 acc(*this) = coinTypeBin;
58 }

◆ setDeltaPhi()

void xAOD::L1TGCCandData_v1::setDeltaPhi ( float dphi)

Set the delta phi value.

Parameters
dphiDelta phi value

Definition at line 76 of file L1TGCCandData_v1.cxx.

76 {
77 setL1DeltaPhiWord(encodeSigned(dphi, s_dphiRange, DPHI_BIT_MASK));
78}
void setL1DeltaPhiWord(uint8_t value)
Set the raw encoded delta phi word.

◆ setDeltaTheta()

void xAOD::L1TGCCandData_v1::setDeltaTheta ( float dtheta)

Set the delta theta value.

Parameters
dthetaDelta theta value

Definition at line 80 of file L1TGCCandData_v1.cxx.

80 {
82}
void setL1DeltaThetaWord(uint8_t value)
Set the raw encoded delta theta word.

◆ setGoodMagneticField()

void xAOD::L1TGCCandData_v1::setGoodMagneticField ( bool value)

Set the GoodMag bit in CoinType.

Parameters
valueNew state of the GoodMag bit

Definition at line 71 of file L1TGCCandData_v1.cxx.

71 {
74}
void setCoinType(uint8_t coinType)
Set the coincidence type.

◆ setHasInnerCoincidence()

void xAOD::L1TGCCandData_v1::setHasInnerCoincidence ( bool value)

Set the Inner Coincidence bit in CoinType.

Parameters
valueNew state of the Inner Coincidence bit

Definition at line 66 of file L1TGCCandData_v1.cxx.

◆ setL1CandCharge()

void xAOD::IL1CandData_v1::setL1CandCharge ( uint8_t candCharge)
inherited

Set the candidate charge.

Parameters
candChargeCandidate charge

◆ setL1DeltaPhiWord()

void xAOD::L1TGCCandData_v1::setL1DeltaPhiWord ( uint8_t value)

Set the raw encoded delta phi word.

Parameters
valueFour-bit signed delta phi word

Definition at line 84 of file L1TGCCandData_v1.cxx.

84 {
85 static const SG::Accessor<uint8_t> acc("l1DeltaPhiWord");
86 acc(*this) = value & static_cast<uint8_t>((DPHI_BIT_MASK << 1) | 0x1);
87}

◆ setL1DeltaThetaWord()

void xAOD::L1TGCCandData_v1::setL1DeltaThetaWord ( uint8_t value)

Set the raw encoded delta theta word.

Parameters
valueSeven-bit signed delta theta word

Definition at line 89 of file L1TGCCandData_v1.cxx.

89 {
90 static const SG::Accessor<uint8_t> acc("l1DeltaThetaWord");
91 acc(*this) = value & static_cast<uint8_t>((DTHETA_BIT_MASK << 1) | 0x1);
92}

◆ setL1Eta()

void xAOD::IL1CandData_v1::setL1Eta ( float eta)
inherited

Set the eta.

Parameters
etaEta

Definition at line 17 of file IL1CandData_v1.cxx.

17 {
18 float etaClamped = std::clamp(eta, -s_etaRange, s_etaRange);
19 uint16_t etaBinary = static_cast<uint16_t>(std::lround((etaClamped + s_etaRange) / (2.0f * s_etaRange) * static_cast<float>(s_etaBitRange)));
20 static const SG::Accessor<uint16_t> acc("l1Eta");
21 acc(*this) = etaBinary;
22 }
Scalar eta() const
pseudorapidity method
setWord1 uint16_t

◆ setL1NswSegment()

void xAOD::L1TGCCandData_v1::setL1NswSegment ( uint32_t nswout)

Set the NSW segments.

Parameters
nswoutNSW segments

Definition at line 94 of file L1TGCCandData_v1.cxx.

94 {
95 static const SG::Accessor<uint32_t> acc("l1NswSegment");
96 acc(*this) = nswout & NSW_BIT_MASK;
97}
SG::Accessor< T, ALLOC > Accessor
Definition AuxElement.h:573

◆ setL1Phi()

void xAOD::IL1CandData_v1::setL1Phi ( float phi)
inherited

Set the phi.

Parameters
phiPhi

Definition at line 29 of file IL1CandData_v1.cxx.

29 {
30 uint16_t phiBinary = static_cast<uint16_t>(((phi + M_PI) / s_phiRange) * static_cast<float>(s_phiBitRange));
31 static const SG::Accessor<uint16_t> acc("l1Phi");
32 acc(*this) = phiBinary;
33 }
#define M_PI

◆ setL1Pt()

void xAOD::IL1CandData_v1::setL1Pt ( float pt)
inherited

Set the candidate pT.

Parameters
ptCandidate pT in GeV, encoded in 0.5 GeV steps

Definition at line 41 of file IL1CandData_v1.cxx.

41 {
42 const float ptClamped = std::clamp(pt, 0.0F, s_ptRange);
43 const uint8_t ptBinary = static_cast<uint8_t>(
44 std::lround(ptClamped / s_ptResolution));
45 static const SG::Accessor<uint8_t> acc("l1Pt");
46 acc(*this) = ptBinary;
47 }
setRcore setEtHad setFside pt

◆ setL1SectorId()

void xAOD::IL1CandData_v1::setL1SectorId ( uint16_t sectorId)
inherited

Set the sector id.

Parameters
sectorIdSector ID

◆ setL1SubdetectorId()

void xAOD::IL1CandData_v1::setL1SubdetectorId ( uint16_t subdetectorId)
inherited

Set the sub detector id.

Parameters
subdetectorIdSubdetector ID

◆ setL1Threshold()

void xAOD::IL1CandData_v1::setL1Threshold ( uint8_t threshold)
inherited

Set the threshold.

Parameters
thresholdThreshold

◆ setTcId()

void xAOD::IL1CandData_v1::setTcId ( uint8_t value)
inherited

Set the trigger-candidate identifier.

Parameters
valueThree-bit trigger-candidate identifier; zero denotes an empty candidate

Definition at line 65 of file IL1CandData_v1.cxx.

65 {
66 static const SG::Accessor<uint8_t> acc("tcId");
67 acc(*this) = value & TC_ID_BIT_MASK;
68 }
static constexpr uint8_t TC_ID_BIT_MASK
Bit mask for the trigger-candidate identifier.

◆ tcId()

uint8_t xAOD::IL1CandData_v1::tcId ( ) const
inherited

Retrieve the trigger-candidate identifier.

Returns
Three-bit trigger-candidate identifier; zero denotes an empty candidate

Definition at line 70 of file IL1CandData_v1.cxx.

70 {
71 static const SG::ConstAccessor<uint8_t> acc("tcId");
72 return acc(*this) & TC_ID_BIT_MASK;
73 }

◆ tcIdBitMask()

constexpr uint8_t xAOD::IL1CandData_v1::tcIdBitMask ( )
inlinestaticconstexprinherited

Definition at line 157 of file IL1CandData_v1.h.

157{ return TC_ID_BIT_MASK; }

Member Data Documentation

◆ COINTYPE_BIT_MASK

uint8_t xAOD::IL1CandData_v1::COINTYPE_BIT_MASK = 0x7
staticconstexprprotectedinherited

Bit mask for Coincidence Types.

Definition at line 174 of file IL1CandData_v1.h.

◆ COINTYPE_GOOD_MAGNETIC_FIELD_BIT

uint8_t xAOD::L1TGCCandData_v1::COINTYPE_GOOD_MAGNETIC_FIELD_BIT = 0x2
staticconstexprprivate

CoinType bit for the GoodMag flag.

Definition at line 115 of file L1TGCCandData_v1.h.

◆ COINTYPE_INNER_COINCIDENCE_BIT

uint8_t xAOD::L1TGCCandData_v1::COINTYPE_INNER_COINCIDENCE_BIT = 0x1
staticconstexprprivate

CoinType bit for Inner Coincidence.

Definition at line 113 of file L1TGCCandData_v1.h.

◆ DPHI_BIT_MASK

uint8_t xAOD::L1TGCCandData_v1::DPHI_BIT_MASK = 0x7
staticconstexprprivate

Bit mask for deltaPhi : 1 bit for sign and 3 bits.

Definition at line 117 of file L1TGCCandData_v1.h.

◆ DTHETA_BIT_MASK

uint8_t xAOD::L1TGCCandData_v1::DTHETA_BIT_MASK = 0x3f
staticconstexprprivate

Bit mask for deltaTheta : 1 bit for sign and 6 bits.

Definition at line 119 of file L1TGCCandData_v1.h.

◆ NSW_BIT_MASK

uint32_t xAOD::L1TGCCandData_v1::NSW_BIT_MASK = 0xfffffff
staticconstexprprivate

Bit mask for NSW-TP output.

Definition at line 121 of file L1TGCCandData_v1.h.

◆ s_dphiRange

float xAOD::L1TGCCandData_v1::s_dphiRange = 0.032
staticconstexprprivate

Definition at line 108 of file L1TGCCandData_v1.h.

◆ s_dthetaRange

float xAOD::L1TGCCandData_v1::s_dthetaRange = 0.160
staticconstexprprivate

range of the RPC hits z positions

Definition at line 107 of file L1TGCCandData_v1.h.

◆ s_etaBitRange

uint16_t xAOD::IL1CandData_v1::s_etaBitRange = 0x3fff
staticconstexprprotectedinherited

Variables bit size 14 bits for eta, 9 bits for phi, 8 bits for pt.

Definition at line 167 of file IL1CandData_v1.h.

◆ s_etaRange

float xAOD::IL1CandData_v1::s_etaRange = 2.7
staticconstexprprotectedinherited

Variables range.

Definition at line 161 of file IL1CandData_v1.h.

◆ s_phiBitRange

uint16_t xAOD::IL1CandData_v1::s_phiBitRange = 0x1ff
staticconstexprprotectedinherited

Definition at line 168 of file IL1CandData_v1.h.

◆ s_phiRange

float xAOD::IL1CandData_v1::s_phiRange = 2.0 * M_PI
staticconstexprprotectedinherited

Definition at line 162 of file IL1CandData_v1.h.

◆ s_posRange

float xAOD::L1TGCCandData_v1::s_posRange = 12500.0F
staticconstexprprivate

range of the TGC hits positions

Definition at line 110 of file L1TGCCandData_v1.h.

◆ s_ptBitRange

uint8_t xAOD::IL1CandData_v1::s_ptBitRange = 0xff
staticconstexprprotectedinherited

Definition at line 169 of file IL1CandData_v1.h.

◆ s_ptRange

float xAOD::IL1CandData_v1::s_ptRange
staticconstexprprotectedinherited
Initial value:
=
s_ptResolution * static_cast<float>(s_ptBitRange)
static constexpr float s_ptResolution
GeV per pT code.
static constexpr uint8_t s_ptBitRange

Definition at line 170 of file IL1CandData_v1.h.

◆ s_ptResolution

float xAOD::IL1CandData_v1::s_ptResolution = 0.5F
staticconstexprprotectedinherited

GeV per pT code.

Definition at line 163 of file IL1CandData_v1.h.

◆ TC_ID_BIT_MASK

uint8_t xAOD::IL1CandData_v1::TC_ID_BIT_MASK = 0x7
staticconstexprprotectedinherited

Bit mask for the trigger-candidate identifier.

Definition at line 176 of file IL1CandData_v1.h.


The documentation for this class was generated from the following files: