ATLAS Offline Software
TrackState_v1.cxx
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3 */
7 
8 
9 namespace xAOD {
10 
11  DEFINE_API(TrackState_v1, float, chi2, setChi2)
12  DEFINE_API(TrackState_v1, double, pathLength, setPathLength)
13  DEFINE_API( TrackState_v1, uint64_t, typeFlags, setTypeFlags)
14  DEFINE_API(TrackState_v1, TrackStateIndexType, previous, setPrevious)
15  DEFINE_API(TrackState_v1, TrackStateIndexType, next, setNext)
16  DEFINE_API(TrackState_v1, TrackStateIndexType, predicted, setPredicted)
17  DEFINE_API(TrackState_v1, TrackStateIndexType, filtered, setFiltered)
18  DEFINE_API(TrackState_v1, TrackStateIndexType, smoothed, setSmoothed)
19  DEFINE_API(TrackState_v1, TrackStateIndexType, jacobian, setJacobian)
20  DEFINE_API(TrackState_v1, TrackStateIndexType, calibrated, setCalibrated)
21  DEFINE_API(TrackState_v1, TrackStateIndexType, measDim, setMeasDim)
22 
25  static const SG::ConstAccessor<const xAOD::UncalibratedMeasurement *> acc("uncalibratedMeasurement");
26  return acc.isAvailable(*this) ? acc(*this) : nullptr;
27  }
28 
29  void
31  static const SG::Decorator<const xAOD::UncalibratedMeasurement *> decor("uncalibratedMeasurement");
32  decor(*this) = an_uncalibrated_measurement;
33  }
34 
36  AUXSTORE_PRIMITIVE_SETTER_AND_GETTER(TrackState_v1, unsigned int, surfaceIndex, setSurfaceIndex);
37 
38 }
39 
40 
41 #undef DEFINE_API
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
AuxStoreAccessorMacros.h
xAOD
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
Definition: ICaloAffectedTool.h:24
SG::ConstAccessor
Helper class to provide constant type-safe access to aux data.
Definition: ConstAccessor.h:55
xAOD::UncalibratedMeasurement_v1
Definition: UncalibratedMeasurement_v1.h:13
xAOD::TrackState_v1::uncalibratedMeasurement
const xAOD::UncalibratedMeasurement * uncalibratedMeasurement() const
EL to uncalibrated measurement Can be invalid sometimes!
Definition: TrackState_v1.cxx:24
SG::Decorator
Helper class to provide type-safe access to aux data.
Definition: Decorator.h:59
fillPileUpNoiseLumi.next
next
Definition: fillPileUpNoiseLumi.py:52
TrackState_v1.h
DEFINE_API
#define DEFINE_API(__CL, __TYPE, __GETTER, __SETTER)
Definition: AuxAccessorMacro.h:21
chi2
double chi2(TH1 *h0, TH1 *h1)
Definition: comparitor.cxx:523
xAOD::uint64_t
uint64_t
Definition: EventInfo_v1.cxx:123
xAOD::TrackStateIndexType
uint32_t TrackStateIndexType
Definition: TrackState_v1.h:15
AuxAccessorMacro.h
xAOD::TrackState_v1::setUncalibratedMeasurement
void setUncalibratedMeasurement(const xAOD::UncalibratedMeasurement *)
Set EL to uncalibrated measurement.
Definition: TrackState_v1.cxx:30
xAOD::TrackState_v1
class describing TrackState - backend of navigation object of Acts::MultiTrajectory
Definition: TrackState_v1.h:19
Trk::previous
@ previous
Definition: BinningData.h:32