Data class describing the L0 muon candidates from RPC-SL to MDT-TP.
More...
#include <RPCCandData_v1.h>
Data class describing the L0 muon candidates from RPC-SL to MDT-TP.
Definition at line 19 of file RPCCandData_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 };
◆ RPCCandData_v1()
| xAOD::RPCCandData_v1::RPCCandData_v1 |
( |
| ) |
|
|
default |
◆ ~RPCCandData_v1()
| xAOD::RPCCandData_v1::~RPCCandData_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.
◆ 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
◆ 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 }
◆ 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
-
◆ 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
-
◆ setZPos()
| void xAOD::RPCCandData_v1::setZPos |
( |
std::array< float, 4 > & | zPos | ) |
|
Set the z positions of the RPC sector logic.
- Parameters
-
| zPos | Array of z positions for the RPC sector logic |
Definition at line 17 of file RPCCandData_v1.cxx.
17 {
18 std::array<uint16_t, 4> zPosBins;
19 for (
size_t i = 0;
i <
zPos.size(); ++
i) {
21 zPosBins[
i] = zPosBin;
22 }
24 acc(*
this) = zPosBins;
25 }
static constexpr float s_zPosRange
range of the RPC hits z positions
static constexpr uint16_t s_zPosBitRange
12 bits for z position
std::array< uint16_t, 4 > zPos() const
Retrieve the global z positions of the RPC sector logic.
SG::Accessor< T, ALLOC > Accessor
◆ 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 |
◆ zPos()
| std::array< uint16_t, 4 > xAOD::RPCCandData_v1::zPos |
( |
| ) |
const |
Retrieve the global z positions of the RPC sector logic.
- Returns
- Array of z positions for the RPC sector logic
Definition at line 27 of file RPCCandData_v1.cxx.
27 {
30 }
SG::ConstAccessor< T, ALLOC > ConstAccessor
◆ zPosBitRange()
| constexpr uint16_t xAOD::RPCCandData_v1::zPosBitRange |
( |
| ) |
|
|
inlinestaticconstexpr |
◆ zPosRange()
| constexpr float xAOD::RPCCandData_v1::zPosRange |
( |
| ) |
|
|
inlinestaticconstexpr |
◆ COINTYPE_BIT_MASK
| uint8_t xAOD::ICandData_v1::COINTYPE_BIT_MASK = 0x7 |
|
staticconstexprprotectedinherited |
◆ 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_ptBitRange
| uint8_t xAOD::ICandData_v1::s_ptBitRange = 0xff |
|
staticconstexprprotectedinherited |
◆ s_ptRange
| float xAOD::ICandData_v1::s_ptRange = 1000.0 |
|
staticconstexprprotectedinherited |
◆ s_zPosBitRange
| uint16_t xAOD::RPCCandData_v1::s_zPosBitRange = 0x0fff |
|
staticconstexprprivate |
◆ s_zPosRange
| float xAOD::RPCCandData_v1::s_zPosRange = 12500.0F |
|
staticconstexprprivate |
The documentation for this class was generated from the following files: