ATLAS Offline Software
Loading...
Searching...
No Matches
TrackSummary_v1.cxx
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3*/
5
8
9
10namespace xAOD {
11
13 params, setParams)
14
16 covParams, setCovParams)
17
18DEFINE_API(TrackSummary_v1, unsigned int, nMeasurements, setnMeasurements)
19
20DEFINE_API(TrackSummary_v1, unsigned int, nHoles, setnHoles)
21
22DEFINE_API(TrackSummary_v1, float, chi2f, setChi2f)
23
24DEFINE_API(TrackSummary_v1, unsigned int, ndf, setNdf)
25
26DEFINE_API(TrackSummary_v1, unsigned int, nOutliers, setnOutliers)
27
28DEFINE_API(TrackSummary_v1, unsigned int, nSharedHits, setnSharedHits)
29
30DEFINE_API(TrackSummary_v1, unsigned int, tipIndex, setTipIndex)
31
32DEFINE_API(TrackSummary_v1, unsigned int, stemIndex, setStemIndex)
33
34AUXSTORE_PRIMITIVE_SETTER_AND_GETTER(TrackSummary_v1, unsigned int, surfaceIndex, setSurfaceIndex)
35
36
37AUXSTORE_OBJECT_SETTER_AND_GETTER(TrackSummary_v1, uint8_t, particleHypothesis, setParticleHypothesis)
38
39
44
46 s_paramsAcc(*this).resize(sz);
47 s_covParamsAcc(*this).resize(sz * sz);
48}
49
50size_t TrackSummary_v1::size() const {
51 return s_paramsAcc(*this).size();
52}
53} // namespace xAOD
#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.
#define AUXSTORE_OBJECT_SETTER_AND_GETTER(CL, TYPE, NAME, SETTER)
Macro creating the accessors of complex auxiliary properties.
static Double_t sz
SG::Accessor< T, ALLOC > Accessor
Definition AuxElement.h:572
Track Summary for Acts MultiTrajectory.
void resize(size_t sz=6)
resize internal arrays to store params (to capacity sz) & convariances (to capacity sz x sz)
static const SG::AuxElement::Accessor< std::vector< double > > s_covParamsAcc
size_t size() const
retrieve the size of the internal vectors for the data summary
static const SG::AuxElement::Accessor< std::vector< double > > s_paramsAcc
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.