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

More...

#include <eEmEg1BDTTOB.h>

Inheritance diagram for GlobalSim::IOBitwise::eEmEg1BDTTOB:
Collaboration diagram for GlobalSim::IOBitwise::eEmEg1BDTTOB:

Public Member Functions

 eEmEg1BDTTOB (const xAOD::eFexEMRoI &eFexTOB, std::bitset< s_eGamma1BDT_width > eGamma1BDT_bits)
 Constructor taking an eFexROITOB and eGamma1 BDT output bits to initialise bits.
 eEmEg1BDTTOB (const eEmTOB &, std::bitset< eEmEg1BDTTOB::s_eGamma1BDT_width > eGamma1BDT_bits)
 Constructor taking an eEmTOB and eGamma1 BDT output bits to initialise bits.
virtual ~eEmEg1BDTTOB ()
virtual std::bitset< eEmEg1BDTTOB::s_eGamma1BDT_widtheGamma1BDT_bits () const
virtual std::string to_string () const
virtual const std::bitset< s_RHad_width > & RHad_bits () const
virtual const std::bitset< s_WsTot_width > & WsTot_bits () const
virtual const std::bitset< s_REta_width > & REta_bits () const
virtual const std::bitset< s_Seed_width > & Seed_bits () const
virtual const std::bitset< s_UpNotDown_width > & UpNotDown_bit () const
virtual const std::bitset< s_SeedIsMax_width > & SeedIsMax_bit () const
virtual std::bitset< s_et_widthet_bits () const
virtual std::bitset< s_eta_widtheta_bits () const
virtual std::bitset< s_phi_widthphi_bits () const

Static Public Attributes

static const std::size_t s_eGamma1BDT_width {10}
static constexpr std::size_t s_RHad_width {2}
 Count: Size of hadronic thresholds satisfied bitset.
static constexpr std::size_t s_WsTot_width {2}
 Count: Size of WsTot algorithm thresholds satisfied bitset.
static constexpr std::size_t s_REta_width {2}
 Count: Size of R0 thresholds satisfied bitset.
static constexpr std::size_t s_Seed_width {2}
 Count: Size of Seed eta position in the TOB bitset.
static constexpr std::size_t s_UpNotDown_width {1}
 Count: Size of UpnotDown bit.
static constexpr std::size_t s_SeedIsMax_width {1}
 Count: Size of Seed supercell is a local maxima bit.
static constexpr std::size_t s_et_width {13}
 Size of the eT bitset.
static constexpr std::size_t s_eta_width {10}
 Size of the eta bitset.
static constexpr std::size_t s_phi_width {9}
 Size of the phi bitset.
static constexpr std::size_t s_eFex_granularity {100}
static constexpr ulong max_et {(1UL << s_et_width)-1}

Private Attributes

std::bitset< eEmEg1BDTTOB::s_eGamma1BDT_widthm_eGamma1BDT_bits
 Property: Bitset to hold the eGamma1BDT bits.
std::bitset< s_RHad_widthm_RHad_bits
 Property: RHad threshold bitset within the eEmTOB word.
std::bitset< s_WsTot_widthm_WsTot_bits
 Property: Wstot threshold bitset within the eEmTOB word.
std::bitset< s_REta_widthm_REta_bits
 Property: REta threshold bitset within the eEmTOB word.
std::bitset< s_Seed_widthm_Seed_bits
 Property: Seed eta position bitset within the eEmTOB word.
std::bitset< s_UpNotDown_widthm_UpNotDown_bit
 Property: Up not down bitset within the eEmTOB word.
std::bitset< s_SeedIsMax_widthm_SeedIsMax_bit
 Property: Seed is a maximum bitset within the eEmTOB word.
std::bitset< s_et_widthm_et_bits
 Property: eT bitset within the common TOB word.
std::bitset< s_eta_widthm_eta_bits
 Property: eta bitset within the common TOB word.
std::bitset< s_phi_widthm_phi_bits
 Property: phi bitset within the common TOB word.

Detailed Description

Definition at line 25 of file eEmEg1BDTTOB.h.

Constructor & Destructor Documentation

◆ eEmEg1BDTTOB() [1/2]

GlobalSim::IOBitwise::eEmEg1BDTTOB::eEmEg1BDTTOB ( const xAOD::eFexEMRoI & eFexTOB,
std::bitset< s_eGamma1BDT_width > eGamma1BDT_bits )

Constructor taking an eFexROITOB and eGamma1 BDT output bits to initialise bits.

Parameters
[in]eFexTOBThe input eFexRoI TOB defining the common/eFex bits.
[in]eGamma1BDT_bitsThe input eGamma1 BDT bits defining the result of the algorithm.

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

◆ eEmEg1BDTTOB() [2/2]

GlobalSim::IOBitwise::eEmEg1BDTTOB::eEmEg1BDTTOB ( const eEmTOB & tob,
std::bitset< eEmEg1BDTTOB::s_eGamma1BDT_width > eGamma1BDT_bits )

Constructor taking an eEmTOB and eGamma1 BDT output bits to initialise bits.

Parameters
[in]eEmTOBThe input eEmTOB defining the common/eFex bits.
[in]eGamma1BDT_bitsThe input eGamma1 BDT bits defining the result of the algorithm.

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

Definition at line 17 of file eEmEg1BDTTOB.cxx.

18 :
19 eEmTOB(tob),
std::bitset< eEmEg1BDTTOB::s_eGamma1BDT_width > m_eGamma1BDT_bits
Property: Bitset to hold the eGamma1BDT bits.
virtual std::bitset< eEmEg1BDTTOB::s_eGamma1BDT_width > eGamma1BDT_bits() const
eEmTOB(const xAOD::eFexEMRoI &eFexTOB)
Constructor taking an eFexROITOB to initialise bits.

◆ ~eEmEg1BDTTOB()

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

Definition at line 56 of file eEmEg1BDTTOB.h.

56{};

Member Function Documentation

◆ eGamma1BDT_bits()

std::bitset< eEmEg1BDTTOB::s_eGamma1BDT_width > GlobalSim::IOBitwise::eEmEg1BDTTOB::eGamma1BDT_bits ( ) const
virtual

Definition at line 22 of file eEmEg1BDTTOB.cxx.

22 {
23 return m_eGamma1BDT_bits;
24 }

◆ et_bits()

std::bitset< CommonTOB::s_et_width > GlobalSim::IOBitwise::CommonTOB::et_bits ( ) const
virtualinherited

Definition at line 28 of file CommonTOB.cxx.

28 {
29 return m_et_bits;
30 }
std::bitset< s_et_width > m_et_bits
Property: eT bitset within the common TOB word.
Definition CommonTOB.h:82

◆ eta_bits()

std::bitset< CommonTOB::s_eta_width > GlobalSim::IOBitwise::CommonTOB::eta_bits ( ) const
virtualinherited

Definition at line 32 of file CommonTOB.cxx.

32 {
33 return m_eta_bits;
34 }
std::bitset< s_eta_width > m_eta_bits
Property: eta bitset within the common TOB word.
Definition CommonTOB.h:84

◆ phi_bits()

std::bitset< CommonTOB::s_phi_width > GlobalSim::IOBitwise::CommonTOB::phi_bits ( ) const
virtualinherited

Definition at line 36 of file CommonTOB.cxx.

36 {
37 return m_phi_bits;
38 }
std::bitset< s_phi_width > m_phi_bits
Property: phi bitset within the common TOB word.
Definition CommonTOB.h:86

◆ REta_bits()

const std::bitset< eEmTOB::s_REta_width > & GlobalSim::IOBitwise::eEmTOB::REta_bits ( ) const
virtualinherited

Definition at line 56 of file Global/GlobalSimulation/src/IO/eEmTOB.cxx.

56 {
57 return m_REta_bits;
58 }
std::bitset< s_REta_width > m_REta_bits
Property: REta threshold bitset within the eEmTOB word.

◆ RHad_bits()

const std::bitset< eEmTOB::s_RHad_width > & GlobalSim::IOBitwise::eEmTOB::RHad_bits ( ) const
virtualinherited

Definition at line 48 of file Global/GlobalSimulation/src/IO/eEmTOB.cxx.

48 {
49 return m_RHad_bits;
50 }
std::bitset< s_RHad_width > m_RHad_bits
Property: RHad threshold bitset within the eEmTOB word.

◆ Seed_bits()

const std::bitset< eEmTOB::s_Seed_width > & GlobalSim::IOBitwise::eEmTOB::Seed_bits ( ) const
virtualinherited

Definition at line 60 of file Global/GlobalSimulation/src/IO/eEmTOB.cxx.

60 {
61 return m_Seed_bits;
62 }
std::bitset< s_Seed_width > m_Seed_bits
Property: Seed eta position bitset within the eEmTOB word.

◆ SeedIsMax_bit()

const std::bitset< eEmTOB::s_SeedIsMax_width > & GlobalSim::IOBitwise::eEmTOB::SeedIsMax_bit ( ) const
virtualinherited

Definition at line 68 of file Global/GlobalSimulation/src/IO/eEmTOB.cxx.

68 {
69 return m_SeedIsMax_bit;
70 }
std::bitset< s_SeedIsMax_width > m_SeedIsMax_bit
Property: Seed is a maximum bitset within the eEmTOB word.

◆ to_string()

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

Reimplemented from GlobalSim::IOBitwise::eEmTOB.

Definition at line 26 of file eEmEg1BDTTOB.cxx.

26 {
27
28 auto ss = std::stringstream();
29 ss << eEmTOB::to_string() << '\n'
30 << "eEmEg1BDTTOB: m_eGamma1BDT_bits " << m_eGamma1BDT_bits << '\n';
31 return ss.str();
32 }
static Double_t ss

◆ UpNotDown_bit()

const std::bitset< eEmTOB::s_UpNotDown_width > & GlobalSim::IOBitwise::eEmTOB::UpNotDown_bit ( ) const
virtualinherited

Definition at line 64 of file Global/GlobalSimulation/src/IO/eEmTOB.cxx.

64 {
65 return m_UpNotDown_bit;
66 }
std::bitset< s_UpNotDown_width > m_UpNotDown_bit
Property: Up not down bitset within the eEmTOB word.

◆ WsTot_bits()

const std::bitset< eEmTOB::s_WsTot_width > & GlobalSim::IOBitwise::eEmTOB::WsTot_bits ( ) const
virtualinherited

Definition at line 52 of file Global/GlobalSimulation/src/IO/eEmTOB.cxx.

52 {
53 return m_WsTot_bits;
54 }
std::bitset< s_WsTot_width > m_WsTot_bits
Property: Wstot threshold bitset within the eEmTOB word.

Member Data Documentation

◆ m_eGamma1BDT_bits

std::bitset<eEmEg1BDTTOB::s_eGamma1BDT_width> GlobalSim::IOBitwise::eEmEg1BDTTOB::m_eGamma1BDT_bits
private

Property: Bitset to hold the eGamma1BDT bits.

Definition at line 65 of file eEmEg1BDTTOB.h.

◆ m_et_bits

std::bitset<s_et_width> GlobalSim::IOBitwise::CommonTOB::m_et_bits
privateinherited

Property: eT bitset within the common TOB word.

Definition at line 82 of file CommonTOB.h.

◆ m_eta_bits

std::bitset<s_eta_width> GlobalSim::IOBitwise::CommonTOB::m_eta_bits
privateinherited

Property: eta bitset within the common TOB word.

Definition at line 84 of file CommonTOB.h.

◆ m_phi_bits

std::bitset<s_phi_width> GlobalSim::IOBitwise::CommonTOB::m_phi_bits
privateinherited

Property: phi bitset within the common TOB word.

Definition at line 86 of file CommonTOB.h.

◆ m_REta_bits

std::bitset<s_REta_width> GlobalSim::IOBitwise::eEmTOB::m_REta_bits
privateinherited

Property: REta threshold bitset within the eEmTOB word.

Definition at line 98 of file Global/GlobalSimulation/src/IO/eEmTOB.h.

◆ m_RHad_bits

std::bitset<s_RHad_width> GlobalSim::IOBitwise::eEmTOB::m_RHad_bits
privateinherited

Property: RHad threshold bitset within the eEmTOB word.

Definition at line 94 of file Global/GlobalSimulation/src/IO/eEmTOB.h.

◆ m_Seed_bits

std::bitset<s_Seed_width> GlobalSim::IOBitwise::eEmTOB::m_Seed_bits
privateinherited

Property: Seed eta position bitset within the eEmTOB word.

Definition at line 100 of file Global/GlobalSimulation/src/IO/eEmTOB.h.

◆ m_SeedIsMax_bit

std::bitset<s_SeedIsMax_width> GlobalSim::IOBitwise::eEmTOB::m_SeedIsMax_bit
privateinherited

Property: Seed is a maximum bitset within the eEmTOB word.

Definition at line 104 of file Global/GlobalSimulation/src/IO/eEmTOB.h.

◆ m_UpNotDown_bit

std::bitset<s_UpNotDown_width> GlobalSim::IOBitwise::eEmTOB::m_UpNotDown_bit
privateinherited

Property: Up not down bitset within the eEmTOB word.

Definition at line 102 of file Global/GlobalSimulation/src/IO/eEmTOB.h.

◆ m_WsTot_bits

std::bitset<s_WsTot_width> GlobalSim::IOBitwise::eEmTOB::m_WsTot_bits
privateinherited

Property: Wstot threshold bitset within the eEmTOB word.

Definition at line 96 of file Global/GlobalSimulation/src/IO/eEmTOB.h.

◆ max_et

ulong GlobalSim::IOBitwise::CommonTOB::max_et {(1UL << s_et_width)-1}
staticconstexprinherited

Definition at line 36 of file CommonTOB.h.

36{(1UL << s_et_width)-1};
static constexpr std::size_t s_et_width
Size of the eT bitset.
Definition CommonTOB.h:28

◆ s_eFex_granularity

std::size_t GlobalSim::IOBitwise::CommonTOB::s_eFex_granularity {100}
staticconstexprinherited

Definition at line 34 of file CommonTOB.h.

34{100}; // MeV

◆ s_eGamma1BDT_width

const std::size_t GlobalSim::IOBitwise::eEmEg1BDTTOB::s_eGamma1BDT_width {10}
static

Definition at line 28 of file eEmEg1BDTTOB.h.

28{10};

◆ s_et_width

std::size_t GlobalSim::IOBitwise::CommonTOB::s_et_width {13}
staticconstexprinherited

Size of the eT bitset.

Definition at line 28 of file CommonTOB.h.

28{13};

◆ s_eta_width

std::size_t GlobalSim::IOBitwise::CommonTOB::s_eta_width {10}
staticconstexprinherited

Size of the eta bitset.

Definition at line 30 of file CommonTOB.h.

30{10};

◆ s_phi_width

std::size_t GlobalSim::IOBitwise::CommonTOB::s_phi_width {9}
staticconstexprinherited

Size of the phi bitset.

Definition at line 32 of file CommonTOB.h.

32{9};

◆ s_REta_width

std::size_t GlobalSim::IOBitwise::eEmTOB::s_REta_width {2}
staticconstexprinherited

Count: Size of R0 thresholds satisfied bitset.

Definition at line 34 of file Global/GlobalSimulation/src/IO/eEmTOB.h.

34{2};

◆ s_RHad_width

std::size_t GlobalSim::IOBitwise::eEmTOB::s_RHad_width {2}
staticconstexprinherited

Count: Size of hadronic thresholds satisfied bitset.

Definition at line 30 of file Global/GlobalSimulation/src/IO/eEmTOB.h.

30{2};

◆ s_Seed_width

std::size_t GlobalSim::IOBitwise::eEmTOB::s_Seed_width {2}
staticconstexprinherited

Count: Size of Seed eta position in the TOB bitset.

Definition at line 36 of file Global/GlobalSimulation/src/IO/eEmTOB.h.

36{2};

◆ s_SeedIsMax_width

std::size_t GlobalSim::IOBitwise::eEmTOB::s_SeedIsMax_width {1}
staticconstexprinherited

Count: Size of Seed supercell is a local maxima bit.

Definition at line 40 of file Global/GlobalSimulation/src/IO/eEmTOB.h.

40{1};

◆ s_UpNotDown_width

std::size_t GlobalSim::IOBitwise::eEmTOB::s_UpNotDown_width {1}
staticconstexprinherited

Count: Size of UpnotDown bit.

Definition at line 38 of file Global/GlobalSimulation/src/IO/eEmTOB.h.

38{1};

◆ s_WsTot_width

std::size_t GlobalSim::IOBitwise::eEmTOB::s_WsTot_width {2}
staticconstexprinherited

Count: Size of WsTot algorithm thresholds satisfied bitset.

Definition at line 32 of file Global/GlobalSimulation/src/IO/eEmTOB.h.

32{2};

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