ATLAS Offline Software
Public Member Functions | Static Public Attributes | List of all members
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. More...
 
virtual const LArStripNeighborhoodNeighbourhood () const =0
 Returns the LarStripNeighbourhood: 3*17 cells centred on the eFexROI. More...
 
virtual std::string to_string () const =0
 print out contents to string More...
 
virtual const std::bitset< s_RHad_width > & RHad_bits () const =0
 Returns the eFexRoI Rhad threshold bits. More...
 
virtual const std::bitset< s_WsTot_width > & WsTot_bits () const =0
 Returns the eFexRoI Wstot threshold bits. More...
 
virtual const std::bitset< s_REta_width > & REta_bits () const =0
 Returns the eFexRoI REta threshold bits. More...
 
virtual const std::bitset< s_Seed_width > & Seed_bits () const =0
 Returns the eFexRoI seed eta position bits. More...
 
virtual const std::bitset< s_UpNotDown_width > & UpNotDown_bit () const =0
 Returns the eFexRoI up not down bit. More...
 
virtual const std::bitset< s_SeedIsMax_width > & SeedIsMax_bit () const =0
 Returns the eFexRoI seed is a local maxima bit. More...
 
virtual std::bitset< s_et_widthet_bits () const =0
 Returns the eT bits of this TOB. More...
 
virtual std::bitset< s_eta_widtheta_bits () const =0
 Returns the eta bits of this TOB. More...
 
virtual std::bitset< s_phi_widthphi_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}
 

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.

Implemented in GlobalSim::IOBitwise::eEmNbhoodTOB.

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

Implemented in GlobalSim::IOBitwise::eEmNbhoodTOB.

Definition at line 10 of file IeEmNbhoodTOB.cxx.

10  {
11  std::stringstream ss;
12 
13  ss << '\n'
15  << "\n"
16  << "Neighbourhood content:\n"
17  << Neighbourhood().to_string();
18  return ss.str();
19  }

◆ 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

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

Definition at line 43 of file ICommonTOB.h.

◆ s_eFex_granularity

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

Definition at line 41 of file ICommonTOB.h.

◆ s_et_width

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

Size of the eT bitset.

Definition at line 35 of file ICommonTOB.h.

◆ s_eta_width

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

Size of the eta bitset.

Definition at line 37 of file ICommonTOB.h.

◆ s_phi_width

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

Size of the phi bitset.

Definition at line 39 of file ICommonTOB.h.

◆ s_REta_width

const std::size_t GlobalSim::IOBitwise::IeEmTOB::s_REta_width {2}
staticinherited

Count: Size of R0 thresholds satisfied bitset.

Definition at line 42 of file IeEmTOB.h.

◆ s_RHad_width

const std::size_t GlobalSim::IOBitwise::IeEmTOB::s_RHad_width {2}
staticinherited

Count: Size of hadronic thresholds satisfied bitset.

Definition at line 38 of file IeEmTOB.h.

◆ s_Seed_width

const std::size_t GlobalSim::IOBitwise::IeEmTOB::s_Seed_width {2}
staticinherited

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

Definition at line 44 of file IeEmTOB.h.

◆ s_SeedIsMax_width

const std::size_t GlobalSim::IOBitwise::IeEmTOB::s_SeedIsMax_width {1}
staticinherited

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

Definition at line 48 of file IeEmTOB.h.

◆ s_UpNotDown_width

const std::size_t GlobalSim::IOBitwise::IeEmTOB::s_UpNotDown_width {1}
staticinherited

Count: Size of UpnotDown bit.

Definition at line 46 of file IeEmTOB.h.

◆ s_WsTot_width

const std::size_t GlobalSim::IOBitwise::IeEmTOB::s_WsTot_width {2}
staticinherited

Count: Size of WsTot algorithm thresholds satisfied bitset.

Definition at line 40 of file IeEmTOB.h.


The documentation for this class was generated from the following files:
PowhegControl_ttHplus_NLO.ss
ss
Definition: PowhegControl_ttHplus_NLO.py:83
GlobalSim::LArStripNeighborhood::to_string
std::string to_string() const
print out contents to string
Definition: LArStripNeighborhood.cxx:25
GlobalSim::IOBitwise::IeEmNbhoodTOB::Neighbourhood
virtual const LArStripNeighborhood & Neighbourhood() const =0
Returns the LarStripNeighbourhood: 3*17 cells centred on the eFexROI.
GlobalSim::IOBitwise::IeEmTOB::to_string
virtual std::string to_string() const =0
print out contents to string
Definition: IeEmTOB.cxx:10