ATLAS Offline Software
Loading...
Searching...
No Matches
eEmEg1eRatioTOB.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3*/
4
11
12#ifndef GLOBALSIM_EEMEGAMMA1ERATIOTOB_H
13#define GLOBALSIM_EEMEGAMMA1ERATIOTOB_H
14
15#include "eEmTOB.h"
16
19
20#include <bitset>
21
22namespace GlobalSim::IOBitwise {
24 class eEmEg1eRatioTOB : public eEmTOB {
25
26 public:
37
38
40 static const std::size_t s_eGamma1eRatio_width{11};
41
43 std::bitset<s_eGamma1eRatio_width> eGamma1eRatio_bits);
44
56 std::bitset<s_eGamma1eRatio_width> eGamma1eRatio_bits);
57
59 virtual ~eEmEg1eRatioTOB(){};
60
62 virtual std::bitset<s_eGamma1eRatio_width> eGamma1eRatio_bits() const;
63
65 virtual std::string to_string() const;
66 private:
67 // Property: Bitset to hold the eGamma1eRatio bits
68 std::bitset<s_eGamma1eRatio_width> m_eGamma1eRatio_bits;
69 };
70} //End of namespace
71
73
74
75
76DATAVECTOR_BASE(GlobalSim::IOBitwise::eEmEg1eRatioTOB,
77 GlobalSim::IOBitwise::eEmTOB);
78
79namespace GlobalSim {
80 namespace IOBitwise {
83 }
84}
85
87
88
89#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
An STL vector of pointers that by default owns its pointed-to elements.
#define DATAVECTOR_BASE(T, BASE)
Declare base class info to DataVector.
Definition DataVector.h:649
Derived DataVector<T>.
Definition DataVector.h:795
virtual std::bitset< s_eGamma1eRatio_width > eGamma1eRatio_bits() const
virtual std::string to_string() const
eEmEg1eRatioTOB(const eEmTOB &eEmTOB, std::bitset< s_eGamma1eRatio_width > eGamma1eRatio_bits)
Constructor taking an eEmTOB and eGamma1 eRatio output bits to initialise bits.
std::bitset< s_eGamma1eRatio_width > m_eGamma1eRatio_bits
static const std::size_t s_eGamma1eRatio_width
Constructor taking an eFexROITOB and eGamma1 eRatio output bits to initialise bits.
eEmEg1eRatioTOB(const xAOD::eFexEMRoI &eFexTOB, std::bitset< s_eGamma1eRatio_width > eGamma1eRatio_bits)
eEmTOB(const xAOD::eFexEMRoI &eFexTOB)
Constructor taking an eFexROITOB to initialise bits.
DataVector< GlobalSim::IOBitwise::eEmEg1eRatioTOB > eEmEg1eRatioTOBContainer
AlgTool that to test whether expected the TIP values generated by data supplied by eEmMultTestBench c...
eFexEMRoI_v1 eFexEMRoI
Define the latest version of the eFexEMRoI class.
Definition eFexEMRoI.h:17