![]() |
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... | |
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... | |
Static Public Attributes | |
static const std::size_t | s_et_width {13} |
Size of the eT bitset. More... | |
static const std::size_t | s_eta_width {10} |
Size of the eta bitset. More... | |
static const std::size_t | s_phi_width {9} |
Size of the phi bitset. More... | |
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 11 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.
|
inlinevirtual |
|
overridevirtual |
Returns the eT bits of this TOB.
Implements GlobalSim::IOBitwise::ICommonTOB.
Definition at line 19 of file CommonTOB.cxx.
|
overridevirtual |
Returns the eta bits of this TOB.
Implements GlobalSim::IOBitwise::ICommonTOB.
Definition at line 23 of file CommonTOB.cxx.
|
overridevirtual |
Returns the phi bits of this TOB.
Implements GlobalSim::IOBitwise::ICommonTOB.
Definition at line 27 of file CommonTOB.cxx.
|
private |
Property: eT bitset within the common TOB word.
Definition at line 53 of file CommonTOB.h.
|
private |
Property: eta bitset within the common TOB word.
Definition at line 55 of file CommonTOB.h.
|
private |
Property: phi bitset within the common TOB word.
Definition at line 57 of file CommonTOB.h.
|
staticinherited |
Size of the eT bitset.
Definition at line 34 of file ICommonTOB.h.
|
staticinherited |
Size of the eta bitset.
Definition at line 36 of file ICommonTOB.h.
|
staticinherited |
Size of the phi bitset.
Definition at line 38 of file ICommonTOB.h.