ATLAS Offline Software
Functions
PixelCluster_v1.cxx File Reference
#include "xAODCore/AuxStoreAccessorMacros.h"
#include "xAODInDetMeasurement/versions/PixelCluster_v1.h"
Include dependency graph for PixelCluster_v1.cxx:

Go to the source code of this file.

Functions

 AUXSTORE_PRIMITIVE_SETTER_AND_GETTER (xAOD::PixelCluster_v1, float, widthInEta, setWidthInEta) void xAOD
 
 AUXSTORE_OBJECT_SETTER_AND_GETTER (xAOD::PixelCluster_v1, std::vector< int >, totList, setToTlist) AUXSTORE_PRIMITIVE_SETTER_AND_GETTER(xAOD
 

Function Documentation

◆ AUXSTORE_OBJECT_SETTER_AND_GETTER()

AUXSTORE_OBJECT_SETTER_AND_GETTER ( xAOD::PixelCluster_v1  ,
std::vector< int >  ,
totList  ,
setToTlist   
)

Definition at line 67 of file PixelCluster_v1.cxx.

84  {
85  static const SG::AuxElement::Accessor<float> prob1Acc("splitProbability1");
86  prob1Acc(*this) = prob1;
87  static const SG::AuxElement::Accessor<float> prob2Acc("splitProbability2");
88  prob2Acc(*this) = prob2;
89 }

◆ AUXSTORE_PRIMITIVE_SETTER_AND_GETTER()

AUXSTORE_PRIMITIVE_SETTER_AND_GETTER ( xAOD::PixelCluster_v1  ,
float  ,
widthInEta  ,
setWidthInEta   
)

Definition at line 54 of file PixelCluster_v1.cxx.

57  {
58  static const SG::AuxElement::Accessor<float> omegaXAcc("omegaX");
59  omegaXAcc(*this) = omegaX;
60  static const SG::AuxElement::Accessor<float> omegaYAcc("omegaY");
61  omegaYAcc(*this) = omegaY;
62 }
SG::Accessor
Helper class to provide type-safe access to aux data.
Definition: Control/AthContainers/AthContainers/Accessor.h:66