ATLAS Offline Software
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 
13 namespace xAOD {
14 
16  : SG::AuxElement() {
17  }
18 
21  rdoIdentifierList,
22  setRdoIdentifierList )
23 
28  AUXSTORE_PRIMITIVE_GETTER( TrackMeasurementValidation_v1, float, localXYCorrelation )
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 
37  void TrackMeasurementValidation_v1::setLocalPositionError(float localXError, float localYError, float localXYCorrelation) {
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 
50  void TrackMeasurementValidation_v1::setGlobalPosition(float globalX, float globalY, float globalZ) {
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
python.CaloBCIDAvgAlgConfig.acc3
def acc3
Definition: CaloBCIDAvgAlgConfig.py:68
xAOD::AUXSTORE_PRIMITIVE_SETTER_AND_GETTER
AUXSTORE_PRIMITIVE_SETTER_AND_GETTER(BTagging_v1, float, IP2D_pb, setIP2D_pb) AUXSTORE_PRIMITIVE_SETTER_AND_GETTER(BTagging_v1
SG
Forward declaration.
Definition: CaloCellPacker_400_500.h:32
SG::Accessor< float >
AuxStoreAccessorMacros.h
xAOD::TrackMeasurementValidation_v1::localXError
float localXError() const
Returns the x position error.
TRT::Hit::globalZ
@ globalZ
Definition: HitInfo.h:39
xAOD
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
Definition: ICaloAffectedTool.h:24
xAOD::identifier
identifier
Definition: UncalibratedMeasurement_v1.cxx:15
xAOD::TrackMeasurementValidation_v1
Class describing a TrackMeasurementValidation.
Definition: TrackMeasurementValidation_v1.h:24
vector
Definition: MultiHisto.h:13
python.CaloBCIDAvgAlgConfig.acc1
def acc1
Definition: CaloBCIDAvgAlgConfig.py:48
python.CaloBCIDAvgAlgConfig.acc2
def acc2
Definition: CaloBCIDAvgAlgConfig.py:58
xAOD::uint64_t
uint64_t
Definition: EventInfo_v1.cxx:123
xAOD::TrackMeasurementValidation_v1::setLocalPositionError
void setLocalPositionError(float localXError, float localYError, float localXYCorrelation)
Sets the local position error.
Definition: TrackMeasurementValidation_v1.cxx:37
xAOD::TrackMeasurementValidation_v1::localYError
float localYError() const
Returns the y position error.
TrackMeasurementValidation_v1.h
xAOD::TrackMeasurementValidation_v1::TrackMeasurementValidation_v1
TrackMeasurementValidation_v1()
Default constructor.
Definition: TrackMeasurementValidation_v1.cxx:15
AUXSTORE_PRIMITIVE_GETTER
#define AUXSTORE_PRIMITIVE_GETTER(CL, TYPE, NAME)
Macro creating the reader function for a primitive auxiliary property.
Definition: AuxStoreAccessorMacros.h:59
xAOD::TrackMeasurementValidation_v1::localXYCorrelation
float localXYCorrelation() const
Returns the xy position correlation.
xAOD::AUXSTORE_OBJECT_SETTER_AND_GETTER
AUXSTORE_OBJECT_SETTER_AND_GETTER(CaloRings_v1, RingSetLinks, ringSetLinks, setRingSetLinks) unsigned CaloRings_v1
Definition: CaloRings_v1.cxx:27