ATLAS Offline Software
Tracking
TrkExtrapolation
TrkExUtils
TrkExUtils
RealLinearEquation.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3
*/
4
6
// RealLinearEquation.h, (c) ATLAS Detector software
8
9
#ifndef TRKEXUTILS_REALLINEAREQUATION_H
10
#define TRKEXUTILS_REALLINEAREQUATION_H
11
12
#include <cmath>
13
#include <utility>
14
15
namespace
Trk
{
16
31
struct
RealLinearEquation
32
{
33
34
double
yOfX
;
35
double
segLength
;
36
37
RealLinearEquation
(
double
px
,
double
py
,
double
k
,
double
xprime)
38
{
39
double
deltax = xprime -
px
;
40
yOfX
=
py
+
k
* (deltax);
41
double
deltay =
yOfX
-
py
;
42
segLength
= sqrt(deltax * deltax + deltay * deltay);
43
}
44
};
45
46
}
// end of namespace
47
48
#endif
49
Trk::py
@ py
Definition:
ParamDefs.h:60
Trk::RealLinearEquation::segLength
double segLength
length of the line segment
Definition:
RealLinearEquation.h:35
Trk::RealLinearEquation
Definition:
RealLinearEquation.h:32
Trk::RealLinearEquation::RealLinearEquation
RealLinearEquation(double px, double py, double k, double xprime)
Definition:
RealLinearEquation.h:37
Trk::px
@ px
Definition:
ParamDefs.h:59
Trk
Ensure that the ATLAS eigen extensions are properly loaded.
Definition:
FakeTrackBuilder.h:9
Trk::RealLinearEquation::yOfX
double yOfX
the result of x
Definition:
RealLinearEquation.h:34
fitman.k
k
Definition:
fitman.py:528
Generated on Sun Dec 22 2024 21:16:59 for ATLAS Offline Software by
1.8.18