ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Trigger
TrigT1
Global
GlobalSimulation
src
IO
gFexRhoTOB.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_GFEXRHOTOB_H
13
#define GLOBALSIM_GFEXRHOTOB_H
14
15
#include "
AthenaKernel/CLASS_DEF.h
"
16
#include "
AthContainers/DataVector.h
"
17
18
#include "
xAODTrigger/gFexJetRoI.h
"
19
20
#include <bitset>
21
22
namespace
GlobalSim::IOBitwise
{
23
24
class
gFexRhoTOB
{
25
27
static
constexpr
std::size_t
s_rho_width
{16};
28
30
static
constexpr
std::size_t
s_rho_scale
{10};
31
32
public
:
33
42
gFexRhoTOB
(
const
xAOD::gFexJetRoI
&
gFexRhoTOB
);
43
50
gFexRhoTOB
(
const
gFexRhoTOB
&
gFexRhoTOB
);
51
58
gFexRhoTOB
(
const
uint
&
rho_bits
,
const
uint
&
rho_scale
);
59
65
gFexRhoTOB
(
const
std::bitset<s_rho_width>&);
66
68
virtual
~gFexRhoTOB
(){};
69
71
virtual
std::bitset<s_rho_width>
rho_bits
()
const
;
72
73
virtual
std::bitset<s_rho_scale>
rho_scale
()
const
;
74
75
virtual
std::string
to_string
()
const
;
76
private
:
77
79
std::bitset<s_rho_width>
m_rho_bits
;
80
82
// The scale of the eT bits, in MeV
83
// I don't believe this will be stored in the final TOB.
84
std::bitset<s_rho_scale>
m_rho_scale
;
85
};
86
87
}
//End of namespace
88
89
CLASS_DEF
(
GlobalSim::IOBitwise::gFexRhoTOB
, 224783411 , 1 )
90
91
namespace
GlobalSim
{
92
namespace
IOBitwise
{
93
using
gFexRhoTOBContainer
=
DataVector<GlobalSim::IOBitwise::gFexRhoTOB>
;
94
}
95
}
96
97
CLASS_DEF
(
GlobalSim::IOBitwise::gFexRhoTOBContainer
, 1266261565 , 1 )
98
99
#endif
//GLOBALSIM_GFEXRHOTOB_H
CLASS_DEF.h
macros to associate a CLID to a type
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
DataVector.h
An STL vector of pointers that by default owns its pointed-to elements.
uint
unsigned int uint
Definition
LArOFPhaseFill.cxx:19
DataVector
Derived DataVector<T>.
Definition
DataVector.h:795
GlobalSim::IOBitwise::gFexRhoTOB
Definition
gFexRhoTOB.h:24
GlobalSim::IOBitwise::gFexRhoTOB::rho_scale
virtual std::bitset< s_rho_scale > rho_scale() const
Definition
gFexRhoTOB.cxx:26
GlobalSim::IOBitwise::gFexRhoTOB::to_string
virtual std::string to_string() const
Definition
gFexRhoTOB.cxx:30
GlobalSim::IOBitwise::gFexRhoTOB::s_rho_scale
static constexpr std::size_t s_rho_scale
Count: Size of Rho scale bitset.
Definition
gFexRhoTOB.h:30
GlobalSim::IOBitwise::gFexRhoTOB::~gFexRhoTOB
virtual ~gFexRhoTOB()
Definition
gFexRhoTOB.h:68
GlobalSim::IOBitwise::gFexRhoTOB::s_rho_width
static constexpr std::size_t s_rho_width
Count: Size of Rho bitset.
Definition
gFexRhoTOB.h:27
GlobalSim::IOBitwise::gFexRhoTOB::m_rho_scale
std::bitset< s_rho_scale > m_rho_scale
Property: Rho bitset eT scale within the gFexRhoTOB word.
Definition
gFexRhoTOB.h:84
GlobalSim::IOBitwise::gFexRhoTOB::m_rho_bits
std::bitset< s_rho_width > m_rho_bits
Property: Rho bitset within the gFexRhoTOB word.
Definition
gFexRhoTOB.h:79
GlobalSim::IOBitwise::gFexRhoTOB::rho_bits
virtual std::bitset< s_rho_width > rho_bits() const
Definition
gFexRhoTOB.cxx:22
GlobalSim::IOBitwise::gFexRhoTOB::gFexRhoTOB
gFexRhoTOB(const xAOD::gFexJetRoI &gFexRhoTOB)
Constructor taking an eFexROITOB to initialise bits.
Definition
gFexRhoTOB.cxx:10
GlobalSim::IOBitwise::gFexRhoTOB::gFexRhoTOB
gFexRhoTOB(const std::bitset< s_rho_width > &)
Constructor taking raw bitsets to initialise common bits.
gFexJetRoI.h
GlobalSim::IOBitwise
Definition
CommonSortSelectAlgTool.h:19
GlobalSim::IOBitwise::gFexRhoTOBContainer
DataVector< GlobalSim::IOBitwise::gFexRhoTOB > gFexRhoTOBContainer
Definition
gFexRhoTOB.h:93
GlobalSim
AlgTool to read in LArStripNeighborhoods, and run the BDT Algorithm.
Definition
Trigger/TrigT1/Global/GlobalSimulation/src/Egamma1BDT/Egamma1BDT/BDT.h:11
xAOD::gFexJetRoI
gFexJetRoI_v1 gFexJetRoI
Define the latest version of the gFexJetRoI class.
Definition
gFexJetRoI.h:16
Generated on
for ATLAS Offline Software by
1.17.0