Data class describing the L0 muon candidates from TGC-SL to MDT-TP.
More...
#include <TGCCandData_v1.h>
Data class describing the L0 muon candidates from TGC-SL to MDT-TP.
Definition at line 19 of file TGCCandData_v1.h.
◆ BC_ID
Bunch crossing identifier.
| Enumerator |
|---|
| BC_UNDEFINED | |
| BC_PREVIOUS | |
| BC_CURRENT | |
| BC_NEXT | |
| BC_NEXTNEXT | |
Definition at line 27 of file ICandData_v1.h.
28 {
29 BC_UNDEFINED = 0,
30 BC_PREVIOUS,
31 BC_CURRENT,
32 BC_NEXT,
33 BC_NEXTNEXT
34 };
◆ Quality
| Enumerator |
|---|
| Q_UNDEFINED | |
| Q_BEST | |
| Q_LOW | |
Definition at line 36 of file ICandData_v1.h.
37 {
38 Q_UNDEFINED = 0,
39 Q_BEST,
40 Q_LOW
41 };
◆ TGCCandData_v1()
| xAOD::TGCCandData_v1::TGCCandData_v1 |
( |
| ) |
|
|
default |
◆ ~TGCCandData_v1()
| xAOD::TGCCandData_v1::~TGCCandData_v1 |
( |
| ) |
|
|
default |
◆ bcTag()
| uint16_t xAOD::ICandData_v1::bcTag |
( |
| ) |
const |
|
inherited |
Retrieve the bunch crossing tag.
- Returns
- Bunch crossing tag
◆ candCharge()
| uint8_t xAOD::ICandData_v1::candCharge |
( |
| ) |
const |
|
inherited |
Retrieve the candidate charge.
- Returns
- Candidate charge
◆ candQuality()
| Quality xAOD::ICandData_v1::candQuality |
( |
| ) |
const |
|
inherited |
Retrieve the candidate quality.
- Returns
- Candidate quality
◆ coinType()
| uint8_t xAOD::ICandData_v1::coinType |
( |
| ) |
const |
|
inherited |
Retrieve the coincidence type.
- Returns
- Coincidence type
Definition at line 69 of file ICandData_v1.cxx.
69 {
70 static const SG::AuxElement::Accessor<uint8_t>
acc(preFixStr +
"coinType");
72 }
static const SG::AuxElement::Accessor< ElementLink< IParticleContainer > > acc("originalObjectLink")
Object used for setting/getting the dynamic decoration in question.
◆ coinTypeBitMask()
| constexpr uint8_t xAOD::ICandData_v1::coinTypeBitMask |
( |
| ) |
|
|
inlinestaticconstexprinherited |
Definition at line 175 of file ICandData_v1.h.
static constexpr uint8_t COINTYPE_BIT_MASK
Bit mask for Coincidence Types.
◆ deltaPhi()
| float xAOD::TGCCandData_v1::deltaPhi |
( |
| ) |
const |
Retrieve the delta phi wrt vector from IP to segment position.
- Returns
- Delta phi value
Definition at line 18 of file TGCCandData_v1.cxx.
18 {
19 static const SG::ConstAccessor<uint8_t>
acc(preFixStr +
"deltaPhi");
23}
static constexpr float s_dphiRange
static constexpr uint8_t DPHI_BIT_MASK
Bit mask for deltaPhi : 1 bit for sign and 3 bits.
◆ deltaTheta()
| float xAOD::TGCCandData_v1::deltaTheta |
( |
| ) |
const |
Retrieve the delta theta value wrt vector from IP to segment position.
- Returns
- Delta theta value
Definition at line 25 of file TGCCandData_v1.cxx.
25 {
26 static const SG::ConstAccessor<uint8_t>
acc(preFixStr +
"deltaTheta");
30}
static constexpr uint8_t DTHETA_BIT_MASK
Bit mask for deltaTheta : 1 bit for sign and 6 bits.
static constexpr float s_dthetaRange
range of the RPC hits z positions
◆ eta()
| uint16_t xAOD::ICandData_v1::eta |
( |
| ) |
const |
|
inherited |
Retrieve the eta.
- Returns
- Eta
Definition at line 33 of file ICandData_v1.cxx.
33 {
34 static const SG::AuxElement::Accessor<uint16_t>
acc(preFixStr +
"eta");
36 }
◆ etaBitRange()
| constexpr uint16_t xAOD::ICandData_v1::etaBitRange |
( |
| ) |
|
|
inlinestaticconstexprinherited |
Definition at line 170 of file ICandData_v1.h.
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::ICandData_v1::etaRange |
( |
| ) |
|
|
inlinestaticconstexprinherited |
Definition at line 169 of file ICandData_v1.h.
static constexpr float s_etaRange
Variables range.
◆ initialize()
Initialize candidate with basic properties.
Initialise the object given some input data
- Parameters
-
Definition at line 74 of file ICandData_v1.cxx.
74 {
78 }
void setBcTag(uint16_t bcTag)
Set the bunch crossing tag.
uint16_t sectorId() const
Retrieve the sector id.
uint16_t bcTag() const
Retrieve the bunch crossing tag.
void setSubdetectorId(uint16_t subdetectorId)
Set the sub detector id.
uint16_t subdetectorId() const
Retrieve the sub detector id.
void setSectorId(uint16_t sectorId)
Set the sector id.
◆ mdtFlag()
| uint8_t xAOD::ICandData_v1::mdtFlag |
( |
| ) |
const |
|
inherited |
Retrieve the MDT flag.
- Returns
- MDT flag
◆ nswSegment()
| uint32_t xAOD::TGCCandData_v1::nswSegment |
( |
| ) |
const |
Retrieve the NSW segments.
- Returns
- NSW segments
Definition at line 32 of file TGCCandData_v1.cxx.
32 {
35}
SG::ConstAccessor< T, ALLOC > ConstAccessor
◆ phi()
| uint16_t xAOD::ICandData_v1::phi |
( |
| ) |
const |
|
inherited |
Retrieve the phi.
- Returns
- Phi
Definition at line 44 of file ICandData_v1.cxx.
44 {
45 static const SG::AuxElement::Accessor<uint16_t>
acc(preFixStr +
"phi");
46
48 }
◆ phiBitRange()
| constexpr uint16_t xAOD::ICandData_v1::phiBitRange |
( |
| ) |
|
|
inlinestaticconstexprinherited |
Definition at line 172 of file ICandData_v1.h.
static constexpr uint16_t s_phiBitRange
◆ phiRange()
| constexpr float xAOD::ICandData_v1::phiRange |
( |
| ) |
|
|
inlinestaticconstexprinherited |
◆ pt()
| uint8_t xAOD::ICandData_v1::pt |
( |
| ) |
const |
|
inherited |
Retrieve the pt.
- Returns
- Pt
Definition at line 58 of file ICandData_v1.cxx.
58 {
59 static const SG::AuxElement::Accessor<uint8_t>
acc(preFixStr +
"pt");
61 }
◆ ptBitRange()
| constexpr uint8_t xAOD::ICandData_v1::ptBitRange |
( |
| ) |
|
|
inlinestaticconstexprinherited |
◆ ptRange()
| constexpr float xAOD::ICandData_v1::ptRange |
( |
| ) |
|
|
inlinestaticconstexprinherited |
◆ sectorId()
| uint16_t xAOD::ICandData_v1::sectorId |
( |
| ) |
const |
|
inherited |
Retrieve the sector id.
- Returns
- Sector ID
◆ setBcTag()
| void xAOD::ICandData_v1::setBcTag |
( |
uint16_t | bcTag | ) |
|
|
inherited |
Set the bunch crossing tag.
- Parameters
-
◆ setCandCharge()
| void xAOD::ICandData_v1::setCandCharge |
( |
uint8_t | candCharge | ) |
|
|
inherited |
Set the candidate charge.
- Parameters
-
◆ setCandQuality()
| void xAOD::ICandData_v1::setCandQuality |
( |
Quality | candQuality | ) |
|
|
inherited |
Set the candidate quality.
- Parameters
-
◆ setCoinType()
| void xAOD::ICandData_v1::setCoinType |
( |
uint8_t | coinType | ) |
|
|
inherited |
Set the coincidence type.
- Parameters
-
Definition at line 63 of file ICandData_v1.cxx.
63 {
65 static const SG::AuxElement::Accessor<uint8_t>
acc(preFixStr +
"coinType");
66 acc(*
this) = coinTypeBin;
67 }
◆ setDeltaPhi()
| void xAOD::TGCCandData_v1::setDeltaPhi |
( |
float | dphi | ) |
|
Set the delta phi value.
- Parameters
-
Definition at line 37 of file TGCCandData_v1.cxx.
37 {
42 acc(*
this) = deltaPhiBin;
43}
SG::Accessor< T, ALLOC > Accessor
◆ setDeltaTheta()
| void xAOD::TGCCandData_v1::setDeltaTheta |
( |
float | dtheta | ) |
|
◆ setEta()
| void xAOD::ICandData_v1::setEta |
( |
float | eta | ) |
|
|
inherited |
Set the eta.
- Parameters
-
Definition at line 26 of file ICandData_v1.cxx.
26 {
29 static const SG::AuxElement::Accessor<uint16_t>
acc(preFixStr +
"eta");
30 acc(*
this) = etaBinary;
31 }
uint16_t eta() const
Retrieve the eta.
◆ setMdtFlag()
| void xAOD::ICandData_v1::setMdtFlag |
( |
uint8_t | mdtFlag | ) |
|
|
inherited |
Set the MDT flag.
- Parameters
-
◆ setNswSegment()
| void xAOD::TGCCandData_v1::setNswSegment |
( |
uint32_t | nswout | ) |
|
◆ setPhi()
| void xAOD::ICandData_v1::setPhi |
( |
float | phi | ) |
|
|
inherited |
Set the phi.
- Parameters
-
Definition at line 38 of file ICandData_v1.cxx.
38 {
40 static const SG::AuxElement::Accessor<uint16_t>
acc(preFixStr +
"phi");
41 acc(*
this) = phiBinary;
42 }
uint16_t phi() const
Retrieve the phi.
◆ setPt()
| void xAOD::ICandData_v1::setPt |
( |
float | pt | ) |
|
|
inherited |
Set the pt.
- Parameters
-
Definition at line 50 of file ICandData_v1.cxx.
50 {
51 const float ptClamped = std::clamp(
pt, 0.0f,
s_ptRange);
54 static const SG::AuxElement::Accessor<uint8_t>
acc(preFixStr +
"pt");
55 acc(*
this) = ptBinary;
56 }
uint8_t pt() const
Retrieve the pt.
◆ setSectorId()
| void xAOD::ICandData_v1::setSectorId |
( |
uint16_t | sectorId | ) |
|
|
inherited |
Set the sector id.
- Parameters
-
◆ setSubdetectorId()
| void xAOD::ICandData_v1::setSubdetectorId |
( |
uint16_t | subdetectorId | ) |
|
|
inherited |
Set the sub detector id.
- Parameters
-
◆ setThreshold()
| void xAOD::ICandData_v1::setThreshold |
( |
uint8_t | threshold | ) |
|
|
inherited |
Set the threshold.
- Parameters
-
◆ subdetectorId()
| uint16_t xAOD::ICandData_v1::subdetectorId |
( |
| ) |
const |
|
inherited |
Retrieve the sub detector id.
- Returns
- Subdetector ID
◆ threshold()
| uint8_t xAOD::ICandData_v1::threshold |
( |
| ) |
const |
|
inherited |
◆ COINTYPE_BIT_MASK
| uint8_t xAOD::ICandData_v1::COINTYPE_BIT_MASK = 0x7 |
|
staticconstexprprotectedinherited |
◆ DPHI_BIT_MASK
| uint8_t xAOD::TGCCandData_v1::DPHI_BIT_MASK = 0x7 |
|
staticconstexprprivate |
Bit mask for deltaPhi : 1 bit for sign and 3 bits.
Definition at line 65 of file TGCCandData_v1.h.
◆ DTHETA_BIT_MASK
| uint8_t xAOD::TGCCandData_v1::DTHETA_BIT_MASK = 0x3f |
|
staticconstexprprivate |
Bit mask for deltaTheta : 1 bit for sign and 6 bits.
Definition at line 67 of file TGCCandData_v1.h.
◆ NSW_BIT_MASK
| uint32_t xAOD::TGCCandData_v1::NSW_BIT_MASK = 0xfffffff |
|
staticconstexprprivate |
◆ s_dphiRange
| float xAOD::TGCCandData_v1::s_dphiRange = 0.032 |
|
staticconstexprprivate |
◆ s_dthetaRange
| float xAOD::TGCCandData_v1::s_dthetaRange = 0.160 |
|
staticconstexprprivate |
◆ s_etaBitRange
| uint16_t xAOD::ICandData_v1::s_etaBitRange = 0x3fff |
|
staticconstexprprotectedinherited |
Variables bit size 14 bits for eta, 9 bits for phi, 8 bits for pt.
Definition at line 185 of file ICandData_v1.h.
◆ s_etaRange
| float xAOD::ICandData_v1::s_etaRange = 2.7 |
|
staticconstexprprotectedinherited |
◆ s_phiBitRange
| uint16_t xAOD::ICandData_v1::s_phiBitRange = 0x1ff |
|
staticconstexprprotectedinherited |
◆ s_phiRange
| float xAOD::ICandData_v1::s_phiRange = 2.0 * M_PI |
|
staticconstexprprotectedinherited |
◆ s_posRange
| float xAOD::TGCCandData_v1::s_posRange = 12500.0F |
|
staticconstexprprivate |
◆ s_ptBitRange
| uint8_t xAOD::ICandData_v1::s_ptBitRange = 0xff |
|
staticconstexprprotectedinherited |
◆ s_ptRange
| float xAOD::ICandData_v1::s_ptRange = 1000.0 |
|
staticconstexprprotectedinherited |
The documentation for this class was generated from the following files: