ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
A constrained step class for the steppers. More...
#include <acts/blob/master/Core/include/Acts/Propagator/ConstrainedStep.hpp>
Public Types | |
enum | Type : int { accuracy = 0, actor = 1, aborter = 2, user = 3 } |
Public Member Functions | |
void | update (const double &value, Type type, bool releaseStep=false) |
void | release (Type type) |
ConstrainedStep (double value) | |
ConstrainedStep & | operator= (const double &value) |
operator double () const | |
double | value (Type type) const |
double | max () const |
double | min () const |
Type | currentType () const |
std::string | toString () const |
return the split value as string for debugging | |
Public Attributes | |
std::array< double, 4 > | values |
the step size tuple | |
NavigationDirection | direction = forward |
The Navigation direction. | |
A constrained step class for the steppers.
Definition at line 22 of file ConstrainedStep.hpp.
View newest version in sPHENIX GitHub at line 22 of file ConstrainedStep.hpp
enum Acts::ConstrainedStep::Type : int |
the types of constraints from accuracy - this can vary up and down given a good step estimator from actor - this would be a typical navigation step from aborter - this would be a target condition from user - this is user given for what reason ever
Definition at line 28 of file ConstrainedStep.hpp.
View newest version in sPHENIX GitHub at line 28 of file ConstrainedStep.hpp
|
inline |
constructor from double value is the user given initial value
Definition at line 68 of file ConstrainedStep.hpp.
View newest version in sPHENIX GitHub at line 68 of file ConstrainedStep.hpp
References aborter, accuracy, actor, direction, user, value(), and values.
|
inline |
Access to currently leading min type
Definition at line 116 of file ConstrainedStep.hpp.
View newest version in sPHENIX GitHub at line 116 of file ConstrainedStep.hpp
References direction, Acts::forward, and values.
|
inline |
Return the maximum step constraint
Definition at line 104 of file ConstrainedStep.hpp.
View newest version in sPHENIX GitHub at line 104 of file ConstrainedStep.hpp
References values.
|
inline |
Return the minimum step constraint
Definition at line 110 of file ConstrainedStep.hpp.
View newest version in sPHENIX GitHub at line 110 of file ConstrainedStep.hpp
References values.
|
inline |
Cast operator to double, returning the min/max value depending on the direction
Definition at line 90 of file ConstrainedStep.hpp.
View newest version in sPHENIX GitHub at line 90 of file ConstrainedStep.hpp
References direction, Acts::forward, and values.
|
inline |
The assignment operator from one double
value | is the new accuracy value |
set the accuracy value
Definition at line 80 of file ConstrainedStep.hpp.
View newest version in sPHENIX GitHub at line 80 of file ConstrainedStep.hpp
References accuracy, Acts::backward, direction, Acts::forward, value(), and values.
release a certain constraint value to the (signed) biggest value available, hence it depends on the direction
type | is the constraint type to be released |
Definition at line 59 of file ConstrainedStep.hpp.
View newest version in sPHENIX GitHub at line 59 of file ConstrainedStep.hpp
References direction, Acts::forward, and values.
Referenced by Acts::Test::BOOST_AUTO_TEST_CASE(), Acts::Test::PropagatorState::Stepper::releaseStepSize(), Acts::StraightLineStepper::releaseStepSize(), and update().
|
inline |
return the split value as string for debugging
Definition at line 129 of file ConstrainedStep.hpp.
View newest version in sPHENIX GitHub at line 129 of file ConstrainedStep.hpp
References aborter, kdfinder::abs(), accuracy, actor, max, user, and values.
Referenced by Acts::Test::BOOST_AUTO_TEST_CASE(), Acts::Test::PropagatorState::Stepper::outputStepSize(), and Acts::StraightLineStepper::outputStepSize().
|
inline |
Update the step size of a certain type
Only navigation and target abortion step size updates may change the sign due to overstepping
value | is the new value to be updated |
type | is the constraint type |
Definition at line 45 of file ConstrainedStep.hpp.
View newest version in sPHENIX GitHub at line 45 of file ConstrainedStep.hpp
References release(), value(), and values.
Referenced by Acts::Test::BOOST_AUTO_TEST_CASE(), Acts::Test::PropagatorState::Stepper::setStepSize(), and Acts::StraightLineStepper::setStepSize().
|
inline |
Access to a specific value
type | is the resquested parameter type |
Definition at line 100 of file ConstrainedStep.hpp.
View newest version in sPHENIX GitHub at line 100 of file ConstrainedStep.hpp
References values.
Referenced by Acts::Test::BOOST_AUTO_TEST_CASE(), ConstrainedStep(), operator=(), and update().
NavigationDirection Acts::ConstrainedStep::direction = forward |
The Navigation direction.
Definition at line 36 of file ConstrainedStep.hpp.
View newest version in sPHENIX GitHub at line 36 of file ConstrainedStep.hpp
Referenced by ConstrainedStep(), currentType(), operator double(), operator=(), and release().
std::array<double, 4> Acts::ConstrainedStep::values |
the step size tuple
Definition at line 31 of file ConstrainedStep.hpp.
View newest version in sPHENIX GitHub at line 31 of file ConstrainedStep.hpp
Referenced by Acts::Test::BOOST_AUTO_TEST_CASE(), ConstrainedStep(), currentType(), max(), min(), operator double(), operator=(), release(), toString(), update(), and value().