ATLAS Offline Software
Namespaces | Macros
xAODMuonSimHit_V1.cxx File Reference
#include <xAODCore/AuxStoreAccessorMacros.h>
#include <xAODMuonSimHit/versions/MuonSimHit_v1.h>
Include dependency graph for xAODMuonSimHit_V1.cxx:

Go to the source code of this file.

Namespaces

 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::AuxElement::Accessor<DTYPE> acc{preFixStr + #GETTER}; \
return acc(*this); \
} \
\
void MuonSimHit_v1::SETTER(DTYPE value) { \
static const SG::AuxElement::Accessor<DTYPE> acc{preFixStr + #GETTER}; \
acc(*this) = value; \
}

Definition at line 21 of file xAODMuonSimHit_V1.cxx.

SG::Accessor
Helper class to provide type-safe access to aux data.
Definition: Control/AthContainers/AthContainers/Accessor.h:68
athena.value
value
Definition: athena.py:124
GETTER
#define GETTER(_name_)
Macros for plotting.
Definition: egammaMonitorBaseAlgorithm.cxx:95
AthenaPoolTestRead.acc
acc
Definition: AthenaPoolTestRead.py:16