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

Go to the source code of this file.

Functions

 AUXSTORE_PRIMITIVE_SETTER_AND_GETTER (xAOD::SpacePoint_v1, float, radius, setRadius) float xAOD
static AUXSTORE_PRIMITIVE_SETTER_AND_GETTER(xAOD::SpacePoint_v1, float, topHalfStripLength, setTopHalfStripLength) AUXSTORE_PRIMITIVE_SETTER_AND_GETTER(xAOD const SG::AuxElement::Accessor< xAOD::ArrayFloat3bottomStripDirectionAcc ("bottomStripDirection")

Variables

static const SG::AuxElement::Accessor< std::array< float, 3 > > globalPosAcc ("globalPosition")
static const SG::AuxElement::Accessor< xAOD::ArrayFloat3stripCenterDistanceAcc ("stripCenterDistance")
static const SG::AuxElement::Accessor< xAOD::ArrayFloat3topStripCenterAcc ("topStripCenter")

Function Documentation

◆ AUXSTORE_PRIMITIVE_SETTER_AND_GETTER()

AUXSTORE_PRIMITIVE_SETTER_AND_GETTER ( xAOD::SpacePoint_v1 ,
float ,
radius ,
setRadius  )

Definition at line 35 of file SpacePoint_v1.cxx.

39{
40 return globalPosAcc(*this)[0];
41}
42
43float xAOD::SpacePoint_v1::y() const
44{
45 return globalPosAcc(*this)[1];
46}
47
48float xAOD::SpacePoint_v1::z() const
49{
50 return globalPosAcc(*this)[2];
51}
52
53AUXSTORE_PRIMITIVE_SETTER_AND_GETTER( xAOD::SpacePoint_v1, float,
54 varianceR, setVarianceR )
55
56AUXSTORE_PRIMITIVE_SETTER_AND_GETTER( xAOD::SpacePoint_v1, float,
57 varianceZ, setVarianceZ )
58
59// replace by handwritten version to avoid vector copy
60// AUXSTORE_OBJECT_SETTER_AND_GETTER( xAOD::SpacePoint_v1, std::vector< const xAOD::UncalibratedMeasurement* >,
61// measurements, setMeasurements )
62
63const std::vector< const xAOD::UncalibratedMeasurement* > & xAOD::SpacePoint_v1::measurements() const {
64 static const Accessor< std::vector< const xAOD::UncalibratedMeasurement* > > acc( "measurements" );
65 return acc( *this );
66}
67void xAOD::SpacePoint_v1::setMeasurements(std::vector< const xAOD::UncalibratedMeasurement* > && value ) {
68 static const Accessor< std::vector< const xAOD::UncalibratedMeasurement* > > acc( "measurements" );
69 acc( *this ) = std::move(value);
70}
#define AUXSTORE_PRIMITIVE_SETTER_AND_GETTER(CL, TYPE, NAME, SETTER)
Macro creating the accessors of primitive auxiliary properties.
static const SG::AuxElement::Accessor< std::array< float, 3 > > globalPosAcc("globalPosition")
static const SG::AuxElement::Accessor< std::array< float, 3 > > globalPosAcc("globalPosition")
void setMeasurements(std::vector< const xAOD::UncalibratedMeasurement * > &&value)
Sets the index of the measurements.
float z() const
const std::vector< const xAOD::UncalibratedMeasurement * > & measurements() const
Returns the index of the measurements.
float y() const
static const SG::AuxElement::Accessor< ElementLink< IParticleContainer > > acc("originalObjectLink")
Object used for setting/getting the dynamic decoration in question.

◆ bottomStripDirectionAcc()

AUXSTORE_PRIMITIVE_SETTER_AND_GETTER(xAOD::SpacePoint_v1, float, topHalfStripLength, setTopHalfStripLength) AUXSTORE_PRIMITIVE_SETTER_AND_GETTER(xAOD const SG::AuxElement::Accessor< xAOD::ArrayFloat3 > bottomStripDirectionAcc ( "bottomStripDirection" )
static

Variable Documentation

◆ globalPosAcc

const SG::AuxElement::Accessor< std::array< float, 3 > > globalPosAcc("globalPosition") ( "globalPosition" )
static

◆ stripCenterDistanceAcc

const SG::AuxElement::Accessor< xAOD::ArrayFloat3 > stripCenterDistanceAcc("stripCenterDistance") ( "stripCenterDistance" )
static

◆ topStripCenterAcc

const SG::AuxElement::Accessor< xAOD::ArrayFloat3 > topStripCenterAcc("topStripCenter") ( "topStripCenter" )
static