ATLAS Offline Software
Public Member Functions | Static Public Attributes | List of all members
GlobalSim::IOBitwise::IeEmEg1eRatioTOB Class Referenceabstract

Class to hold eGamma1 eRatio result bits. More...

#include <IeEmEg1eRatioTOB.h>

Inheritance diagram for GlobalSim::IOBitwise::IeEmEg1eRatioTOB:
Collaboration diagram for GlobalSim::IOBitwise::IeEmEg1eRatioTOB:

Public Member Functions

virtual ~IeEmEg1eRatioTOB ()
 Destructor. More...
 
virtual std::bitset< s_eGamma1eRatio_widtheGamma1eRatio_bits () const =0
 Returns the eGamma1 eRatio result bits. 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_eGamma1eRatio_width {11}
 Count: Size of output bits of the eGamma1 eRatio algorithm. More...
 
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 eGamma1 eRatio result bits.

This class stores the result of the eGamma1 eRatio and defines functions to retrieve this information. It has access to the eEmTOB and CommonTOB class information and can be used as an eEmTOB or CommonTOB.

Definition at line 26 of file IeEmEg1eRatioTOB.h.

Constructor & Destructor Documentation

◆ ~IeEmEg1eRatioTOB()

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

Destructor.

Definition at line 30 of file IeEmEg1eRatioTOB.h.

30 {}

Member Function Documentation

◆ eGamma1eRatio_bits()

virtual std::bitset<s_eGamma1eRatio_width> GlobalSim::IOBitwise::IeEmEg1eRatioTOB::eGamma1eRatio_bits ( ) const
pure virtual

Returns the eGamma1 eRatio result bits.

Implemented in GlobalSim::IOBitwise::eEmEg1eRatioTOB.

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

◆ 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::IeEmEg1eRatioTOB::to_string ( ) const
pure virtual

print out contents to string

Implements GlobalSim::IOBitwise::IeEmTOB.

Implemented in GlobalSim::IOBitwise::eEmEg1eRatioTOB.

Definition at line 10 of file IeEmEg1eRatioTOB.cxx.

10  {
11  std::stringstream ss;
12 
13  ss << '\n'
15  << " eGamma1 eRatio result " << eGamma1eRatio_bits() << " (" << eGamma1eRatio_bits().to_ulong() << ")";
16  return ss.str();
17  }

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

const std::size_t GlobalSim::IOBitwise::IeEmEg1eRatioTOB::s_eGamma1eRatio_width {11}
static

Count: Size of output bits of the eGamma1 eRatio algorithm.

Definition at line 33 of file IeEmEg1eRatioTOB.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::IOBitwise::IeEmEg1eRatioTOB::eGamma1eRatio_bits
virtual std::bitset< s_eGamma1eRatio_width > eGamma1eRatio_bits() const =0
Returns the eGamma1 eRatio result bits.
GlobalSim::IOBitwise::IeEmTOB::to_string
virtual std::string to_string() const =0
print out contents to string
Definition: IeEmTOB.cxx:10