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:
36  eEmEg1eRatioTOB(const xAOD::eFexEMRoI& eFexTOB,
37  std::bitset<s_eGamma1eRatio_width> eGamma1eRatio_bits);
39  virtual ~eEmEg1eRatioTOB(){};
40 
42  virtual std::bitset<s_eGamma1eRatio_width> eGamma1eRatio_bits() const override;
43 
44  private:
45  // Property: Bitset to hold the eGamma1eRatio bits
46  std::bitset<s_eGamma1eRatio_width> m_eGamma1eRatio_bits;
47  };
48 } //End of namespace
49 
51 
52 #endif //GLOBALSIM_EEMEGAMMA1ERATIOTOB_H
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:39
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:13
GlobalSim::IOBitwise
Definition: eEmMultAlgTool.h:17
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::eEmEg1eRatioTOB::m_eGamma1eRatio_bits
std::bitset< s_eGamma1eRatio_width > m_eGamma1eRatio_bits
Definition: eEmEg1eRatioTOB.h:46
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.
Definition: eEmEg1eRatioTOB.cxx:9
CLASS_DEF.h
macros to associate a CLID to a type