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

Class to hold an eFexRoI and LAr strip neighbourhood. More...

#include <IeEmNbhoodTOB.h>

Inheritance diagram for GlobalSim::IOBitwise::IeEmNbhoodTOB:
Collaboration diagram for GlobalSim::IOBitwise::IeEmNbhoodTOB:

Public Member Functions

virtual ~IeEmNbhoodTOB ()
 Destructor.
virtual const LArStripNeighborhoodNeighbourhood () const =0
 Returns the LarStripNeighbourhood: 3*17 cells centred on the eFexROI.
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.
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::bitset< s_et_widthet_bits () const =0
 Returns the eT bits of this TOB.
virtual std::bitset< s_eta_widtheta_bits () const =0
 Returns the eta bits of this TOB.
virtual std::bitset< s_phi_widthphi_bits () const =0
 Returns the phi bits of this TOB.

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.
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}

Detailed Description

Class to hold an eFexRoI and LAr strip neighbourhood.

This class stores the eFEXROI information contained in an eEmTOB and associates it with a LArStripNeighborhood: a window of 3*17 cells around the centre of an eFexRoI

Definition at line 28 of file IeEmNbhoodTOB.h.

Constructor & Destructor Documentation

◆ ~IeEmNbhoodTOB()

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

Destructor.

Definition at line 32 of file IeEmNbhoodTOB.h.

32{}

Member Function Documentation

◆ et_bits()

virtual std::bitset< s_et_width > GlobalSim::IOBitwise::ICommonTOB::et_bits ( ) const
pure virtualinherited

Returns the eT bits of this TOB.

Implemented in GlobalSim::IOBitwise::CommonTOB.

◆ eta_bits()

virtual std::bitset< s_eta_width > GlobalSim::IOBitwise::ICommonTOB::eta_bits ( ) const
pure virtualinherited

Returns the eta bits of this TOB.

Implemented in GlobalSim::IOBitwise::CommonTOB.

◆ Neighbourhood()

virtual const LArStripNeighborhood & GlobalSim::IOBitwise::IeEmNbhoodTOB::Neighbourhood ( ) const
pure virtual

Returns the LarStripNeighbourhood: 3*17 cells centred on the eFexROI.

◆ phi_bits()

virtual std::bitset< s_phi_width > GlobalSim::IOBitwise::ICommonTOB::phi_bits ( ) const
pure virtualinherited

Returns the phi bits of this TOB.

Implemented in GlobalSim::IOBitwise::CommonTOB.

◆ REta_bits()

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

Returns the eFexRoI REta threshold bits.

Implemented in GlobalSim::IOBitwise::eEmTOB.

◆ RHad_bits()

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

Returns the eFexRoI Rhad threshold bits.

Implemented in GlobalSim::IOBitwise::eEmTOB.

◆ Seed_bits()

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

Returns the eFexRoI seed eta position bits.

Implemented in GlobalSim::IOBitwise::eEmTOB.

◆ SeedIsMax_bit()

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

Returns the eFexRoI seed is a local maxima bit.

True if the seed supercell is a local maxima

Implemented in GlobalSim::IOBitwise::eEmTOB.

◆ to_string()

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

print out contents to string

Implements GlobalSim::IOBitwise::IeEmTOB.

Definition at line 10 of file IeEmNbhoodTOB.cxx.

10 {
11 std::stringstream ss;
12
13 ss << '\n'
15 << "\n"
16 << "Neighbourhood content:\n"
18 return ss.str();
19 }
static Double_t ss
virtual const LArStripNeighborhood & Neighbourhood() const =0
Returns the LarStripNeighbourhood: 3*17 cells centred on the eFexROI.
virtual std::string to_string() const =0
print out contents to string
Definition IeEmTOB.cxx:10
std::string to_string() const
print out contents to string

◆ UpNotDown_bit()

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

Returns the eFexRoI up not down bit.

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

Implemented in GlobalSim::IOBitwise::eEmTOB.

◆ WsTot_bits()

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

Returns the eFexRoI Wstot threshold bits.

Implemented in GlobalSim::IOBitwise::eEmTOB.

Member Data Documentation

◆ max_et

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

Definition at line 43 of file ICommonTOB.h.

43{(1UL << s_et_width)-1};
static constexpr std::size_t s_et_width
Size of the eT bitset.
Definition ICommonTOB.h:35

◆ s_eFex_granularity

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

Definition at line 41 of file ICommonTOB.h.

41{100}; // MeV

◆ s_et_width

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

Size of the eT bitset.

Definition at line 35 of file ICommonTOB.h.

35{13};

◆ s_eta_width

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

Size of the eta bitset.

Definition at line 37 of file ICommonTOB.h.

37{10};

◆ s_phi_width

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

Size of the phi bitset.

Definition at line 39 of file ICommonTOB.h.

39{9};

◆ s_REta_width

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

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}
staticconstexprinherited

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}
staticconstexprinherited

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}
staticconstexprinherited

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}
staticconstexprinherited

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}
staticconstexprinherited

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: