More...
#include <CommonTOB.h>
Definition at line 22 of file CommonTOB.h.
◆ CommonTOB() [1/3]
| GlobalSim::IOBitwise::CommonTOB::CommonTOB |
( |
const xAOD::eFexEMRoI & | eFexTOB | ) |
|
Constructor taking an eFexROITOB to initialise common bits.
- Parameters
-
| [in] | eFexTOB | The input eFexRoI TOB defining the common/eFex bits. |
To be used to create and initialise a CommonTOB from an existing eFexTOB
Definition at line 10 of file CommonTOB.cxx.
10 :
14 }
std::bitset< s_et_width > m_et_bits
Property: eT bitset within the common TOB word.
std::bitset< s_eta_width > m_eta_bits
Property: eta bitset within the common TOB word.
static constexpr std::size_t s_eFex_granularity
std::bitset< s_phi_width > m_phi_bits
Property: phi bitset within the common TOB word.
float et() const
TOB ET (decoded from TOB, stored for convenience)
int iEtaTopo() const
Getter for integer phi index (0-63)
int iPhiTopo() const
Return phi index in the range used by L1Topo (0->127)
◆ CommonTOB() [2/3]
◆ CommonTOB() [3/3]
| GlobalSim::IOBitwise::CommonTOB::CommonTOB |
( |
const std::bitset< s_et_width > & | et_bits, |
|
|
const std::bitset< s_eta_width > & | eta_bits, |
|
|
const std::bitset< s_phi_width > & | phi_bits ) |
Constructor taking raw bitsets to initialise common bits.
- Parameters
-
| [in] | et_bits | the transverse energy bits |
| [in] | eta_bits | the eta bits |
| [in] | phi_bits | the phi bits |
To be used to create and initialise a CommonTOB from individual 4-vector bitsets.
◆ ~CommonTOB()
| virtual GlobalSim::IOBitwise::CommonTOB::~CommonTOB |
( |
| ) |
|
|
inlinevirtual |
◆ et_bits()
◆ eta_bits()
◆ phi_bits()
◆ to_string()
| std::string GlobalSim::IOBitwise::CommonTOB::to_string |
( |
| ) |
const |
|
virtual |
◆ m_et_bits
| std::bitset<s_et_width> GlobalSim::IOBitwise::CommonTOB::m_et_bits |
|
private |
◆ m_eta_bits
| std::bitset<s_eta_width> GlobalSim::IOBitwise::CommonTOB::m_eta_bits |
|
private |
◆ m_phi_bits
| std::bitset<s_phi_width> GlobalSim::IOBitwise::CommonTOB::m_phi_bits |
|
private |
◆ max_et
| ulong GlobalSim::IOBitwise::CommonTOB::max_et {(1UL << s_et_width)-1} |
|
staticconstexpr |
Definition at line 36 of file CommonTOB.h.
static constexpr std::size_t s_et_width
Size of the eT bitset.
◆ s_eFex_granularity
| std::size_t GlobalSim::IOBitwise::CommonTOB::s_eFex_granularity {100} |
|
staticconstexpr |
◆ s_et_width
| std::size_t GlobalSim::IOBitwise::CommonTOB::s_et_width {13} |
|
staticconstexpr |
Size of the eT bitset.
Definition at line 28 of file CommonTOB.h.
◆ s_eta_width
| std::size_t GlobalSim::IOBitwise::CommonTOB::s_eta_width {10} |
|
staticconstexpr |
Size of the eta bitset.
Definition at line 30 of file CommonTOB.h.
◆ s_phi_width
| std::size_t GlobalSim::IOBitwise::CommonTOB::s_phi_width {9} |
|
staticconstexpr |
Size of the phi bitset.
Definition at line 32 of file CommonTOB.h.
The documentation for this class was generated from the following files: