ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
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
AuxStoreAccessorMacros.h
AUXSTORE_PRIMITIVE_SETTER_AND_GETTER
#define AUXSTORE_PRIMITIVE_SETTER_AND_GETTER(CL, TYPE, NAME, SETTER)
Macro creating the accessors of primitive auxiliary properties.
Definition
AuxStoreAccessorMacros.h:36
ZdcModule_v1.h
vector
Definition
MultiHisto.h:13
xAOD::ZdcModule_v1
Class containing ZDC Module information.
Definition
ZdcModule_v1.h:25
xAOD::ZdcModule_v1::setWaveform
void setWaveform(const std::string &, const std::vector< uint16_t > &)
Definition
ZdcModule_v1.cxx:34
xAOD::ZdcModule_v1::ZdcModule_v1
ZdcModule_v1()
Default constructor.
Definition
ZdcModule_v1.cxx:14
xAOD::ZdcModule_v1::getWaveform
const std::vector< uint16_t > & getWaveform(const std::string &) const
Definition
ZdcModule_v1.cxx:28
const
SG
Forward declaration.
Definition
CaloCellPacker_400_500.h:32
std
STL namespace.
xAOD
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
Definition
ICaloAffectedTool.h:24
xAOD::uint16_t
setWord1 uint16_t
Definition
eFexEMRoI_v1.cxx:93
xAOD::uint32_t
setEventNumber uint32_t
Definition
EventInfo_v1.cxx:127
xAOD::acc
static const SG::AuxElement::Accessor< ElementLink< IParticleContainer > > acc("originalObjectLink")
Object used for setting/getting the dynamic decoration in question.
Generated on
for ATLAS Offline Software by
1.17.0