![]() |
ATLAS Offline Software
|
Class to hold common (eta/eta/phi) TOB bits. More...
#include <CommonTOB.h>
Public Member Functions | |
| CommonTOB (const xAOD::eFexEMRoI &eFexTOB) | |
| Constructor taking an eFexROITOB to initialise common bits. More... | |
| CommonTOB (const GlobalSim::IOBitwise::ICommonTOB &CommonTOB) | |
| Constructor taking an existing CommonTOB to initialise common bits. More... | |
| CommonTOB (const std::bitset< CommonTOB::s_et_width > &et_bits, const std::bitset< CommonTOB::s_eta_width > &eta_bits, const std::bitset< CommonTOB::s_phi_width > &phi_bits) | |
| Constructor taking raw bitsets to initialise common bits. More... | |
| virtual | ~CommonTOB () |
| Destructor. More... | |
| virtual std::bitset< s_et_width > | et_bits () const override |
| Returns the eT bits of this TOB. More... | |
| virtual std::bitset< s_eta_width > | eta_bits () const override |
| Returns the eta bits of this TOB. More... | |
| virtual std::bitset< s_phi_width > | phi_bits () const override |
| Returns the phi bits of this TOB. More... | |
| virtual std::string | to_string () const override |
| print out contents to string More... | |
Static Public Attributes | |
| static constexpr std::size_t | s_et_width {13} |
| Size of the eT bitset. More... | |
| static constexpr std::size_t | s_eta_width {10} |
| Size of the eta bitset. More... | |
| static constexpr std::size_t | s_phi_width {9} |
| Size of the phi bitset. More... | |
| static constexpr std::size_t | s_eFex_granularity {100} |
| static constexpr ulong | max_et {(1UL << s_et_width)-1} |
Private Attributes | |
| std::bitset< ICommonTOB::s_et_width > | m_et_bits |
| Property: eT bitset within the common TOB word. More... | |
| std::bitset< ICommonTOB::s_eta_width > | m_eta_bits |
| Property: eta bitset within the common TOB word. More... | |
| std::bitset< ICommonTOB::s_phi_width > | m_phi_bits |
| Property: phi bitset within the common TOB word. More... | |
Class to hold common (eta/eta/phi) TOB bits.
This base class defines the bitsets to hold the common et, eta, phi bits in GlobalTOBs, and their retrieval functions.
Definition at line 23 of file CommonTOB.h.
| GlobalSim::IOBitwise::CommonTOB::CommonTOB | ( | const xAOD::eFexEMRoI & | eFexTOB | ) |
Constructor taking an eFexROITOB to initialise common bits.
| [in] | eFexTOB | The input eFexRoI TOB defining the common/eFex bits. |
To be used to create, and initilise a CommonTOB from an existing eFexTOB
Definition at line 10 of file CommonTOB.cxx.
| GlobalSim::IOBitwise::CommonTOB::CommonTOB | ( | const GlobalSim::IOBitwise::ICommonTOB & | CommonTOB | ) |
Constructor taking an existing CommonTOB to initialise common bits.
To be used to create and initilaise a CommonTOB from an existing CommonTOB
Definition at line 15 of file CommonTOB.cxx.
| GlobalSim::IOBitwise::CommonTOB::CommonTOB | ( | const std::bitset< CommonTOB::s_et_width > & | et_bits, |
| const std::bitset< CommonTOB::s_eta_width > & | eta_bits, | ||
| const std::bitset< CommonTOB::s_phi_width > & | phi_bits | ||
| ) |
Constructor taking raw bitsets to initialise common bits.
| [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.
Definition at line 19 of file CommonTOB.cxx.
|
inlinevirtual |
|
overridevirtual |
Returns the eT bits of this TOB.
Implements GlobalSim::IOBitwise::ICommonTOB.
Definition at line 25 of file CommonTOB.cxx.
|
overridevirtual |
Returns the eta bits of this TOB.
Implements GlobalSim::IOBitwise::ICommonTOB.
Definition at line 29 of file CommonTOB.cxx.
|
overridevirtual |
Returns the phi bits of this TOB.
Implements GlobalSim::IOBitwise::ICommonTOB.
Definition at line 33 of file CommonTOB.cxx.
|
overridevirtual |
print out contents to string
Implements GlobalSim::IOBitwise::ICommonTOB.
Reimplemented in GlobalSim::IOBitwise::eEmTOB, GlobalSim::IOBitwise::eEmNbhoodTOB, GlobalSim::IOBitwise::eEmEg1eRatioTOB, and GlobalSim::IOBitwise::eEmEg1BDTTOB.
Definition at line 37 of file CommonTOB.cxx.
|
private |
Property: eT bitset within the common TOB word.
Definition at line 66 of file CommonTOB.h.
|
private |
Property: eta bitset within the common TOB word.
Definition at line 68 of file CommonTOB.h.
|
private |
Property: phi bitset within the common TOB word.
Definition at line 70 of file CommonTOB.h.
|
staticconstexprinherited |
Definition at line 43 of file ICommonTOB.h.
|
staticconstexprinherited |
Definition at line 41 of file ICommonTOB.h.
|
staticconstexprinherited |
Size of the eT bitset.
Definition at line 35 of file ICommonTOB.h.
|
staticconstexprinherited |
Size of the eta bitset.
Definition at line 37 of file ICommonTOB.h.
|
staticconstexprinherited |
Size of the phi bitset.
Definition at line 39 of file ICommonTOB.h.
1.8.18