ATLAS Offline Software
Loading...
Searching...
No Matches
GlobalSim::IOBitwise::gFexRhoTOB Class Reference

#include <gFexRhoTOB.h>

Collaboration diagram for GlobalSim::IOBitwise::gFexRhoTOB:

Public Member Functions

 gFexRhoTOB (const xAOD::gFexJetRoI &gFexRhoTOB)
 Constructor taking an eFexROITOB to initialise bits.
 gFexRhoTOB (const gFexRhoTOB &gFexRhoTOB)
 Constructor taking an existing gFexRhoTOB to initialise common bits.
 gFexRhoTOB (const uint &rho_bits, const uint &rho_scale)
 Constructor taking an rho bits to initialise common bits.
 gFexRhoTOB (const std::bitset< s_rho_width > &)
 Constructor taking raw bitsets to initialise common bits.
virtual ~gFexRhoTOB ()
virtual std::bitset< s_rho_widthrho_bits () const
virtual std::bitset< s_rho_scalerho_scale () const
virtual std::string to_string () const

Private Attributes

std::bitset< s_rho_widthm_rho_bits
 Property: Rho bitset within the gFexRhoTOB word.
std::bitset< s_rho_scalem_rho_scale
 Property: Rho bitset eT scale within the gFexRhoTOB word.

Static Private Attributes

static constexpr std::size_t s_rho_width {16}
 Count: Size of Rho bitset.
static constexpr std::size_t s_rho_scale {10}
 Count: Size of Rho scale bitset.

Detailed Description

Definition at line 24 of file gFexRhoTOB.h.

Constructor & Destructor Documentation

◆ gFexRhoTOB() [1/4]

GlobalSim::IOBitwise::gFexRhoTOB::gFexRhoTOB ( const xAOD::gFexJetRoI & gFexRhoTOB)

Constructor taking an eFexROITOB to initialise bits.

Parameters
[in]eFexTOBThe input eFexRoI TOB defining the common/eFex bits.

To be used to create, and initilise a global eEmTOB from an existing eFexTOB eFexRoI threshold bits are set here, the CommonTOB constructor is used to initialise the common bits.

Definition at line 10 of file gFexRhoTOB.cxx.

10 :
11 m_rho_bits(gFexRhoTOB.gFexTobEt()),
12 m_rho_scale(gFexRhoTOB.tobEtScale()){}
std::bitset< s_rho_scale > m_rho_scale
Property: Rho bitset eT scale within the gFexRhoTOB word.
Definition gFexRhoTOB.h:84
std::bitset< s_rho_width > m_rho_bits
Property: Rho bitset within the gFexRhoTOB word.
Definition gFexRhoTOB.h:79
gFexRhoTOB(const xAOD::gFexJetRoI &gFexRhoTOB)
Constructor taking an eFexROITOB to initialise bits.

◆ gFexRhoTOB() [2/4]

GlobalSim::IOBitwise::gFexRhoTOB::gFexRhoTOB ( const gFexRhoTOB & gFexRhoTOB)

Constructor taking an existing gFexRhoTOB to initialise common bits.

Parameters
[in]gFexRhoTOBThe input Global gFexRhoTOB defining the common bits.

To be used to create and initilaise a gFexRhoTOB from an existing gFexRhoTOB

Definition at line 14 of file gFexRhoTOB.cxx.

14 :
15 m_rho_bits(tob.rho_bits()),
16 m_rho_scale(tob.rho_scale()){}

◆ gFexRhoTOB() [3/4]

GlobalSim::IOBitwise::gFexRhoTOB::gFexRhoTOB ( const uint & rho_bits,
const uint & rho_scale )

Constructor taking an rho bits to initialise common bits.

Parameters
[in]rho_bitsThe input bits defining the rho bits.

To be used to create and initilaise a gFexRhoTOB from incoming rho bits

Definition at line 18 of file gFexRhoTOB.cxx.

18 :
virtual std::bitset< s_rho_scale > rho_scale() const
virtual std::bitset< s_rho_width > rho_bits() const

◆ gFexRhoTOB() [4/4]

GlobalSim::IOBitwise::gFexRhoTOB::gFexRhoTOB ( const std::bitset< s_rho_width > & )

Constructor taking raw bitsets to initialise common bits.

To be used to create and initialise a gFexRhoTOB from individual bitsets.

◆ ~gFexRhoTOB()

virtual GlobalSim::IOBitwise::gFexRhoTOB::~gFexRhoTOB ( )
inlinevirtual

Definition at line 68 of file gFexRhoTOB.h.

68{};

Member Function Documentation

◆ rho_bits()

std::bitset< gFexRhoTOB::s_rho_width > GlobalSim::IOBitwise::gFexRhoTOB::rho_bits ( ) const
virtual

Definition at line 22 of file gFexRhoTOB.cxx.

22 {
23 return m_rho_bits;
24 }

◆ rho_scale()

std::bitset< gFexRhoTOB::s_rho_scale > GlobalSim::IOBitwise::gFexRhoTOB::rho_scale ( ) const
virtual

Definition at line 26 of file gFexRhoTOB.cxx.

26 {
27 return m_rho_scale;
28 }

◆ to_string()

std::string GlobalSim::IOBitwise::gFexRhoTOB::to_string ( ) const
virtual

Definition at line 30 of file gFexRhoTOB.cxx.

30 {
31 std::stringstream ss;
32
33 ss << "TODO";
34
35 return ss.str();
36 }
static Double_t ss

Member Data Documentation

◆ m_rho_bits

std::bitset<s_rho_width> GlobalSim::IOBitwise::gFexRhoTOB::m_rho_bits
private

Property: Rho bitset within the gFexRhoTOB word.

Definition at line 79 of file gFexRhoTOB.h.

◆ m_rho_scale

std::bitset<s_rho_scale> GlobalSim::IOBitwise::gFexRhoTOB::m_rho_scale
private

Property: Rho bitset eT scale within the gFexRhoTOB word.

Definition at line 84 of file gFexRhoTOB.h.

◆ s_rho_scale

std::size_t GlobalSim::IOBitwise::gFexRhoTOB::s_rho_scale {10}
staticconstexprprivate

Count: Size of Rho scale bitset.

Definition at line 30 of file gFexRhoTOB.h.

30{10};

◆ s_rho_width

std::size_t GlobalSim::IOBitwise::gFexRhoTOB::s_rho_width {16}
staticconstexprprivate

Count: Size of Rho bitset.

Definition at line 27 of file gFexRhoTOB.h.

27{16};

The documentation for this class was generated from the following files: