ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Event
xAOD
xAODTracking
Root
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
*/
4
#include "
xAODTracking/versions/TrackSummary_v1.h
"
5
6
#include "
xAODCore/AuxStoreAccessorMacros.h
"
7
#include "
xAODTracking/AuxAccessorMacro.h
"
8
9
10
namespace
xAOD
{
11
12
AUXSTORE_OBJECT_SETTER_AND_GETTER
(
TrackSummary_v1
, std::vector<double>,
13
params, setParams)
14
15
AUXSTORE_OBJECT_SETTER_AND_GETTER
(
TrackSummary_v1
, std::vector<double>,
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
40
const
SG::AuxElement::Accessor<std::vector<double> >
41
xAOD::TrackSummary_v1::s_paramsAcc
{
"params"
};
42
const
SG::AuxElement::Accessor<std::vector<double> >
43
xAOD::TrackSummary_v1::s_covParamsAcc
{
"covParams"
};
44
45
void
TrackSummary_v1::resize
(
size_t
sz
) {
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
AuxAccessorMacro.h
DEFINE_API
#define DEFINE_API(__CL, __TYPE, __GETTER, __SETTER)
Definition
AuxAccessorMacro.h:21
AuxStoreAccessorMacros.h
AUXSTORE_PRIMITIVE_SETTER_AND_GETTER
#define AUXSTORE_PRIMITIVE_SETTER_AND_GETTER(CL, TYPE, NAME, SETTER)
Macro creating the accessors of primitive auxiliary properties.
Definition
AuxStoreAccessorMacros.h:36
AUXSTORE_OBJECT_SETTER_AND_GETTER
#define AUXSTORE_OBJECT_SETTER_AND_GETTER(CL, TYPE, NAME, SETTER)
Macro creating the accessors of complex auxiliary properties.
Definition
AuxStoreAccessorMacros.h:88
sz
static Double_t sz
Definition
LArPhysWaveHECTool.cxx:37
TrackSummary_v1.h
xAOD::TrackSummary_v1
Track Summary for Acts MultiTrajectory.
Definition
TrackSummary_v1.h:21
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
xAOD::TrackSummary_v1::s_covParamsAcc
static const SG::AuxElement::Accessor< std::vector< double > > s_covParamsAcc
Definition
TrackSummary_v1.h:43
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::TrackSummary_v1::s_paramsAcc
static const SG::AuxElement::Accessor< std::vector< double > > s_paramsAcc
Definition
TrackSummary_v1.h:41
xAOD
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
Definition
ICaloAffectedTool.h:24
xAOD::uint8_t
uint8_t
Definition
Muon_v1.cxx:500
xAOD::covParams
covParams
Definition
TrackSummary_v1.cxx:16
Generated on
for ATLAS Offline Software by
1.17.0