ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Acts::Test::Stepper Struct Reference

This is a struct to mimic the stepper. More...

Public Member Functions

Vector3D getField (SteppingState &, const Vector3D &) const
 
Vector3D position (const SteppingState &state) const
 Access method - position.
 
Vector3D direction (const SteppingState &state) const
 Access method - direction.
 
double momentum (const SteppingState &state) const
 Access method - momentum.
 

Public Attributes

Vector3D field = Vector3D(0., 0., 2_T)
 

Detailed Description

This is a struct to mimic the stepper.

mockup of stepping state

This is a simple struct to mimic the stepper.

Definition at line 96 of file AbortListTests.cpp.

View newest version in sPHENIX GitHub at line 96 of file AbortListTests.cpp

Member Function Documentation

Vector3D Acts::Test::Stepper::direction ( const SteppingState state) const
inline

Access method - direction.

Definition at line 71 of file LoopProtectionTests.cpp.

View newest version in sPHENIX GitHub at line 71 of file LoopProtectionTests.cpp

References Acts::Test::SteppingState::dir.

Vector3D Acts::Test::Stepper::getField ( SteppingState ,
const Vector3D  
) const
inline

Get the field for the stepping, it checks first if the access is still within the Cell, and updates the cell if necessary.

Parameters
[in,out]stateis the propagation state associated with the track the magnetic field cell is used (and potentially updated)
[in]posis the field position

Definition at line 61 of file LoopProtectionTests.cpp.

View newest version in sPHENIX GitHub at line 61 of file LoopProtectionTests.cpp

double Acts::Test::Stepper::momentum ( const SteppingState state) const
inline

Access method - momentum.

Definition at line 74 of file LoopProtectionTests.cpp.

View newest version in sPHENIX GitHub at line 74 of file LoopProtectionTests.cpp

References Acts::Test::SteppingState::p.

Vector3D Acts::Test::Stepper::position ( const SteppingState state) const
inline

Access method - position.

Definition at line 68 of file LoopProtectionTests.cpp.

View newest version in sPHENIX GitHub at line 68 of file LoopProtectionTests.cpp

References Acts::Test::SteppingState::pos.

Member Data Documentation

Vector3D Acts::Test::Stepper::field = Vector3D(0., 0., 2_T)

Definition at line 52 of file LoopProtectionTests.cpp.

View newest version in sPHENIX GitHub at line 52 of file LoopProtectionTests.cpp


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