ATLAS Offline Software
Loading...
Searching...
No Matches
GlobalSim::IeEmTOB Class Referenceabstract

Class to hold eFexROI TOB bits. More...

#include <IeEmTOB.h>

Inheritance diagram for GlobalSim::IeEmTOB:
Collaboration diagram for GlobalSim::IeEmTOB:

Public Member Functions

virtual ~IeEmTOB ()
 Destructor.
virtual const std::bitset< s_RHad_width > & RHad_bits () const=0
 Returns the eFexRoI Rhad threshold bits.
virtual const std::bitset< s_WsTot_width > & WsTot_bits () const=0
 Returns the eFexRoI Wstot threshold bits.
virtual const std::bitset< s_REta_width > & REta_bits () const=0
 Returns the eFexRoI REta threshold bits.
virtual const std::bitset< s_Seed_width > & Seed_bits () const=0
 Returns the eFexRoI seed eta position bits.
virtual const std::bitset< s_UpNotDown_width > & UpNotDown_bit () const=0
 Returns the eFexRoI up not down bit.
virtual const std::bitset< s_SeedIsMax_width > & SeedIsMax_bit () const=0
 Returns the eFexRoI seed is a local maxima bit.
virtual std::string to_string () const=0
 print out contents to string

Static Public Attributes

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.

Detailed Description

Class to hold eFexROI TOB bits.

Implementaton of IeEmSelector.

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.

Selects IeEmTOBs following hypo block VHDL code using window cuts on et, eta and phi.

Definition at line 29 of file IeEmTOB.h.

Constructor & Destructor Documentation

◆ ~IeEmTOB()

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

Destructor.

Definition at line 34 of file IeEmTOB.h.

34{}

Member Function Documentation

◆ REta_bits()

virtual const std::bitset< s_REta_width > & GlobalSim::IOBitwise::IeEmTOB::REta_bits ( ) const
pure virtual

Returns the eFexRoI REta threshold bits.

◆ RHad_bits()

virtual const std::bitset< s_RHad_width > & GlobalSim::IOBitwise::IeEmTOB::RHad_bits ( ) const
pure virtual

Returns the eFexRoI Rhad threshold bits.

◆ Seed_bits()

virtual const std::bitset< s_Seed_width > & GlobalSim::IOBitwise::IeEmTOB::Seed_bits ( ) const
pure virtual

Returns the eFexRoI seed eta position bits.

◆ SeedIsMax_bit()

virtual const std::bitset< s_SeedIsMax_width > & GlobalSim::IOBitwise::IeEmTOB::SeedIsMax_bit ( ) const
pure virtual

Returns the eFexRoI seed is a local maxima bit.

True if the seed supercell is a local maxima

◆ to_string()

std::string GlobalSim::IOBitwise::IeEmTOB::to_string ( ) const
pure virtual

print out contents to string

Implements GlobalSim::IOBitwise::ICommonTOB.

Definition at line 10 of file IeEmTOB.cxx.

10 {
11 std::stringstream ss;
12
13 ss << '\n'
15 << " RHad " << RHad_bits() << " (" << RHad_bits().to_ulong() << ")"
16 << " REta " << REta_bits() << " (" << REta_bits().to_ulong() << ")"
17 << " WsTot " << WsTot_bits() << " (" << WsTot_bits().to_ulong() << ")";
18 return ss.str();
19 }
static Double_t ss
virtual std::string to_string() const =0
print out contents to string
virtual const std::bitset< s_RHad_width > & RHad_bits() const =0
Returns the eFexRoI Rhad threshold bits.
virtual const std::bitset< s_WsTot_width > & WsTot_bits() const =0
Returns the eFexRoI Wstot threshold bits.
virtual const std::bitset< s_REta_width > & REta_bits() const =0
Returns the eFexRoI REta threshold bits.

◆ UpNotDown_bit()

virtual const std::bitset< s_UpNotDown_width > & GlobalSim::IOBitwise::IeEmTOB::UpNotDown_bit ( ) const
pure virtual

Returns the eFexRoI up not down bit.

True, if the seed includes the supercell above in phi.

◆ WsTot_bits()

virtual const std::bitset< s_WsTot_width > & GlobalSim::IOBitwise::IeEmTOB::WsTot_bits ( ) const
pure virtual

Returns the eFexRoI Wstot threshold bits.

Member Data Documentation

◆ s_REta_width

std::size_t GlobalSim::IOBitwise::IeEmTOB::s_REta_width {2}
staticconstexpr

Count: Size of R0 thresholds satisfied bitset.

Definition at line 42 of file IeEmTOB.h.

42{2};

◆ s_RHad_width

std::size_t GlobalSim::IOBitwise::IeEmTOB::s_RHad_width {2}
staticconstexpr

Count: Size of hadronic thresholds satisfied bitset.

Definition at line 38 of file IeEmTOB.h.

38{2};

◆ s_Seed_width

std::size_t GlobalSim::IOBitwise::IeEmTOB::s_Seed_width {2}
staticconstexpr

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

Definition at line 44 of file IeEmTOB.h.

44{2};

◆ s_SeedIsMax_width

std::size_t GlobalSim::IOBitwise::IeEmTOB::s_SeedIsMax_width {1}
staticconstexpr

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

Definition at line 48 of file IeEmTOB.h.

48{1};

◆ s_UpNotDown_width

std::size_t GlobalSim::IOBitwise::IeEmTOB::s_UpNotDown_width {1}
staticconstexpr

Count: Size of UpnotDown bit.

Definition at line 46 of file IeEmTOB.h.

46{1};

◆ s_WsTot_width

std::size_t GlobalSim::IOBitwise::IeEmTOB::s_WsTot_width {2}
staticconstexpr

Count: Size of WsTot algorithm thresholds satisfied bitset.

Definition at line 40 of file IeEmTOB.h.

40{2};

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