ATLAS Offline Software
Loading...
Searching...
No Matches
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
6#include "GaudiKernel/MsgStream.h"
8
23
26MsgStream&
27Trk::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
40std::ostream&
41Trk::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}
#define endmsg
Class to represent misalignments or 'discontinuities' on tracks These have a surface where the z axis...
double sigmaDeltaAngle() const
returns the
std::vector< Identifier > m_affectedTSOS
double deltaAngle() const
returns the
double sigmaDeltaTranslation() const
returns the
double deltaTranslation() const
returns the
const Trk::Surface & associatedSurface() const
The surface on which this offset is expressed.
AlignmentEffectsOnTrack(double deltaTranslation, double m_sigmaDeltaTranslation, double deltaAngle, double sigmaDeltaAngle, const std::vector< Identifier > &identifiersOfAffectedTSOS, const Trk::Surface &surf)
Abstract Base Class for tracking surfaces.
MsgStream & operator<<(MsgStream &sl, const AlignModule &alignModule)
overload of << operator for MsgStream for debug output
SurfacePtrHolderImpl< Surface > SurfacePtrHolder