ATLAS Offline Software
Trigger
TrigT1
Muon
L0MuonInterface
src
ICandData.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#include "
L0MuonInterface/ICandData.h
"
6
7
namespace
L0Muon
8
{
9
12
void
ICandData::setEta
(
float
eta)
13
{
15
m_eta
= (
uint16_t
)(
eta
/
s_etaRange
* (
float
)
s_etaBitRange
);
16
}
17
void
ICandData::setPhi
(
float
phi)
18
{
19
m_phi
= (
uint16_t
)(
phi
/
s_phiRange
* (
float
)
s_phiBitRange
);
20
}
21
void
ICandData::setPt
(
float
pt
)
22
{
23
m_pt
= (
uint16_t
)(
pt
/
s_ptRange
* (
float
)
s_ptBitRange
);
24
}
25
27
float
ICandData::eta
()
const
28
{
29
return
(
float
)
m_eta
/ (
float
)
s_etaBitRange
*
s_etaRange
;
30
}
31
float
ICandData::phi
()
const
32
{
33
return
(
float
)
m_phi
/ (
float
)
s_phiBitRange
*
s_phiRange
;
34
}
35
float
ICandData::pt
()
const
36
{
37
return
(
float
)
m_pt
/ (
float
)
s_ptBitRange
*
s_ptRange
;
38
}
39
40
}
// namespace L0Muon
L0Muon::ICandData::eta
float eta() const
get the kinematic parameters
Definition:
ICandData.cxx:27
L0Muon::ICandData::s_phiRange
static constexpr float s_phiRange
Definition:
ICandData.h:54
L0Muon::ICandData::s_ptRange
static constexpr float s_ptRange
Definition:
ICandData.h:55
L0Muon::ICandData::s_ptBitRange
static constexpr uint16_t s_ptBitRange
Definition:
ICandData.h:61
test_pyathena.pt
pt
Definition:
test_pyathena.py:11
L0Muon::ICandData::s_etaBitRange
static constexpr uint16_t s_etaBitRange
variables bit size 14 bits for eta, 9 bits for phi, 8 bits for pt
Definition:
ICandData.h:59
L0Muon
Definition:
L0MuonSmearingAlg.cxx:13
L0Muon::ICandData::m_pt
uint16_t m_pt
pt of the candidate
Definition:
ICandData.h:74
L0Muon::ICandData::s_etaRange
static constexpr float s_etaRange
variables range
Definition:
ICandData.h:53
ICandData.h
L0Muon::ICandData::setPt
void setPt(float pt)
Definition:
ICandData.cxx:21
xAOD::uint16_t
setWord1 uint16_t
Definition:
eFexEMRoI_v1.cxx:93
L0Muon::ICandData::m_phi
uint16_t m_phi
phi coordinate of the candidate
Definition:
ICandData.h:72
L0Muon::ICandData::setEta
void setEta(float eta)
Set functions of the modifiable parameters.
Definition:
ICandData.cxx:12
L0Muon::ICandData::phi
float phi() const
Definition:
ICandData.cxx:31
L0Muon::ICandData::pt
float pt() const
Definition:
ICandData.cxx:35
L0Muon::ICandData::s_phiBitRange
static constexpr uint16_t s_phiBitRange
Definition:
ICandData.h:60
L0Muon::ICandData::m_eta
uint16_t m_eta
theta coordinate of the candidate
Definition:
ICandData.h:70
L0Muon::ICandData::setPhi
void setPhi(float phi)
Definition:
ICandData.cxx:17
python.LArMinBiasAlgConfig.float
float
Definition:
LArMinBiasAlgConfig.py:65
Generated on Fri Sep 5 2025 21:11:16 for ATLAS Offline Software by
1.8.18