ATLAS Offline Software
IeEmTOB.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3 */
4 
12 #ifndef GLOBALSIM_IEEMTOB_H
13 #define GLOBALSIM_IEEMTOB_H
14 
15 #include "ICommonTOB.h"
16 #include "AthenaKernel/CLASS_DEF.h"
17 
18 #include <ostream>
19 
20 namespace GlobalSim::IOBitwise {
29  class IeEmTOB : virtual public ICommonTOB {
30 
31  public:
32 
34  virtual ~IeEmTOB(){}
35 
36 
38  static constexpr std::size_t s_RHad_width{2};
40  static constexpr std::size_t s_WsTot_width{2};
42  static constexpr std::size_t s_REta_width{2};
44  static constexpr std::size_t s_Seed_width{2};
46  static constexpr std::size_t s_UpNotDown_width{1};
48  static constexpr std::size_t s_SeedIsMax_width{1};
49 
51  virtual const std::bitset<s_RHad_width>& RHad_bits() const = 0;
53  virtual const std::bitset<s_WsTot_width>& WsTot_bits() const = 0;
55  virtual const std::bitset<s_REta_width>& REta_bits() const = 0;
57  virtual const std::bitset<s_Seed_width>& Seed_bits() const = 0;
62  virtual const std::bitset<s_UpNotDown_width>& UpNotDown_bit() const = 0;
67  virtual const std::bitset<s_SeedIsMax_width>& SeedIsMax_bit() const = 0;
69  virtual std::string to_string() const = 0;
70  };
71 } //End of namespace
72 
73 std::ostream& operator << (std::ostream&,
75 
77 
78 #endif //GLOBALSIM_IEEMTOB_H
GlobalSim::IOBitwise::IeEmTOB::RHad_bits
virtual const std::bitset< s_RHad_width > & RHad_bits() const =0
Returns the eFexRoI Rhad threshold bits.
GlobalSim::IOBitwise::IeEmTOB::s_REta_width
static constexpr std::size_t s_REta_width
Count: Size of R0 thresholds satisfied bitset.
Definition: IeEmTOB.h:42
GlobalSim::IOBitwise::IeEmTOB::WsTot_bits
virtual const std::bitset< s_WsTot_width > & WsTot_bits() const =0
Returns the eFexRoI Wstot threshold bits.
ICommonTOB.h
GlobalSim::IOBitwise::IeEmTOB::SeedIsMax_bit
virtual const std::bitset< s_SeedIsMax_width > & SeedIsMax_bit() const =0
Returns the eFexRoI seed is a local maxima bit.
GlobalSim::IOBitwise::ICommonTOB
Class to hold common (eta/eta/phi) TOB bits.
Definition: ICommonTOB.h:27
GlobalSim::IOBitwise::IeEmTOB::s_UpNotDown_width
static constexpr std::size_t s_UpNotDown_width
Count: Size of UpnotDown bit.
Definition: IeEmTOB.h:46
GlobalSim::IOBitwise::IeEmTOB::s_RHad_width
static constexpr std::size_t s_RHad_width
Count: Size of hadronic thresholds satisfied bitset.
Definition: IeEmTOB.h:38
GlobalSim::IOBitwise::IeEmTOB::s_SeedIsMax_width
static constexpr std::size_t s_SeedIsMax_width
Count: Size of Seed supercell is a local maxima bit.
Definition: IeEmTOB.h:48
GlobalSim::IOBitwise
Definition: eEmMultAlgTool.h:18
GlobalSim::IOBitwise::IeEmTOB::s_WsTot_width
static constexpr std::size_t s_WsTot_width
Count: Size of WsTot algorithm thresholds satisfied bitset.
Definition: IeEmTOB.h:40
GlobalSim::IOBitwise::IeEmTOB::UpNotDown_bit
virtual const std::bitset< s_UpNotDown_width > & UpNotDown_bit() const =0
Returns the eFexRoI up not down bit.
GlobalSim::IOBitwise::IeEmTOB::Seed_bits
virtual const std::bitset< s_Seed_width > & Seed_bits() const =0
Returns the eFexRoI seed eta position bits.
GlobalSim::IOBitwise::IeEmTOB::REta_bits
virtual const std::bitset< s_REta_width > & REta_bits() const =0
Returns the eFexRoI REta threshold bits.
GlobalSim::IOBitwise::IeEmTOB::to_string
virtual std::string to_string() const =0
print out contents to string
Definition: IeEmTOB.cxx:10
CLASS_DEF
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
Definition: Control/AthenaKernel/AthenaKernel/CLASS_DEF.h:67
operator<<
std::ostream & operator<<(std::ostream &, const GlobalSim::IOBitwise::IeEmTOB &)
Definition: IeEmTOB.cxx:22
GlobalSim::IOBitwise::IeEmTOB::s_Seed_width
static constexpr std::size_t s_Seed_width
Count: Size of Seed eta position in the TOB bitset.
Definition: IeEmTOB.h:44
GlobalSim::IOBitwise::IeEmTOB
Class to hold eFexROI TOB bits.
Definition: IeEmTOB.h:29
GlobalSim::IOBitwise::IeEmTOB::~IeEmTOB
virtual ~IeEmTOB()
Destructor.
Definition: IeEmTOB.h:34
CLASS_DEF.h
macros to associate a CLID to a type