ATLAS Offline Software
Loading...
Searching...
No Matches
ScatteringAngles.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef SCATTERINGANGLEONTRACK_H
6#define SCATTERINGANGLEONTRACK_H
7
8#include <iostream>
9
10class MsgStream;
11
12namespace Trk {
24
26{
27
28public:
30 ScatteringAngles() = default;
41
47 ~ScatteringAngles() = default;
48
50 double deltaPhi() const;
51
53 double deltaTheta() const;
54
56 double sigmaDeltaPhi() const;
57
59 double sigmaDeltaTheta() const;
60
61private:
63 double m_deltaPhi{ 0.0 };
65 double m_deltaTheta{ 0.0 };
67 double m_sigmaDeltaPhi{ 0.0 };
69 double m_sigmaDeltaTheta{ 0.0 };
70};
71
73MsgStream&
74operator<<(MsgStream& sl, const Trk::ScatteringAngles& saos);
76std::ostream&
77operator<<(std::ostream& sl, const Trk::ScatteringAngles& saos);
78
79} // end of Trk ns
80
81inline double
86
87inline double
92
93inline double
98
99inline double
104
105#endif
106
represents a deflection of the track caused through multiple scattering in material.
double sigmaDeltaPhi() const
returns the
ScatteringAngles()=default
default constructor for POOL
ScatteringAngles(const ScatteringAngles &)=default
double m_deltaPhi
holds deflection
double m_sigmaDeltaTheta
holds the error on the theta deflection
~ScatteringAngles()=default
destructor
double m_sigmaDeltaPhi
holds the error on the phi deflection
double deltaPhi() const
returns the
double m_deltaTheta
holds deflection
ScatteringAngles(double deltaPhi, double deltaTheta, double sigmaDeltaPhi, double sigmaDeltaTheta)
full constructor passing two deflection angles and their uncertainties
ScatteringAngles & operator=(const ScatteringAngles &)=default
double sigmaDeltaTheta() const
returns the
ScatteringAngles & operator=(ScatteringAngles &&)=default
ScatteringAngles(ScatteringAngles &&)=default
double deltaTheta() const
returns the
Ensure that the ATLAS eigen extensions are properly loaded.
MsgStream & operator<<(MsgStream &sl, const AlignModule &alignModule)
overload of << operator for MsgStream for debug output