ATLAS Offline Software
Loading...
Searching...
No Matches
TrackStateValidation_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: TrackStateValidation_v1.cxx 717831 2016-01-14 20:03:39Z goetz $
6
7// EDM include(s):
9
10// Local include(s):
12
13namespace xAOD {
14
18
22
23
26
28 static const Accessor< float > acc1( "localX" );
29 acc1( *this ) = localX;
30 static const Accessor< float > acc2( "localY" );
31 acc2( *this ) = localY;
32 }
33
36
38 static const Accessor< float > acc1( "localTheta" );
39 acc1( *this ) = localTheta;
40 static const Accessor< float > acc2( "localPhi" );
41 acc2( *this ) = localPhi;
42 }
43
44 AUXSTORE_PRIMITIVE_GETTER( TrackStateValidation_v1, float, unbiasedResidualX )
45 AUXSTORE_PRIMITIVE_GETTER( TrackStateValidation_v1, float, unbiasedResidualY )
46
48 static const Accessor< float > acc1( "unbiasedResidualX" );
49 acc1( *this ) = unbiasedResidualX;
50 static const Accessor< float > acc2( "unbiasedResidualY" );
51 acc2( *this ) = unbiasedResidualY;
52 }
53
56
58 static const Accessor< float > acc1( "unbiasedPullX" );
59 acc1( *this ) = unbiasedPullX;
60 static const Accessor< float > acc2( "unbiasedPullY" );
61 acc2( *this ) = unbiasedPullY;
62 }
63
64 AUXSTORE_PRIMITIVE_GETTER( TrackStateValidation_v1, float, biasedResidualX )
65 AUXSTORE_PRIMITIVE_GETTER( TrackStateValidation_v1, float, biasedResidualY )
66
68 static const Accessor< float > acc1( "biasedResidualX" );
69 acc1( *this ) = biasedResidualX;
70 static const Accessor< float > acc2( "biasedResidualY" );
71 acc2( *this ) = biasedResidualY;
72 }
73
76
78 static const Accessor< float > acc1( "biasedPullX" );
79 acc1( *this ) = biasedPullX;
80 static const Accessor< float > acc2( "biasedPullY" );
81 acc2( *this ) = biasedPullY;
82 }
83
84
85 AUXSTORE_PRIMITIVE_SETTER_AND_GETTER( TrackStateValidation_v1, ElementLink<xAOD::TrackMeasurementValidationContainer>, trackMeasurementValidationLink, setTrackMeasurementValidationLink)
86 // AUXSTORE_PRIMITIVE_SETTER_AND_GETTER( TrackStateValidation_v1, ElementLink<xAOD::TrackParticle>, trackParticleLink, setTrackParticleLink)
87
88} // 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 TrackStateValidation.
TrackStateValidation_v1()
Default constructor.
void setBiasedPull(float biasedPullX, float biasedPullY)
Sets the biased pull.
float unbiasedResidualX() const
Returns the unbiased x residual.
float biasedPullY() const
Returns the biased x pull.
float unbiasedPullX() const
Returns the unbiased x pull.
float biasedResidualY() const
Returns the biased x residual.
void setLocalPosition(float localX, float localY)
Sets the local position.
float localY() const
Returns the y position.
void setUnbiasedResidual(float unbiasedResidualX, float unbiasedResidualY)
Sets the unbiased residual.
void setBiasedResidual(float biasedResidualX, float biasedResidualY)
Sets the biased residual.
float unbiasedPullY() const
Returns the unbiased x pull.
float localTheta() const
Returns the theta position.
float unbiasedResidualY() const
Returns the unbiased x residual.
float localPhi() const
Returns the phi position.
void setLocalAngles(float localTheta, float localPhi)
Sets the local angles.
float biasedResidualX() const
Returns the biased x residual.
void setUnbiasedPull(float unbiasedPullX, float unbiasedPullY)
Sets the unbiased pull.
float biasedPullX() const
Returns the biased x pull.
Forward declaration.
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.