|
ATLAS Offline Software
|
Go to the documentation of this file.
18 double phiv = perig3[1];
19 double pt = constB / std::abs(perig3[2]);
20 pp[0] =
pt *
cos(phiv);
21 pp[1] =
pt *
sin(phiv);
22 pp[2] =
pt /
tan(perig3[0]);
27 std::array<double, 4>
p{};
34 double cth = 1. /
tan( trk->
fitP[0]);
36 double pt = magConst/ std::abs( trk->
fitP[2] );
41 p[3] = sqrt(
p[0]*
p[0]+
p[1]*
p[1]+
p[2]*
p[2] +
m*
m );
46 std::array<double, 4>
p{};
49 double cth = 1. /
tan( trk->
fitP[0]);
51 double pt = magConst/ std::abs( trk->
fitP[2] );
56 p[3] = sqrt(
p[0]*
p[0]+
p[1]*
p[1]+
p[2]*
p[2] +
m*
m );
62 std::array<double, 4>
p{};
65 double cth = 1. /
tan( trk->
iniP[0]);
67 double pt = magConst/ std::abs( trk->
iniP[2] );
72 p[3] = sqrt(
p[0]*
p[0]+
p[1]*
p[1]+
p[2]*
p[2] +
m*
m );
77 std::array<double, 4>
p{};
80 double cth = 1. /
tan( trk->
iniP[0]);
82 double pt = magConst/ std::abs( trk->
iniP[2] );
87 p[3] = sqrt(
p[0]*
p[0]+
p[1]*
p[1]+
p[2]*
p[2] +
m*
m );
94 std::array<double, 4>
p{};
101 double cth = 1. /
tan( trk->
cnstP[0]);
103 double pt = magConst/ std::abs( trk->
cnstP[2] );
108 p[3] = sqrt(
p[0]*
p[0]+
p[1]*
p[1]+
p[2]*
p[2] +
m*
m );
113 std::array<double, 4>
p{};
116 double cth = 1. /
tan( trk->
cnstP[0]);
118 double pt = magConst/ std::abs( trk->
cnstP[2] );
123 p[3] = sqrt(
p[0]*
p[0]+
p[1]*
p[1]+
p[2]*
p[2] +
m*
m );
static void getMagFld(const double, const double, const double, double &, double &, double &, VKalVrtControlBase *)
std::array< double, 4 > getCnstParticleMom(const VKTrack *trk, const VKVertex *vk)
static double getCnvCst()
std::array< double, 4 > getIniParticleMom(const VKTrack *trk, const VKVertex *vk)
Ensure that the ATLAS eigen extensions are properly loaded.
std::unique_ptr< VKalVrtControl > vk_fitterControl
std::array< double, 4 > getFitParticleMom(const VKTrack *trk, const VKVertex *vk)
void vkPerigeeToP(const double *perig3, double *pp, double BMAG)