ATLAS Offline Software
Tracking
TrkAlignment
TrkAlignEvent
src
AlignResidualType.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
#include "GaudiKernel/MsgStream.h"
6
#include "
TrkAlignEvent/AlignResidualType.h
"
7
#include "
TrkEventPrimitives/TrackStateDefs.h
"
8
9
namespace
Trk
10
{
11
MsgStream&
operator<<
(MsgStream&
log
,
Trk::AlignMesType
type
)
12
{
13
switch
(
type
)
14
{
15
case
Measurement
:
16
return
log
<<
" measurement "
;
17
case
Scatterer
:
18
return
log
<<
" scatterer "
;
19
case
EnergyDeposit
:
20
return
log
<<
" energy deposit "
;
21
default
:
22
return
log
<<
" unknown mes type "
;
23
}
24
}
25
26
MsgStream&
operator<<
(MsgStream&
log
,
Trk::AlignResidualType
type
)
27
{
28
switch
(
type
)
29
{
30
case
HitOnly
:
31
return
log
<<
" HitOnly "
;
32
case
Unbiased
:
33
return
log
<<
" Unbiased "
;
34
// case DCA:
35
// return log << " DCA ";
36
default
:
37
return
log
<<
" unknown "
;
38
}
39
}
40
41
ResidualPull::ResidualType
ResidualPullType
(
AlignResidualType
type
)
42
{
43
// defines mapping between residual types for the alignment and those
44
// used in the ResidualPullCalculator
45
switch
(
type
)
46
{
47
case
HitOnly
:
48
return
ResidualPull::HitOnly
;
49
case
Unbiased
:
50
// case DCA:
51
return
ResidualPull::Unbiased
;
52
default
:
53
return
ResidualPull::HitOnly
;
54
}
55
}
56
}
Trk::HitOnly
@ HitOnly
Definition:
AlignResidualType.h:27
TrackStateDefs.h
Trk::AlignResidualType
AlignResidualType
Definition:
AlignResidualType.h:26
Trk::ResidualPull::Unbiased
@ Unbiased
RP with track state that has measurement not included.
Definition:
ResidualPull.h:57
Trk::ResidualPullType
ResidualPull::ResidualType ResidualPullType(AlignResidualType type)
Definition:
AlignResidualType.cxx:41
Trk::Unbiased
@ Unbiased
Definition:
AlignResidualType.h:28
AlignResidualType.h
Trk::EnergyDeposit
@ EnergyDeposit
Definition:
AlignResidualType.h:35
Trk::Measurement
@ Measurement
Definition:
AlignResidualType.h:33
Trk::Scatterer
@ Scatterer
Definition:
AlignResidualType.h:34
Trk::ResidualPull::HitOnly
@ HitOnly
RP with biased track state, but pull from hit only.
Definition:
ResidualPull.h:56
Trk
Ensure that the ATLAS eigen extensions are properly loaded.
Definition:
FakeTrackBuilder.h:9
Trk::operator<<
MsgStream & operator<<(MsgStream &sl, const AlignModule &alignModule)
overload of << operator for MsgStream for debug output
Definition:
AlignModule.cxx:204
python.CaloScaleNoiseConfig.type
type
Definition:
CaloScaleNoiseConfig.py:78
python.CaloCondTools.log
log
Definition:
CaloCondTools.py:20
AlignResidualType
AlignResidualType is an enum describing the type of residual AlignMesType is an enum describing the t...
Trk::AlignMesType
AlignMesType
Definition:
AlignResidualType.h:32
Trk::ResidualPull::ResidualType
ResidualType
Definition:
ResidualPull.h:53
Generated on Tue Jun 25 2024 21:09:59 for ATLAS Offline Software by
1.8.18