![]() |
ATLAS Offline Software
|
Class to hold eFexROI TOB bits. More...
#include <eEmTOB.h>
Public Member Functions | |
| eEmTOB (const xAOD::eFexEMRoI &eFexTOB) | |
| Constructor taking an eFexROITOB to inisialise bits. More... | |
| eEmTOB (const GlobalSim::IOBitwise::IeEmTOB &eEmTOB) | |
| Constructor taking an existing eEmTOB to inisialise bits. More... | |
| eEmTOB (const GlobalSim::IOBitwise::ICommonTOB &, const std::bitset< s_RHad_width > &, const std::bitset< s_REta_width > &, const std::bitset< s_WsTot_width > &, const std::bitset< s_Seed_width > &, const std::bitset< s_UpNotDown_width > &, const std::bitset< s_SeedIsMax_width > &) | |
| virtual | ~eEmTOB () |
| Destructor. More... | |
| virtual const std::bitset< s_RHad_width > & | RHad_bits () const override |
| Returns the eFexRoI Rhad threshold bits. More... | |
| virtual const std::bitset< s_WsTot_width > & | WsTot_bits () const override |
| Returns the eFexRoI Wstot threshold bits. More... | |
| virtual const std::bitset< s_REta_width > & | REta_bits () const override |
| Returns the eFexRoI REta threshold bits. More... | |
| virtual const std::bitset< s_Seed_width > & | Seed_bits () const override |
| Returns the eFexRoI seed eta position bits. More... | |
| virtual const std::bitset< s_UpNotDown_width > & | UpNotDown_bit () const override |
| Returns the eFexRoI up not down bit. More... | |
| virtual const std::bitset< s_SeedIsMax_width > & | SeedIsMax_bit () const override |
| Returns the eFexRoI seed is a local maxima bit. More... | |
| virtual std::string | to_string () const override |
| print out contents to string More... | |
| virtual std::bitset< s_et_width > | et_bits () const =0 |
| Returns the eT bits of this TOB. More... | |
| virtual std::bitset< s_eta_width > | eta_bits () const =0 |
| Returns the eta bits of this TOB. More... | |
| virtual std::bitset< s_phi_width > | phi_bits () const =0 |
| Returns the phi bits of this TOB. More... | |
Static Public Attributes | |
| static const std::size_t | s_RHad_width {2} |
| Count: Size of hadronic thresholds satisfied bitset. More... | |
| static const std::size_t | s_WsTot_width {2} |
| Count: Size of WsTot algorithm thresholds satisfied bitset. More... | |
| static const std::size_t | s_REta_width {2} |
| Count: Size of R0 thresholds satisfied bitset. More... | |
| static const std::size_t | s_Seed_width {2} |
| Count: Size of Seed eta position in the TOB bitset. More... | |
| static const std::size_t | s_UpNotDown_width {1} |
| Count: Size of UpnotDown bit. More... | |
| static const std::size_t | s_SeedIsMax_width {1} |
| Count: Size of Seed supercell is a local maxima bit. More... | |
| 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 Member Functions | |
| 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... | |
Private Attributes | |
| std::bitset< s_RHad_width > | m_RHad_bits |
| Property: RHad threshold bitset within the eEmTOB word. More... | |
| std::bitset< s_WsTot_width > | m_WsTot_bits |
| Property: Wstot threshold bitset within the eEmTOB word. More... | |
| std::bitset< s_REta_width > | m_REta_bits |
| Property: REta threshold bitset within the eEmTOB word. More... | |
| std::bitset< s_Seed_width > | m_Seed_bits |
| Property: Seed eta position bitset within the eEmTOB word. More... | |
| std::bitset< s_UpNotDown_width > | m_UpNotDown_bit |
| Property: Up not down bitset within the eEmTOB word. More... | |
| std::bitset< s_SeedIsMax_width > | m_SeedIsMax_bit |
| Property: Seed is a maximum bitset within the eEmTOB word. More... | |
| 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 eFexROI TOB bits.
This class stores the threshold, seed and boolean bits which describe the output of an eFexROI, and defines functions to retrieve this information. It has access to the CommonTOB class information and can be used as a CommonTOB.
Definition at line 23 of file Global/GlobalSimulation/src/IO/eEmTOB.h.
| GlobalSim::IOBitwise::eEmTOB::eEmTOB | ( | const xAOD::eFexEMRoI & | eFexTOB | ) |
Constructor taking an eFexROITOB to inisialise bits.
| [in] | eFexTOB | The 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 Global/GlobalSimulation/src/IO/eEmTOB.cxx.
| GlobalSim::IOBitwise::eEmTOB::eEmTOB | ( | const GlobalSim::IOBitwise::IeEmTOB & | eEmTOB | ) |
Constructor taking an existing eEmTOB to inisialise bits.
To be used to create, and initilise a global eEmTOB from an existing eEmTOB eFexRoI threshold bits are set here, the CommonTOB constructor is used to initialise the common bits.
Definition at line 18 of file Global/GlobalSimulation/src/IO/eEmTOB.cxx.
| GlobalSim::IOBitwise::eEmTOB::eEmTOB | ( | const GlobalSim::IOBitwise::ICommonTOB & | , |
| const std::bitset< s_RHad_width > & | , | ||
| const std::bitset< s_REta_width > & | , | ||
| const std::bitset< s_WsTot_width > & | , | ||
| const std::bitset< s_Seed_width > & | , | ||
| const std::bitset< s_UpNotDown_width > & | , | ||
| const std::bitset< s_SeedIsMax_width > & | |||
| ) |
|
inlinevirtual |
|
pure virtualinherited |
Returns the eT bits of this TOB.
Implemented in GlobalSim::IOBitwise::CommonTOB.
|
overridevirtualinherited |
Returns the eT bits of this TOB.
Implements GlobalSim::IOBitwise::ICommonTOB.
Definition at line 25 of file CommonTOB.cxx.
|
pure virtualinherited |
Returns the eta bits of this TOB.
Implemented in GlobalSim::IOBitwise::CommonTOB.
|
overridevirtualinherited |
Returns the eta bits of this TOB.
Implements GlobalSim::IOBitwise::ICommonTOB.
Definition at line 29 of file CommonTOB.cxx.
|
pure virtualinherited |
Returns the phi bits of this TOB.
Implemented in GlobalSim::IOBitwise::CommonTOB.
|
overridevirtualinherited |
Returns the phi bits of this TOB.
Implements GlobalSim::IOBitwise::ICommonTOB.
Definition at line 33 of file CommonTOB.cxx.
|
overridevirtual |
Returns the eFexRoI REta threshold bits.
Implements GlobalSim::IOBitwise::IeEmTOB.
Definition at line 54 of file Global/GlobalSimulation/src/IO/eEmTOB.cxx.
|
overridevirtual |
Returns the eFexRoI Rhad threshold bits.
Implements GlobalSim::IOBitwise::IeEmTOB.
Definition at line 46 of file Global/GlobalSimulation/src/IO/eEmTOB.cxx.
|
overridevirtual |
Returns the eFexRoI seed eta position bits.
Implements GlobalSim::IOBitwise::IeEmTOB.
Definition at line 58 of file Global/GlobalSimulation/src/IO/eEmTOB.cxx.
|
overridevirtual |
Returns the eFexRoI seed is a local maxima bit.
True if the seed supercell is a local maxima
Implements GlobalSim::IOBitwise::IeEmTOB.
Definition at line 66 of file Global/GlobalSimulation/src/IO/eEmTOB.cxx.
|
overridevirtual |
print out contents to string
Reimplemented from GlobalSim::IOBitwise::CommonTOB.
Reimplemented in GlobalSim::IOBitwise::eEmNbhoodTOB, GlobalSim::IOBitwise::eEmEg1eRatioTOB, and GlobalSim::IOBitwise::eEmEg1BDTTOB.
Definition at line 70 of file Global/GlobalSimulation/src/IO/eEmTOB.cxx.
|
overridevirtual |
Returns the eFexRoI up not down bit.
True, if the seed includes the supercell above in phi.
Implements GlobalSim::IOBitwise::IeEmTOB.
Definition at line 62 of file Global/GlobalSimulation/src/IO/eEmTOB.cxx.
|
overridevirtual |
Returns the eFexRoI Wstot threshold bits.
Implements GlobalSim::IOBitwise::IeEmTOB.
Definition at line 50 of file Global/GlobalSimulation/src/IO/eEmTOB.cxx.
|
privateinherited |
Property: eT bitset within the common TOB word.
Definition at line 66 of file CommonTOB.h.
|
privateinherited |
Property: eta bitset within the common TOB word.
Definition at line 68 of file CommonTOB.h.
|
privateinherited |
Property: phi bitset within the common TOB word.
Definition at line 70 of file CommonTOB.h.
|
private |
Property: REta threshold bitset within the eEmTOB word.
Definition at line 80 of file Global/GlobalSimulation/src/IO/eEmTOB.h.
|
private |
Property: RHad threshold bitset within the eEmTOB word.
Definition at line 76 of file Global/GlobalSimulation/src/IO/eEmTOB.h.
|
private |
Property: Seed eta position bitset within the eEmTOB word.
Definition at line 82 of file Global/GlobalSimulation/src/IO/eEmTOB.h.
|
private |
Property: Seed is a maximum bitset within the eEmTOB word.
Definition at line 86 of file Global/GlobalSimulation/src/IO/eEmTOB.h.
|
private |
Property: Up not down bitset within the eEmTOB word.
Definition at line 84 of file Global/GlobalSimulation/src/IO/eEmTOB.h.
|
private |
Property: Wstot threshold bitset within the eEmTOB word.
Definition at line 78 of file Global/GlobalSimulation/src/IO/eEmTOB.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.
|
staticinherited |
|
staticinherited |
|
staticinherited |
|
staticinherited |
|
staticinherited |
|
staticinherited |
1.8.18