ATLAS Offline Software
Loading...
Searching...
No Matches
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
11
12#ifndef GLOBALSIM_EEMEGAMMA1ERATIOTOB_H
13#define GLOBALSIM_EEMEGAMMA1ERATIOTOB_H
14
15#include "IeEmEg1eRatioTOB.h" // const statics
16#include "eEmTOB.h"
18
19#include <bitset>
20
21namespace GlobalSim::IOBitwise {
23 class eEmEg1eRatioTOB : public eEmTOB {
24
25 public:
36 eEmEg1eRatioTOB(const xAOD::eFexEMRoI& eFexTOB,
37 std::bitset<IeEmEg1eRatioTOB::s_eGamma1eRatio_width> eGamma1eRatio_bits);
38
50 std::bitset<IeEmEg1eRatioTOB::s_eGamma1eRatio_width> eGamma1eRatio_bits);
51
53 virtual ~eEmEg1eRatioTOB(){};
54
56 virtual std::bitset<IeEmEg1eRatioTOB::s_eGamma1eRatio_width> eGamma1eRatio_bits() const;
57
59 virtual std::string to_string() const;
60 private:
61 // Property: Bitset to hold the eGamma1eRatio bits
62 std::bitset<IeEmEg1eRatioTOB::s_eGamma1eRatio_width> m_eGamma1eRatio_bits;
63 };
64} //End of namespace
65
67
68#endif //GLOBALSIM_EEMEGAMMA1ERATIOTOB_H
macros to associate a CLID to a type
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
Class to hold eFexROI TOB bits.
Definition IeEmTOB.h:29
Class to hold eGamma1 eRatio result bits.
virtual std::bitset< IeEmEg1eRatioTOB::s_eGamma1eRatio_width > eGamma1eRatio_bits() const
Returns the eGamma1 eRatio result bits.
virtual std::string to_string() const
print out contents to string
eEmEg1eRatioTOB(const xAOD::eFexEMRoI &eFexTOB, std::bitset< IeEmEg1eRatioTOB::s_eGamma1eRatio_width > eGamma1eRatio_bits)
Constructor taking an eFexROITOB and eGamma1 eRatio output bits to initialise bits.
std::bitset< IeEmEg1eRatioTOB::s_eGamma1eRatio_width > m_eGamma1eRatio_bits
eEmTOB(const xAOD::eFexEMRoI &eFexTOB)
Constructor taking an eFexROITOB to inisialise bits.
eFexEMRoI_v1 eFexEMRoI
Define the latest version of the eFexEMRoI class.
Definition eFexEMRoI.h:17