Main Page
Namespaces
Classes
Package Documentation
TrackPropagation
NavGeometry
src
ThreePlaneCrossing.cc
Go to the documentation of this file.
1
#include "
TrackPropagation/NavGeometry/src/ThreePlaneCrossing.h
"
2
#include "
TrackPropagation/NavGeometry/src/LinearEquation3.h
"
3
4
Plane::GlobalPoint
5
ThreePlaneCrossing::crossing
(
const
Plane
&
a
,
const
Plane
&
b
,
6
const
Plane
&
c
)
const
7
{
8
typedef
Plane::Scalar
T
;
9
10
const
GlobalVector
n1g( a.
normalVector
());
11
const
GlobalVector
n2g( b.
normalVector
());
12
const
GlobalVector
n3g( c.
normalVector
());
13
14
Basic3DVector<T>
n1(n1g.basicVector());
15
Basic3DVector<T>
n2(n2g.basicVector());
16
Basic3DVector<T>
n3(n3g.basicVector());
17
Basic3DVector<T>
rhs( n1.dot( a.
position
().
basicVector
()),
18
n2.dot( b.
position
().
basicVector
()),
19
n3.dot( c.
position
().
basicVector
()));
20
LinearEquation3<T>
solver;
21
Plane::GlobalPoint
result
( solver.
solution
( n1, n2, n3, rhs));
22
return
result
;
23
}
mps_fire.result
result
Definition:
mps_fire.py:111
LinearEquation3::solution
Basic3DVector< T > solution(const Basic3DVector< T > &row0, const Basic3DVector< T > &row1, const Basic3DVector< T > &row2, const Basic3DVector< T > &rhsvec) const
Definition:
LinearEquation3.h:55
Vector3DBase< float, GlobalTag >
Plane::normalVector
GlobalVector normalVector() const
Definition:
Plane.h:41
EnergyCorrector.c
c
Definition:
EnergyCorrector.py:43
ThreePlaneCrossing::crossing
Plane::GlobalPoint crossing(const Plane &a, const Plane &b, const Plane &c) const
Definition:
ThreePlaneCrossing.cc:5
Plane
Definition:
Plane.h:17
Basic3DVector
Definition:
extBasic3DVector.h:24
LinearEquation3.h
b
double b
Definition:
hdecay.h:120
LinearEquation3
Definition:
LinearEquation3.h:13
GloballyPositioned< float >::Scalar
float Scalar
Definition:
GloballyPositioned.h:21
Point3DBase< float, GlobalTag >
a
double a
Definition:
hdecay.h:121
T
long double T
Definition:
Basic3DVectorLD.h:57
PV3DBase::basicVector
const BasicVectorType & basicVector() const
Definition:
PV3DBase.h:56
GloballyPositioned::position
const PositionType & position() const
Definition:
GloballyPositioned.h:42
ThreePlaneCrossing.h
Generated for CMSSW Reference Manual by
1.8.11