ATLAS Offline Software
Event
xAOD
xAODTracking
Root
TrackStateValidation_v1.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
// $Id: TrackStateValidation_v1.cxx 717831 2016-01-14 20:03:39Z goetz $
6
7
// EDM include(s):
8
#include "
xAODCore/AuxStoreAccessorMacros.h
"
9
10
// Local include(s):
11
#include "
xAODTracking/versions/TrackStateValidation_v1.h
"
12
13
namespace
xAOD
{
14
15
TrackStateValidation_v1::TrackStateValidation_v1
()
16
:
SG
::AuxElement() {
17
}
18
19
AUXSTORE_PRIMITIVE_SETTER_AND_GETTER
(
TrackStateValidation_v1
,
int
,
type
, setType)
20
AUXSTORE_PRIMITIVE_SETTER_AND_GETTER
(
TrackStateValidation_v1
,
uint64_t
, detElementId, setDetElementId)
21
AUXSTORE_PRIMITIVE_SETTER_AND_GETTER
(
TrackStateValidation_v1
,
char
, detType, setDetType)
22
23
24
AUXSTORE_PRIMITIVE_GETTER
(
TrackStateValidation_v1
,
float
, localX )
25
AUXSTORE_PRIMITIVE_GETTER
(
TrackStateValidation_v1
,
float
, localY )
26
27
void
TrackStateValidation_v1
::setLocalPosition(
float
localX,
float
localY) {
28
static
const
Accessor< float >
acc1
(
"localX"
);
29
acc1
( *
this
) = localX;
30
static
const
Accessor< float >
acc2
(
"localY"
);
31
acc2
( *
this
) = localY;
32
}
33
34
AUXSTORE_PRIMITIVE_GETTER
(
TrackStateValidation_v1
,
float
, localTheta )
35
AUXSTORE_PRIMITIVE_GETTER
(
TrackStateValidation_v1
,
float
, localPhi )
36
37
void
TrackStateValidation_v1
::setLocalAngles(
float
localTheta,
float
localPhi) {
38
static
const
Accessor< float >
acc1
(
"localTheta"
);
39
acc1
( *
this
) = localTheta;
40
static
const
Accessor< float >
acc2
(
"localPhi"
);
41
acc2
( *
this
) = localPhi;
42
}
43
44
AUXSTORE_PRIMITIVE_GETTER
(
TrackStateValidation_v1
,
float
, unbiasedResidualX )
45
AUXSTORE_PRIMITIVE_GETTER
(
TrackStateValidation_v1
,
float
, unbiasedResidualY )
46
47
void
TrackStateValidation_v1
::setUnbiasedResidual(
float
unbiasedResidualX,
float
unbiasedResidualY) {
48
static
const
Accessor< float >
acc1
(
"unbiasedResidualX"
);
49
acc1
( *
this
) = unbiasedResidualX;
50
static
const
Accessor< float >
acc2
(
"unbiasedResidualY"
);
51
acc2
( *
this
) = unbiasedResidualY;
52
}
53
54
AUXSTORE_PRIMITIVE_GETTER
(
TrackStateValidation_v1
,
float
, unbiasedPullX )
55
AUXSTORE_PRIMITIVE_GETTER
(
TrackStateValidation_v1
,
float
, unbiasedPullY )
56
57
void
TrackStateValidation_v1
::setUnbiasedPull(
float
unbiasedPullX,
float
unbiasedPullY) {
58
static
const
Accessor< float >
acc1
(
"unbiasedPullX"
);
59
acc1
( *
this
) = unbiasedPullX;
60
static
const
Accessor< float >
acc2
(
"unbiasedPullY"
);
61
acc2
( *
this
) = unbiasedPullY;
62
}
63
64
AUXSTORE_PRIMITIVE_GETTER
(
TrackStateValidation_v1
,
float
, biasedResidualX )
65
AUXSTORE_PRIMITIVE_GETTER
(
TrackStateValidation_v1
,
float
, biasedResidualY )
66
67
void
TrackStateValidation_v1
::setBiasedResidual(
float
biasedResidualX,
float
biasedResidualY) {
68
static
const
Accessor< float >
acc1
(
"biasedResidualX"
);
69
acc1
( *
this
) = biasedResidualX;
70
static
const
Accessor< float >
acc2
(
"biasedResidualY"
);
71
acc2
( *
this
) = biasedResidualY;
72
}
73
74
AUXSTORE_PRIMITIVE_GETTER
(
TrackStateValidation_v1
,
float
, biasedPullX )
75
AUXSTORE_PRIMITIVE_GETTER
(
TrackStateValidation_v1
,
float
, biasedPullY )
76
77
void
TrackStateValidation_v1
::setBiasedPull(
float
biasedPullX,
float
biasedPullY) {
78
static
const
Accessor< float >
acc1
(
"biasedPullX"
);
79
acc1
( *
this
) = biasedPullX;
80
static
const
Accessor< float >
acc2
(
"biasedPullY"
);
81
acc2
( *
this
) = biasedPullY;
82
}
83
84
85
AUXSTORE_PRIMITIVE_SETTER_AND_GETTER
(
TrackStateValidation_v1
,
ElementLink<xAOD::TrackMeasurementValidationContainer>
, trackMeasurementValidationLink, setTrackMeasurementValidationLink)
86
// AUXSTORE_PRIMITIVE_SETTER_AND_GETTER( TrackStateValidation_v1, ElementLink<xAOD::TrackParticle>, trackParticleLink, setTrackParticleLink)
87
88
}
// namespace xAOD
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
SG
Forward declaration.
Definition:
CaloCellPacker_400_500.h:32
SG::Accessor< float >
AuxStoreAccessorMacros.h
xAOD::TrackStateValidation_v1
Class describing a TrackStateValidation.
Definition:
TrackStateValidation_v1.h:28
xAOD
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
Definition:
ICaloAffectedTool.h:24
TrackStateValidation_v1.h
python.CaloBCIDAvgAlgConfig.acc1
def acc1
Definition:
CaloBCIDAvgAlgConfig.py:49
python.CaloBCIDAvgAlgConfig.acc2
def acc2
Definition:
CaloBCIDAvgAlgConfig.py:59
xAOD::uint64_t
uint64_t
Definition:
EventInfo_v1.cxx:123
ElementLink
ElementLink implementation for ROOT usage.
Definition:
AthLinks/ElementLink.h:123
xAOD::TrackStateValidation_v1::TrackStateValidation_v1
TrackStateValidation_v1()
Default constructor.
Definition:
TrackStateValidation_v1.cxx:15
python.CaloScaleNoiseConfig.type
type
Definition:
CaloScaleNoiseConfig.py:78
AUXSTORE_PRIMITIVE_GETTER
#define AUXSTORE_PRIMITIVE_GETTER(CL, TYPE, NAME)
Macro creating the reader function for a primitive auxiliary property.
Definition:
AuxStoreAccessorMacros.h:59
Generated on Fri Jan 10 2025 21:19:53 for ATLAS Offline Software by
1.8.18