ATLAS Offline Software
Event
xAOD
xAODForward
Root
ZdcModule_v1.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
6
// xAOD include(s):
7
#include "
xAODCore/AuxStoreAccessorMacros.h
"
8
9
// Local include(s):
10
#include "
xAODForward/versions/ZdcModule_v1.h
"
11
12
namespace
xAOD
{
13
14
ZdcModule_v1::ZdcModule_v1
()
15
:
SG
::AuxElement() {
16
17
}
18
19
// simple types
20
//AUXSTORE_PRIMITIVE_SETTER_AND_GETTER(ZdcModule_v1, uint32_t, id,setId) // remove oct 29, 2021
21
AUXSTORE_PRIMITIVE_SETTER_AND_GETTER
(
ZdcModule_v1
,
uint32_t
, zdcId,setZdcId)
22
AUXSTORE_PRIMITIVE_SETTER_AND_GETTER
(
ZdcModule_v1
,
int
,zdcSide,setZdcSide)
23
AUXSTORE_PRIMITIVE_SETTER_AND_GETTER
(
ZdcModule_v1
,
int
,zdcModule,setZdcModule)
24
AUXSTORE_PRIMITIVE_SETTER_AND_GETTER
(
ZdcModule_v1
,
int
,zdcChannel,setZdcChannel)
25
AUXSTORE_PRIMITIVE_SETTER_AND_GETTER
(
ZdcModule_v1
,
int
,zdcType,setZdcType)
26
27
28
const
std::
vector
<
uint16_t
>&
ZdcModule_v1
::getWaveform(
const
std::
string
&
s
)
const
29
{
30
const
Accessor< std::vector<uint16_t>
> acc(
s
);
31
return
acc( *
this
);
32
}
33
34
void
ZdcModule_v1::setWaveform
(
const
std::string&
s
,
const
std::vector<uint16_t>& waveform)
35
{
36
const
Accessor< std::vector<uint16_t>
> acc(
s
);
37
acc( *
this
) = waveform;
38
}
39
40
41
}
// namespace xAOD
xAOD::AUXSTORE_PRIMITIVE_SETTER_AND_GETTER
AUXSTORE_PRIMITIVE_SETTER_AND_GETTER(BTagging_v1, float, IP2D_pb, setIP2D_pb) AUXSTORE_PRIMITIVE_SETTER_AND_GETTER(BTagging_v1
python.SystemOfUnits.s
int s
Definition:
SystemOfUnits.py:131
SG
Forward declaration.
Definition:
CaloCellPacker_400_500.h:32
SG::Accessor
Helper class to provide type-safe access to aux data.
Definition:
Control/AthContainers/AthContainers/Accessor.h:68
AuxStoreAccessorMacros.h
xAOD::uint32_t
setEventNumber uint32_t
Definition:
EventInfo_v1.cxx:127
xAOD::ZdcModule_v1
Class containing ZDC Module information.
Definition:
ZdcModule_v1.h:25
xAOD
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
Definition:
ICaloAffectedTool.h:24
const
bool const RAWDATA *ch2 const
Definition:
LArRodBlockPhysicsV0.cxx:560
xAOD::ZdcModule_v1::setWaveform
void setWaveform(const std::string &, const std::vector< uint16_t > &)
Definition:
ZdcModule_v1.cxx:34
xAOD::uint16_t
setWord1 uint16_t
Definition:
eFexEMRoI_v1.cxx:93
ZdcModule_v1.h
vector
Definition:
MultiHisto.h:13
xAOD::ZdcModule_v1::ZdcModule_v1
ZdcModule_v1()
Default constructor.
Definition:
ZdcModule_v1.cxx:14
Generated on Fri Jan 10 2025 21:22:04 for ATLAS Offline Software by
1.8.18