ATLAS Offline Software
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 
10 namespace xAOD {
11 
13  params, setParams)
14 
16  covParams, setCovParams)
17 
18 DEFINE_API(TrackSummary_v1, unsigned int, nMeasurements, setnMeasurements)
19 
20 DEFINE_API(TrackSummary_v1, unsigned int, nHoles, setnHoles)
21 
22 DEFINE_API(TrackSummary_v1, float, chi2f, setChi2f)
23 
24 DEFINE_API(TrackSummary_v1, unsigned int, ndf, setNdf)
25 
26 DEFINE_API(TrackSummary_v1, unsigned int, nOutliers, setnOutliers)
27 
28 DEFINE_API(TrackSummary_v1, unsigned int, nSharedHits, setnSharedHits)
29 
30 DEFINE_API(TrackSummary_v1, unsigned int, tipIndex, setTipIndex)
31 
32 DEFINE_API(TrackSummary_v1, unsigned int, stemIndex, setStemIndex)
33 
34 AUXSTORE_PRIMITIVE_SETTER_AND_GETTER(TrackSummary_v1, unsigned int, surfaceIndex, setSurfaceIndex)
35 
36 
37 AUXSTORE_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 
50 size_t TrackSummary_v1::size() const {
51  return s_paramsAcc(*this).size();
52 }
53 } // namespace xAOD
covarianceTool.ndf
ndf
Definition: covarianceTool.py:678
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
TrackSummary_v1.h
xAOD::TrackSummary_v1::s_paramsAcc
static const SG::AuxElement::Accessor< std::vector< double > > s_paramsAcc
Definition: TrackSummary_v1.h:23
fitman.sz
sz
Definition: fitman.py:527
xAOD::uint8_t
uint8_t
Definition: Muon_v1.cxx:557
xAOD::TrackSummary_v1
Track Summary for Acts MultiTrajectory.
Definition: TrackSummary_v1.h:21
xAOD::TrackSummary_v1::s_covParamsAcc
static const SG::AuxElement::Accessor< std::vector< double > > s_covParamsAcc
Definition: TrackSummary_v1.h:23
SG::Accessor
Helper class to provide type-safe access to aux data.
Definition: Control/AthContainers/AthContainers/Accessor.h:68
AuxStoreAccessorMacros.h
xAOD::TrackSummary_v1::size
size_t size() const
retrieve the size of the internal vectors for the data summary
Definition: TrackSummary_v1.cxx:50
xAOD
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
Definition: ICaloAffectedTool.h:24
DEFINE_API
#define DEFINE_API(__CL, __TYPE, __GETTER, __SETTER)
Definition: AuxAccessorMacro.h:21
xAOD::covParams
covParams
Definition: TrackSummary_v1.cxx:16
AuxAccessorMacro.h
xAOD::TrackSummary_v1::resize
void resize(size_t sz=6)
resize internal arrays to store params (to capacity sz) & convariances (to capacity sz x sz)
Definition: TrackSummary_v1.cxx:45
PowhegControl_ttFCNC_NLO.params
params
Definition: PowhegControl_ttFCNC_NLO.py:226
xAOD::AUXSTORE_OBJECT_SETTER_AND_GETTER
AUXSTORE_OBJECT_SETTER_AND_GETTER(CaloRings_v1, RingSetLinks, ringSetLinks, setRingSetLinks) unsigned CaloRings_v1
Definition: CaloRings_v1.cxx:27