ATLAS Offline Software
Functions
Trk::RungeKuttaUtils Namespace Reference

Functions

double stepEstimator (int kind, double *ATH_RESTRICT Su, const double *ATH_RESTRICT P, bool &Q)
 
double stepEstimator (Trk::SurfaceType surfaceType, double *ATH_RESTRICT Su, const double *ATH_RESTRICT P, bool &Q)
 
std::pair< double, int > stepEstimator (std::vector< std::pair< const Trk::Surface *, Trk::BoundaryCheck >> &, std::multimap< double, int > &, const double *ATH_RESTRICT, const double *ATH_RESTRICT, double, double, int Nv, bool &)
 
int fillDistancesMap (std::vector< std::pair< const Trk::Surface *, Trk::BoundaryCheck >> &, std::multimap< double, int > &, const double *ATH_RESTRICT, double, const Trk::Surface *, double *ATH_RESTRICT)
 
bool transformLocalToGlobal (bool, const Trk::TrackParameters &, double *ATH_RESTRICT)
 
bool transformLocalToGlobal (bool, const Trk::NeutralParameters &, double *ATH_RESTRICT)
 
bool transformLocalToGlobal (bool, const Trk::Surface *, const AmgVector(5) &ATH_RESTRICT, double *ATH_RESTRICT)
 
bool transformLocalToGlobal (bool, const Trk::PatternTrackParameters &, double *)
 
void transformGlobalToLocal (double *ATH_RESTRICT, double *ATH_RESTRICT)
 
void transformGlobalToLocal (const Trk::Surface *, bool, double *ATH_RESTRICT, double *ATH_RESTRICT, double *ATH_RESTRICT)
 
 AmgSymMatrix (5) new CovarianceMatrix(const double *ATH_RESTRICT
 
const AmgSymMatrix (5) &ATH_RESTRICT)
 
void transformCurvilinearToGlobal (double *ATH_RESTRICT, double *ATH_RESTRICT)
 
void transformGlobalToCurvilinear (bool, double *ATH_RESTRICT, double *ATH_RESTRICT, double *ATH_RESTRICT)
 
void jacobianTransformCurvilinearToLocal (const Trk::TrackParameters &, double *ATH_RESTRICT)
 
void jacobianTransformCurvilinearToLocal (const Trk::PatternTrackParameters &, double *ATH_RESTRICT)
 
void jacobianTransformCurvilinearToLocal (double *ATH_RESTRICT, const Trk::Surface *, double *ATH_RESTRICT)
 

Function Documentation

◆ AmgSymMatrix() [1/2]

const Trk::RungeKuttaUtils::AmgSymMatrix ( ) &

◆ AmgSymMatrix() [2/2]

Trk::RungeKuttaUtils::AmgSymMatrix ( ) const
new

◆ fillDistancesMap()

int Trk::RungeKuttaUtils::fillDistancesMap ( std::vector< std::pair< const Trk::Surface *, Trk::BoundaryCheck >> &  ,
std::multimap< double, int > &  ,
const double *  ATH_RESTRICT,
double  ,
const Trk::Surface ,
double *  ATH_RESTRICT 
)

◆ jacobianTransformCurvilinearToLocal() [1/3]

void Trk::RungeKuttaUtils::jacobianTransformCurvilinearToLocal ( const Trk::PatternTrackParameters ,
double *  ATH_RESTRICT 
)

◆ jacobianTransformCurvilinearToLocal() [2/3]

void Trk::RungeKuttaUtils::jacobianTransformCurvilinearToLocal ( const Trk::TrackParameters ,
double *  ATH_RESTRICT 
)

◆ jacobianTransformCurvilinearToLocal() [3/3]

void Trk::RungeKuttaUtils::jacobianTransformCurvilinearToLocal ( double *  ATH_RESTRICT,
const Trk::Surface ,
double *  ATH_RESTRICT 
)

◆ stepEstimator() [1/3]

double Trk::RungeKuttaUtils::stepEstimator ( int  kind,
double *ATH_RESTRICT  Su,
const double *ATH_RESTRICT  P,
bool &  Q 
)

Definition at line 1212 of file RungeKuttaUtils.cxx.

1217 {
1218  switch (kind) {
1219  case 0: {
1220  return stepEstimatorToStraightLine(Su, P, Q);
1221  }
1222  case 1: {
1223  return stepEstimatorToPlane(Su, P, Q);
1224  }
1225  case 2: {
1226  return stepEstimatorToCylinder(Su, P, Q);
1227  }
1228  case 3: {
1229  return stepEstimatorToCone(Su, P, Q);
1230  }
1231  default: {
1232  return 1000000.;
1233  }
1234  }
1235 }

◆ stepEstimator() [2/3]

std::pair<double, int> Trk::RungeKuttaUtils::stepEstimator ( std::vector< std::pair< const Trk::Surface *, Trk::BoundaryCheck >> &  ,
std::multimap< double, int > &  ,
const double *  ATH_RESTRICT,
const double *  ATH_RESTRICT,
double  ,
double  ,
int  Nv,
bool &   
)

◆ stepEstimator() [3/3]

double Trk::RungeKuttaUtils::stepEstimator ( Trk::SurfaceType  surfaceType,
double *ATH_RESTRICT  Su,
const double *ATH_RESTRICT  P,
bool &  Q 
)

Definition at line 1237 of file RungeKuttaUtils.cxx.

1242 {
1243  if (surfaceType == Trk::SurfaceType::Plane ||
1244  surfaceType == Trk::SurfaceType::Disc) {
1245  return stepEstimatorToPlane(Su, P, Q);
1246  }
1247  if (surfaceType == Trk::SurfaceType::Cylinder) {
1248  return stepEstimatorToCylinder(Su, P, Q);
1249  }
1250 
1251  if (surfaceType == Trk::SurfaceType::Line ||
1252  surfaceType == Trk::SurfaceType::Perigee) {
1253  return stepEstimatorToStraightLine(Su, P, Q);
1254  }
1255 
1256  if (surfaceType == Trk::SurfaceType::Cone) {
1257  return stepEstimatorToCone(Su, P, Q);
1258  }
1259  // presumably curvilinear
1260  return stepEstimatorToPlane(Su, P, Q);
1261 }

◆ transformCurvilinearToGlobal()

void Trk::RungeKuttaUtils::transformCurvilinearToGlobal ( double *  ATH_RESTRICT,
double *  ATH_RESTRICT 
)

◆ transformGlobalToCurvilinear()

void Trk::RungeKuttaUtils::transformGlobalToCurvilinear ( bool  ,
double *  ATH_RESTRICT,
double *  ATH_RESTRICT,
double *  ATH_RESTRICT 
)

◆ transformGlobalToLocal() [1/2]

void Trk::RungeKuttaUtils::transformGlobalToLocal ( const Trk::Surface ,
bool  ,
double *  ATH_RESTRICT,
double *  ATH_RESTRICT,
double *  ATH_RESTRICT 
)

◆ transformGlobalToLocal() [2/2]

void Trk::RungeKuttaUtils::transformGlobalToLocal ( double *  ATH_RESTRICT,
double *  ATH_RESTRICT 
)

◆ transformLocalToGlobal() [1/4]

bool Trk::RungeKuttaUtils::transformLocalToGlobal ( bool  ,
const Trk::NeutralParameters ,
double *  ATH_RESTRICT 
)

◆ transformLocalToGlobal() [2/4]

bool Trk::RungeKuttaUtils::transformLocalToGlobal ( bool  useJac,
const Trk::PatternTrackParameters Tp,
double *  P 
)

Definition at line 1104 of file RungeKuttaUtils.cxx.

1108 {
1109  return transformLocalToGlobal(
1110  useJac, &Tp.associatedSurface(), Tp.parameters(), P);
1111 }

◆ transformLocalToGlobal() [3/4]

bool Trk::RungeKuttaUtils::transformLocalToGlobal ( bool  ,
const Trk::Surface ,
const AmgVector(5) &  ATH_RESTRICT,
double *  ATH_RESTRICT 
)

◆ transformLocalToGlobal() [4/4]

bool Trk::RungeKuttaUtils::transformLocalToGlobal ( bool  ,
const Trk::TrackParameters ,
double *  ATH_RESTRICT 
)
Trk::PatternTrackParameters::associatedSurface
virtual const Surface & associatedSurface() const override final
Access to the Surface associated to the Parameters.
DMTest::P
P_v1 P
Definition: P.h:23
Trk::RungeKuttaUtils::transformLocalToGlobal
bool transformLocalToGlobal(bool, const Trk::TrackParameters &, double *ATH_RESTRICT)
Trk::SurfaceType::Cone
@ Cone
Trk::SurfaceType::Perigee
@ Perigee
Trk::SurfaceType::Disc
@ Disc
Trk::SurfaceType::Cylinder
@ Cylinder
Trk::SurfaceType::Plane
@ Plane
Trk::SurfaceType::Line
@ Line