ATLAS Offline Software
eEmEg1eRatioTOB.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_EEMEGAMMA1ERATIOTOB_H
13 #define GLOBALSIM_EEMEGAMMA1ERATIOTOB_H
14 
15 #include "IeEmEg1eRatioTOB.h"
16 #include "eEmTOB.h"
17 #include "AthenaKernel/CLASS_DEF.h"
18 
19 #include <bitset>
20 
21 namespace GlobalSim::IOBitwise {
23  class eEmEg1eRatioTOB : virtual public IeEmEg1eRatioTOB, private eEmTOB {
24 
25  public:
37  std::bitset<s_eGamma1eRatio_width> eGamma1eRatio_bits);
38 
50  std::bitset<s_eGamma1eRatio_width> eGamma1eRatio_bits);
51 
53  virtual ~eEmEg1eRatioTOB(){};
54 
56  virtual std::bitset<s_eGamma1eRatio_width> eGamma1eRatio_bits() const override;
57 
59  virtual std::string to_string() const override;
60  private:
61  // Property: Bitset to hold the eGamma1eRatio bits
62  std::bitset<s_eGamma1eRatio_width> m_eGamma1eRatio_bits;
63  };
64 } //End of namespace
65 
67 
68 #endif //GLOBALSIM_EEMEGAMMA1ERATIOTOB_H
GlobalSim::IOBitwise::eEmEg1eRatioTOB::eEmEg1eRatioTOB
eEmEg1eRatioTOB(const IeEmTOB &eEmTOB, std::bitset< s_eGamma1eRatio_width > eGamma1eRatio_bits)
Constructor taking an eEmTOB and eGamma1 eRatio output bits to initialise bits.
GlobalSim::IOBitwise::IeEmEg1eRatioTOB
Class to hold eGamma1 eRatio result bits.
Definition: IeEmEg1eRatioTOB.h:26
GlobalSim::IOBitwise::eEmTOB
Class to hold eFexROI TOB bits.
Definition: Global/GlobalSimulation/src/IO/eEmTOB.h:23
GlobalSim::IOBitwise::eEmEg1eRatioTOB
Class to hold eGamma1 eRatio result bits.
Definition: eEmEg1eRatioTOB.h:23
GlobalSim::IOBitwise::eEmEg1eRatioTOB::~eEmEg1eRatioTOB
virtual ~eEmEg1eRatioTOB()
Destructor.
Definition: eEmEg1eRatioTOB.h:53
IeEmEg1eRatioTOB.h
xAOD::eFexEMRoI_v1
Class describing a LVL1 eFEX EM region of interest.
Definition: eFexEMRoI_v1.h:33
eEmTOB.h
GlobalSim::IOBitwise::eEmEg1eRatioTOB::eGamma1eRatio_bits
virtual std::bitset< s_eGamma1eRatio_width > eGamma1eRatio_bits() const override
Returns the eGamma1 eRatio result bits.
Definition: eEmEg1eRatioTOB.cxx:17
GlobalSim::IOBitwise
Definition: eEmMultAlgTool.h:19
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
GlobalSim::IOBitwise::IeEmTOB
Class to hold eFexROI TOB bits.
Definition: IeEmTOB.h:29
GlobalSim::IOBitwise::eEmEg1eRatioTOB::m_eGamma1eRatio_bits
std::bitset< s_eGamma1eRatio_width > m_eGamma1eRatio_bits
Definition: eEmEg1eRatioTOB.h:62
GlobalSim::IOBitwise::eEmEg1eRatioTOB::eEmEg1eRatioTOB
eEmEg1eRatioTOB(const xAOD::eFexEMRoI &eFexTOB, std::bitset< s_eGamma1eRatio_width > eGamma1eRatio_bits)
Constructor taking an eFexROITOB and eGamma1 eRatio output bits to initialise bits.
CLASS_DEF.h
macros to associate a CLID to a type
GlobalSim::IOBitwise::eEmEg1eRatioTOB::to_string
virtual std::string to_string() const override
print out contents to string
Definition: eEmEg1eRatioTOB.cxx:21