ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Tracking
TrkEvent
TrkTrack
src
AlignmentEffectsOnTrack.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#include "
TrkTrack/AlignmentEffectsOnTrack.h
"
6
#include "GaudiKernel/MsgStream.h"
7
#include "
TrkSurfaces/Surface.h
"
8
9
Trk::AlignmentEffectsOnTrack::AlignmentEffectsOnTrack
(
10
double
deltaTranslation
,
11
double
sigmaDeltaTranslation
,
12
double
deltaAngle
,
13
double
sigmaDeltaAngle
,
14
const
std::vector<Identifier>& affectedTSOS,
15
const
Trk::Surface
& surface)
16
:
SurfacePtrHolder
(surface)
17
,
m_deltaTranslation
(
deltaTranslation
)
18
,
m_sigmaDeltaTranslation
(
sigmaDeltaTranslation
)
19
,
m_deltaAngle
(
deltaAngle
)
20
,
m_sigmaDeltaAngle
(
sigmaDeltaAngle
)
21
,
m_affectedTSOS
(affectedTSOS)
22
{}
23
26
MsgStream&
27
Trk::operator<<
(MsgStream& sl,
const
Trk::AlignmentEffectsOnTrack
& aeot)
28
{
29
if
(sl.level() < MSG::INFO) {
30
sl <<
"AlignmentEffectsOnTrack:"
<<
endmsg
;
31
sl <<
"deltaTranslation = "
<< aeot.
deltaTranslation
() <<
endmsg
;
32
sl <<
"sigmaDeltaTranslation = "
<< aeot.
deltaTranslation
() <<
endmsg
;
33
sl <<
"deltaAngle = "
<< aeot.
deltaAngle
() <<
endmsg
;
34
sl <<
"sigmaDeltaAngle = "
<< aeot.
sigmaDeltaAngle
() <<
endmsg
;
35
sl <<
"surface = "
<< aeot.
associatedSurface
() <<
endmsg
;
36
}
37
return
sl;
38
}
39
40
std::ostream&
41
Trk::operator<<
(std::ostream& sl,
const
Trk::AlignmentEffectsOnTrack
& aeot)
42
{
43
sl <<
"AlignmentEffectsOnTrack:"
<< std::endl;
44
sl <<
"deltaTranslation = "
<< aeot.
deltaTranslation
() << std::endl;
45
sl <<
"sigmaDeltaTranslation = "
<< aeot.
deltaTranslation
() << std::endl;
46
sl <<
"deltaAngle = "
<< aeot.
deltaAngle
() << std::endl;
47
sl <<
"sigmaDeltaAngle = "
<< aeot.
sigmaDeltaAngle
() << std::endl;
48
sl <<
"surface = "
<< aeot.
associatedSurface
() << std::endl;
49
return
sl;
50
}
AlignmentEffectsOnTrack.h
endmsg
#define endmsg
Definition
AnalysisConfig_Ntuple.cxx:54
Surface.h
Trk::AlignmentEffectsOnTrack
Class to represent misalignments or 'discontinuities' on tracks These have a surface where the z axis...
Definition
AlignmentEffectsOnTrack.h:24
Trk::AlignmentEffectsOnTrack::sigmaDeltaAngle
double sigmaDeltaAngle() const
returns the
Definition
AlignmentEffectsOnTrack.h:109
Trk::AlignmentEffectsOnTrack::m_sigmaDeltaTranslation
double m_sigmaDeltaTranslation
Definition
AlignmentEffectsOnTrack.h:75
Trk::AlignmentEffectsOnTrack::m_sigmaDeltaAngle
double m_sigmaDeltaAngle
Definition
AlignmentEffectsOnTrack.h:77
Trk::AlignmentEffectsOnTrack::m_deltaTranslation
double m_deltaTranslation
Definition
AlignmentEffectsOnTrack.h:74
Trk::AlignmentEffectsOnTrack::m_affectedTSOS
std::vector< Identifier > m_affectedTSOS
Definition
AlignmentEffectsOnTrack.h:78
Trk::AlignmentEffectsOnTrack::m_deltaAngle
double m_deltaAngle
Definition
AlignmentEffectsOnTrack.h:76
Trk::AlignmentEffectsOnTrack::deltaAngle
double deltaAngle() const
returns the
Definition
AlignmentEffectsOnTrack.h:103
Trk::AlignmentEffectsOnTrack::sigmaDeltaTranslation
double sigmaDeltaTranslation() const
returns the
Definition
AlignmentEffectsOnTrack.h:97
Trk::AlignmentEffectsOnTrack::deltaTranslation
double deltaTranslation() const
returns the
Definition
AlignmentEffectsOnTrack.h:91
Trk::AlignmentEffectsOnTrack::associatedSurface
const Trk::Surface & associatedSurface() const
The surface on which this offset is expressed.
Definition
AlignmentEffectsOnTrack.h:128
Trk::AlignmentEffectsOnTrack::AlignmentEffectsOnTrack
AlignmentEffectsOnTrack(double deltaTranslation, double m_sigmaDeltaTranslation, double deltaAngle, double sigmaDeltaAngle, const std::vector< Identifier > &identifiersOfAffectedTSOS, const Trk::Surface &surf)
Definition
AlignmentEffectsOnTrack.cxx:9
Trk::Surface
Abstract Base Class for tracking surfaces.
Definition
Surface.h:79
Trk::operator<<
MsgStream & operator<<(MsgStream &sl, const AlignModule &alignModule)
overload of << operator for MsgStream for debug output
Definition
AlignModule.cxx:204
Trk::SurfacePtrHolder
SurfacePtrHolderImpl< Surface > SurfacePtrHolder
Definition
SurfaceHolders.h:25
Generated on
for ATLAS Offline Software by
1.17.0