ATLAS Offline Software
Loading...
Searching...
No Matches
Tracking
TrkVertexFitter
TrkVKalVrtCore
src
cfPEst.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#include "
TrkVKalVrtCore/cfPEst.h
"
6
#include "
TrkVKalVrtCore/Propagator.h
"
7
8
namespace
Trk
{
9
10
void
cfpest
(
int
ntrk,
double
*
xyz
,
long
int
*ich,
double
(*parst)[5],
11
double
(*parf)[3]) {
12
/* --------------------------------------------------- */
13
/* Subroutine for primary estimation of Theta,Phi */
14
/* and 1/R at point XYZ if they aren't known */
15
/* Author: V.Kostyukhin */
16
/* --------------------------------------------------- */
17
18
double
partmp[5];
19
double
Ref0[3] = {0., 0., 0.};
20
21
for
(
int
i = 0; i < ntrk; ++i) {
22
23
long
int
TrkID = i;
24
Trk::vkalPropagator::Propagate
(TrkID, ich[i], &parst[i][0],
nullptr
, Ref0,
25
xyz
, partmp,
nullptr
);
26
27
parf[i][0] = partmp[2];
28
parf[i][1] = partmp[3];
29
parf[i][2] = partmp[4];
30
}
31
}
32
33
}
// namespace Trk
Propagator.h
xyz
#define xyz
cfPEst.h
Trk::vkalPropagator::Propagate
static void Propagate(long int TrkID, long int Charge, double *ParOld, double *CovOld, double *RefStart, double *RefEnd, double *ParNew, double *CovNew, VKalVrtControlBase *FitControl=0)
Definition
Propagator.cxx:127
Trk
Ensure that the ATLAS eigen extensions are properly loaded.
Definition
FakeTrackBuilder.h:9
Trk::cfpest
void cfpest(int ntrk, double *xyz, long int *ich, double(*parst)[5], double(*parf)[3])
Definition
cfPEst.cxx:10
Generated on
for ATLAS Offline Software by
1.14.0