EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Acts::AtlasStepper< bfield_t >::State Struct Reference

Nested State struct for the local caching. More...

#include <acts/blob/sPHENIX/Core/include/Acts/Propagator/AtlasStepper.hpp>

+ Collaboration diagram for Acts::AtlasStepper< bfield_t >::State:

Public Member Functions

 State ()=delete
 Default constructor - deleted.
 
template<typename Parameters >
 State (std::reference_wrapper< const GeometryContext > gctx, std::reference_wrapper< const MagneticFieldContext > mctx, const Parameters &pars, NavigationDirection ndir=forward, double ssize=std::numeric_limits< double >::max(), double stolerance=s_onSurfaceTolerance)
 

Public Attributes

bool state_ready = false
 
NavigationDirection navDir
 
bool useJacobian
 
double step
 
double maxPathLength
 
bool mcondition
 
bool needgradient
 
bool newfield
 
Vector3D field
 
std::array< double, 60 > pVector
 
double parameters [eBoundSize] = {0., 0., 0., 0., 0., 0.}
 
const Covariancecovariance
 
Covariance cov = Covariance::Zero()
 
bool covTransport = false
 
double jacobian [eBoundSize *eBoundSize]
 
double pathAccumulated = 0.
 
ConstrainedStep stepSize = std::numeric_limits<double>::max()
 
double previousStepSize = 0.
 
double tolerance = s_onSurfaceTolerance
 The tolerance for the stepping.
 
bfield_t::Cache fieldCache
 
std::reference_wrapper< const
GeometryContext
geoContext
 Cache the geometry context.
 
bool debug = false
 
std::string debugString = ""
 
size_t debugPfxWidth = 30
 buffer & formatting for consistent output
 
size_t debugMsgWidth = 50
 

Detailed Description

template<typename bfield_t>
struct Acts::AtlasStepper< bfield_t >::State

Nested State struct for the local caching.

Definition at line 47 of file AtlasStepper.hpp.

View newest version in sPHENIX GitHub at line 47 of file AtlasStepper.hpp

Constructor & Destructor Documentation

template<typename bfield_t >
Acts::AtlasStepper< bfield_t >::State::State ( )
delete

Default constructor - deleted.

template<typename bfield_t >
template<typename Parameters >
Acts::AtlasStepper< bfield_t >::State::State ( std::reference_wrapper< const GeometryContext gctx,
std::reference_wrapper< const MagneticFieldContext mctx,
const Parameters &  pars,
NavigationDirection  ndir = forward,
double  ssize = std::numeric_limits<double>::max(),
double  stolerance = s_onSurfaceTolerance 
)
inline

Constructor

Type of TrackParameters

Parameters
[in]gctxThe geometry contex tof this call
[in]mctxThe magnetic field context of this call
[in]parsInput parameters
[in]ndirThe navigation direction w.r.t. parameters
[in]ssizethe steps size limitation
[in]stoleranceis the stepping tolerance

Definition at line 62 of file AtlasStepper.hpp.

View newest version in sPHENIX GitHub at line 62 of file AtlasStepper.hpp

References kdfinder::abs(), Acts::UnitConstants::C, cos(), Acts::Surface::Disc, Acts::eBoundLoc0, Acts::eBoundLoc1, Acts::eBoundPhi, Acts::eBoundQOverP, Acts::eBoundTheta, Acts::ePos0, Acts::ePos1, Acts::ePos2, Acts::Test::geoContext, Acts::Surface::Perigee, pos(), Acts::Surface::Straw, surface(), and Acts::Test::transform.

+ Here is the call graph for this function:

Member Data Documentation

template<typename bfield_t >
Covariance Acts::AtlasStepper< bfield_t >::State::cov = Covariance::Zero()
template<typename bfield_t >
const Covariance* Acts::AtlasStepper< bfield_t >::State::covariance

Definition at line 272 of file AtlasStepper.hpp.

View newest version in sPHENIX GitHub at line 272 of file AtlasStepper.hpp

Referenced by Acts::Test::BOOST_AUTO_TEST_CASE(), Acts::AtlasStepper< bfield_t >::covarianceTransport(), and Acts::AtlasStepper< bfield_t >::update().

template<typename bfield_t >
bool Acts::AtlasStepper< bfield_t >::State::covTransport = false
template<typename bfield_t >
bool Acts::AtlasStepper< bfield_t >::State::debug = false

Debug output the string where debug messages are stored (optionally)

Definition at line 298 of file AtlasStepper.hpp.

View newest version in sPHENIX GitHub at line 298 of file AtlasStepper.hpp

template<typename bfield_t >
size_t Acts::AtlasStepper< bfield_t >::State::debugMsgWidth = 50

Definition at line 302 of file AtlasStepper.hpp.

View newest version in sPHENIX GitHub at line 302 of file AtlasStepper.hpp

template<typename bfield_t >
size_t Acts::AtlasStepper< bfield_t >::State::debugPfxWidth = 30

buffer & formatting for consistent output

Definition at line 301 of file AtlasStepper.hpp.

View newest version in sPHENIX GitHub at line 301 of file AtlasStepper.hpp

template<typename bfield_t >
std::string Acts::AtlasStepper< bfield_t >::State::debugString = ""

Definition at line 299 of file AtlasStepper.hpp.

View newest version in sPHENIX GitHub at line 299 of file AtlasStepper.hpp

template<typename bfield_t >
Vector3D Acts::AtlasStepper< bfield_t >::State::field

Definition at line 255 of file AtlasStepper.hpp.

View newest version in sPHENIX GitHub at line 255 of file AtlasStepper.hpp

Referenced by Acts::AtlasStepper< bfield_t >::getField().

template<typename bfield_t >
bfield_t::Cache Acts::AtlasStepper< bfield_t >::State::fieldCache

It caches the current magnetic field cell and stays (and interpolates) within as long as this is valid. See step() code for details.

Definition at line 291 of file AtlasStepper.hpp.

View newest version in sPHENIX GitHub at line 291 of file AtlasStepper.hpp

Referenced by Acts::AtlasStepper< bfield_t >::getField().

template<typename bfield_t >
std::reference_wrapper<const GeometryContext> Acts::AtlasStepper< bfield_t >::State::geoContext
template<typename bfield_t >
double Acts::AtlasStepper< bfield_t >::State::jacobian[eBoundSize *eBoundSize]
template<typename bfield_t >
double Acts::AtlasStepper< bfield_t >::State::maxPathLength

Definition at line 250 of file AtlasStepper.hpp.

View newest version in sPHENIX GitHub at line 250 of file AtlasStepper.hpp

template<typename bfield_t >
bool Acts::AtlasStepper< bfield_t >::State::mcondition

Definition at line 251 of file AtlasStepper.hpp.

View newest version in sPHENIX GitHub at line 251 of file AtlasStepper.hpp

template<typename bfield_t >
NavigationDirection Acts::AtlasStepper< bfield_t >::State::navDir

Definition at line 247 of file AtlasStepper.hpp.

View newest version in sPHENIX GitHub at line 247 of file AtlasStepper.hpp

Referenced by Acts::Test::BOOST_AUTO_TEST_CASE(), and Acts::AtlasStepper< bfield_t >::resetState().

template<typename bfield_t >
bool Acts::AtlasStepper< bfield_t >::State::needgradient

Definition at line 252 of file AtlasStepper.hpp.

View newest version in sPHENIX GitHub at line 252 of file AtlasStepper.hpp

template<typename bfield_t >
bool Acts::AtlasStepper< bfield_t >::State::newfield

Definition at line 253 of file AtlasStepper.hpp.

View newest version in sPHENIX GitHub at line 253 of file AtlasStepper.hpp

template<typename bfield_t >
double Acts::AtlasStepper< bfield_t >::State::parameters[eBoundSize] = {0., 0., 0., 0., 0., 0.}

Storage pattern of pVector /dL0 /dL1 /dPhi /dThe /dCM /dT X ->P[0] dX / P[ 8] P[16] P[24] P[32] P[40] P[48] Y ->P[1] dY / P[ 9] P[17] P[25] P[33] P[41] P[49] Z ->P[2] dZ / P[10] P[18] P[26] P[34] P[42] P[50] T ->P[3] dT/ P[11] P[19] P[27] P[35] P[43] P[51] Ax ->P[4] dAx/ P[12] P[20] P[28] P[36] P[44] P[52] Ay ->P[5] dAy/ P[13] P[21] P[29] P[37] P[45] P[53] Az ->P[6] dAz/ P[14] P[22] P[30] P[38] P[46] P[54] CM ->P[7] dCM/ P[15] P[23] P[31] P[39] P[47] P[55] Cache: P[56] - P[59]

Definition at line 271 of file AtlasStepper.hpp.

View newest version in sPHENIX GitHub at line 271 of file AtlasStepper.hpp

Referenced by Acts::Test::BOOST_AUTO_TEST_CASE().

template<typename bfield_t >
double Acts::AtlasStepper< bfield_t >::State::pathAccumulated = 0.
template<typename bfield_t >
double Acts::AtlasStepper< bfield_t >::State::previousStepSize = 0.

Definition at line 284 of file AtlasStepper.hpp.

View newest version in sPHENIX GitHub at line 284 of file AtlasStepper.hpp

Referenced by Acts::Test::BOOST_AUTO_TEST_CASE(), and Acts::AtlasStepper< bfield_t >::setStepSize().

template<typename bfield_t >
bool Acts::AtlasStepper< bfield_t >::State::state_ready = false
template<typename bfield_t >
double Acts::AtlasStepper< bfield_t >::State::step

Definition at line 249 of file AtlasStepper.hpp.

View newest version in sPHENIX GitHub at line 249 of file AtlasStepper.hpp

template<typename bfield_t >
ConstrainedStep Acts::AtlasStepper< bfield_t >::State::stepSize = std::numeric_limits<double>::max()
template<typename bfield_t >
double Acts::AtlasStepper< bfield_t >::State::tolerance = s_onSurfaceTolerance

The tolerance for the stepping.

Definition at line 287 of file AtlasStepper.hpp.

View newest version in sPHENIX GitHub at line 287 of file AtlasStepper.hpp

Referenced by Acts::Test::BOOST_AUTO_TEST_CASE().

template<typename bfield_t >
bool Acts::AtlasStepper< bfield_t >::State::useJacobian

Definition at line 248 of file AtlasStepper.hpp.

View newest version in sPHENIX GitHub at line 248 of file AtlasStepper.hpp

Referenced by Acts::AtlasStepper< bfield_t >::update().


The documentation for this struct was generated from the following file: