ATLAS Offline Software
Loading...
Searching...
No Matches
MuonSimHit_V1.cxx File Reference
Include dependency graph for MuonSimHit_V1.cxx:

Go to the source code of this file.

Namespaces

namespace  xAOD
 ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.

Macros

#define IMPLEMENT_SETTER_GETTER(DTYPE, GETTER, SETTER)

Macro Definition Documentation

◆ IMPLEMENT_SETTER_GETTER

#define IMPLEMENT_SETTER_GETTER ( DTYPE,
GETTER,
SETTER )
Value:
DTYPE MuonSimHit_v1::GETTER() const { \
static const SG::Accessor<DTYPE> acc{preFixStr + #GETTER}; \
return acc(*this); \
} \
\
void MuonSimHit_v1::SETTER(DTYPE value) { \
static const SG::Accessor<DTYPE> acc{preFixStr + #GETTER}; \
acc(*this) = value; \
}
Helper class to provide type-safe access to aux data.
#define GETTER(_name_)
Macros for plotting.
SG::Accessor< T, ALLOC > Accessor
Definition AuxElement.h:573

Definition at line 21 of file MuonSimHit_V1.cxx.

21#define IMPLEMENT_SETTER_GETTER( DTYPE, GETTER, SETTER) \
22 DTYPE MuonSimHit_v1::GETTER() const { \
23 static const SG::Accessor<DTYPE> acc{preFixStr + #GETTER}; \
24 return acc(*this); \
25 } \
26 \
27 void MuonSimHit_v1::SETTER(DTYPE value) { \
28 static const SG::Accessor<DTYPE> acc{preFixStr + #GETTER}; \
29 acc(*this) = value; \
30 }