ATLAS Offline Software
Loading...
Searching...
No Matches
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
9namespace 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)
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
#define DEFINE_API(__CL, __TYPE, __GETTER, __SETTER)
#define AUXSTORE_PRIMITIVE_SETTER_AND_GETTER(CL, TYPE, NAME, SETTER)
Macro creating the accessors of primitive auxiliary properties.
Helper class to provide constant type-safe access to aux data.
Helper class to provide type-safe access to aux data.
Definition Decorator.h:59
class describing TrackState - backend of navigation object of Acts::MultiTrajectory
void setUncalibratedMeasurement(const xAOD::UncalibratedMeasurement *)
Set EL to uncalibrated measurement.
const xAOD::UncalibratedMeasurement * uncalibratedMeasurement() const
EL to uncalibrated measurement Can be invalid sometimes!
double chi2(TH1 *h0, TH1 *h1)
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
static const SG::AuxElement::Accessor< ElementLink< IParticleContainer > > acc("originalObjectLink")
Object used for setting/getting the dynamic decoration in question.
uint32_t TrackStateIndexType
UncalibratedMeasurement_v1 UncalibratedMeasurement
Define the version of the uncalibrated measurement class.