Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Acts::AtlasStepper::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::State:

Public Member Functions

 State ()=delete
 Default constructor - deleted.
 
template<typename Parameters >
 State (const GeometryContext &gctx, MagneticFieldProvider::Cache fieldCacheIn, const Parameters &pars, double ssize=std::numeric_limits< double >::max(), double stolerance=s_onSurfaceTolerance)
 

Public Attributes

ParticleHypothesis particleHypothesis
 
bool state_ready = false
 
bool useJacobian = false
 
double step = 0
 
double maxPathLength = 0
 
bool mcondition = false
 
bool needgradient = false
 
bool newfield = true
 
Vector3 field
 
std::array< double, 60 > pVector {}
 
double parameters [eBoundSize] = {0., 0., 0., 0., 0., 0.}
 
const Covariancecovariance = nullptr
 
Covariance cov = Covariance::Zero()
 
bool covTransport = false
 
double jacobian [eBoundSize *eBoundSize] = {}
 
double pathAccumulated = 0.
 
ConstrainedStep stepSize
 
double previousStepSize = 0.
 
double tolerance = s_onSurfaceTolerance
 The tolerance for the stepping.
 
MagneticFieldProvider::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

Nested State struct for the local caching.

Definition at line 44 of file AtlasStepper.hpp.

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

Constructor & Destructor Documentation

Acts::AtlasStepper::State::State ( )
delete

Default constructor - deleted.

template<typename Parameters >
Acts::AtlasStepper::State::State ( const GeometryContext gctx,
MagneticFieldProvider::Cache  fieldCacheIn,
const Parameters &  pars,
double  ssize = std::numeric_limits<double>::max(),
double  stolerance = s_onSurfaceTolerance 
)
inline

Constructor

Template Parameters
Typeof TrackParameters
Parameters
[in]gctxThe geometry context tof this call
[in]fieldCacheInThe magnetic field cache for this call
[in]parsInput parameters
[in]ssizethe steps size limitation
[in]stoleranceis the stepping tolerance

Definition at line 58 of file AtlasStepper.hpp.

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

References A, C, Jetscape::Cf, covariance, covTransport, Acts::Surface::Disc, Acts::eBoundLoc0, Acts::eBoundLoc1, Acts::eBoundPhi, Acts::eBoundQOverP, Acts::eBoundTheta, Acts::ePos0, Acts::ePos1, Acts::ePos2, geoContext, Acts::Surface::Perigee, Acts::Test::pos, pVector, state_ready, Acts::Surface::Straw, writeMapConfig::surface, Acts::Test::transform, and useJacobian.

Member Data Documentation

const Covariance* Acts::AtlasStepper::State::covariance = nullptr
bool Acts::AtlasStepper::State::covTransport = false
bool Acts::AtlasStepper::State::debug = false

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

Definition at line 286 of file AtlasStepper.hpp.

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

size_t Acts::AtlasStepper::State::debugMsgWidth = 50

Definition at line 290 of file AtlasStepper.hpp.

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

size_t Acts::AtlasStepper::State::debugPfxWidth = 30

buffer & formatting for consistent output

Definition at line 289 of file AtlasStepper.hpp.

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

std::string Acts::AtlasStepper::State::debugString = ""

Definition at line 287 of file AtlasStepper.hpp.

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

Vector3 Acts::AtlasStepper::State::field

Definition at line 243 of file AtlasStepper.hpp.

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

Referenced by Acts::AtlasStepper::getField().

MagneticFieldProvider::Cache Acts::AtlasStepper::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 279 of file AtlasStepper.hpp.

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

Referenced by Acts::AtlasStepper::getField().

std::reference_wrapper<const GeometryContext> Acts::AtlasStepper::State::geoContext

Cache the geometry context.

Definition at line 282 of file AtlasStepper.hpp.

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

Referenced by Acts::AtlasStepper::boundState(), Acts::AtlasStepper::resetState(), State(), Acts::AtlasStepper::transportCovarianceToBound(), and Acts::AtlasStepper::update().

double Acts::AtlasStepper::State::maxPathLength = 0

Definition at line 238 of file AtlasStepper.hpp.

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

bool Acts::AtlasStepper::State::mcondition = false

Definition at line 239 of file AtlasStepper.hpp.

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

bool Acts::AtlasStepper::State::needgradient = false

Definition at line 240 of file AtlasStepper.hpp.

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

bool Acts::AtlasStepper::State::newfield = true

Definition at line 241 of file AtlasStepper.hpp.

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

double Acts::AtlasStepper::State::parameters[eBoundSize] = {0., 0., 0., 0., 0., 0.}

Storage pattern of pVector /dL0 /dL1 /dPhi /the /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 259 of file AtlasStepper.hpp.

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

Referenced by cpp.ast.Function::__str__(), Acts::Test::BOOST_AUTO_TEST_CASE(), and cpp.ast.Function::Requires().

ParticleHypothesis Acts::AtlasStepper::State::particleHypothesis

Definition at line 231 of file AtlasStepper.hpp.

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

Referenced by Acts::AtlasStepper::boundState(), Acts::AtlasStepper::curvilinearState(), and Acts::AtlasStepper::particleHypothesis().

double Acts::AtlasStepper::State::pathAccumulated = 0.
double Acts::AtlasStepper::State::previousStepSize = 0.

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(), and Acts::AtlasStepper::setStepSize().

bool Acts::AtlasStepper::State::state_ready = false

Definition at line 234 of file AtlasStepper.hpp.

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

Referenced by Acts::AtlasStepper::boundState(), Acts::AtlasStepper::curvilinearState(), State(), and Acts::AtlasStepper::update().

double Acts::AtlasStepper::State::step = 0

Definition at line 237 of file AtlasStepper.hpp.

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

double Acts::AtlasStepper::State::tolerance = s_onSurfaceTolerance

The tolerance for the stepping.

Definition at line 275 of file AtlasStepper.hpp.

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

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

bool Acts::AtlasStepper::State::useJacobian = false

Definition at line 236 of file AtlasStepper.hpp.

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

Referenced by State(), and Acts::AtlasStepper::update().


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