ATLAS Offline Software
Loading...
Searching...
No Matches
TrackMeasurementValidation_v1.cxx
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3*/
4
5// $Id: TrackMeasurementValidation_v1.cxx 633476 2014-12-03 18:26:13Z amorley $
6
7// EDM include(s):
9
10// Local include(s):
12
13namespace xAOD {
14
18
21 rdoIdentifierList,
22 setRdoIdentifierList )
23
29
30 void TrackMeasurementValidation_v1::setLocalPosition(float localX, float localY) {
31 static const Accessor< float > acc1( "localX" );
32 acc1( *this ) = localX;
33 static const Accessor< float > acc2( "localY" );
34 acc2( *this ) = localY;
35 }
36
38 static const Accessor< float > acc1( "localXError" );
39 acc1( *this ) = localXError;
40 static const Accessor< float > acc2( "localYError" );
41 acc2( *this ) = localYError;
42 static const Accessor< float > acc3( "localXYCorrelation" );
43 acc3( *this ) = localXYCorrelation;
44 }
45
49
51 static const Accessor< float > acc1( "globalX" );
52 acc1( *this ) = globalX;
53 static const Accessor< float > acc2( "globalY" );
54 acc2( *this ) = globalY;
55 static const Accessor< float > acc3( "globalZ" );
56 acc3( *this ) = globalZ;
57 }
58
59
60} // namespace xAOD
#define AUXSTORE_PRIMITIVE_GETTER(CL, TYPE, NAME)
Macro creating the reader function for a primitive auxiliary property.
#define AUXSTORE_PRIMITIVE_SETTER_AND_GETTER(CL, TYPE, NAME, SETTER)
Macro creating the accessors of primitive auxiliary properties.
SG::Accessor< T, ALLOC > Accessor
Definition AuxElement.h:572
AuxElement()
Default constructor.
Class describing a TrackMeasurementValidation.
float globalZ() const
Returns the z position.
float localXYCorrelation() const
Returns the xy position correlation.
void setLocalPositionError(float localXError, float localYError, float localXYCorrelation)
Sets the local position error.
float localXError() const
Returns the x position error.
float localYError() const
Returns the y position error.
void setGlobalPosition(float globalX, float globalY, float globalZ)
Sets the global position.
float globalY() const
Returns the y position.
Forward declaration.
STL namespace.
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
AUXSTORE_OBJECT_SETTER_AND_GETTER(CaloRings_v1, RingSetLinks, ringSetLinks, setRingSetLinks) unsigned CaloRings_v1