ATLAS Offline Software
Loading...
Searching...
No Matches
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):
8
9// Local include(s):
11
12namespace xAOD {
13
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
23 AUXSTORE_PRIMITIVE_SETTER_AND_GETTER(ZdcModule_v1,int,zdcModule,setZdcModule)
24 AUXSTORE_PRIMITIVE_SETTER_AND_GETTER(ZdcModule_v1,int,zdcChannel,setZdcChannel)
26
27
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
#define AUXSTORE_PRIMITIVE_SETTER_AND_GETTER(CL, TYPE, NAME, SETTER)
Macro creating the accessors of primitive auxiliary properties.
Class containing ZDC Module information.
void setWaveform(const std::string &, const std::vector< uint16_t > &)
ZdcModule_v1()
Default constructor.
const std::vector< uint16_t > & getWaveform(const std::string &) const
Forward declaration.
STL namespace.
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
setWord1 uint16_t
setEventNumber uint32_t
static const SG::AuxElement::Accessor< ElementLink< IParticleContainer > > acc("originalObjectLink")
Object used for setting/getting the dynamic decoration in question.