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.
 
 Stepper ()=default
 
Vector3D position (const StepperState &state) const
 
double time (const StepperState &state) const
 
Vector3D direction (const StepperState &state) const
 
double momentum (const StepperState &state) const
 
double charge (const StepperState &state) const
 

Public Attributes

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

Detailed Description

This is a struct to mimic the stepper.

Simplified stepper.

mockup of stepping state

This is a simple struct to mimic the stepper.

Definition at line 98 of file AbortListTests.cpp.

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

Constructor & Destructor Documentation

Acts::Test::Stepper::Stepper ( )
default

Member Function Documentation

double Acts::Test::Stepper::charge ( const StepperState state) const
inline

Definition at line 59 of file VolumeMaterialInteractionTests.cpp.

View newest version in sPHENIX GitHub at line 59 of file VolumeMaterialInteractionTests.cpp

References Acts::Test::StepperState::q.

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

+ Here is the caller graph for this function:

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

Definition at line 55 of file VolumeMaterialInteractionTests.cpp.

View newest version in sPHENIX GitHub at line 55 of file VolumeMaterialInteractionTests.cpp

References Acts::Test::StepperState::dir.

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

Access method - direction.

Definition at line 70 of file LoopProtectionTests.cpp.

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

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

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

+ Here is the caller graph for this function:

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 60 of file LoopProtectionTests.cpp.

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

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

Definition at line 57 of file VolumeMaterialInteractionTests.cpp.

View newest version in sPHENIX GitHub at line 57 of file VolumeMaterialInteractionTests.cpp

References Acts::Test::StepperState::p.

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

Access method - momentum.

Definition at line 73 of file LoopProtectionTests.cpp.

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

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

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

+ Here is the caller graph for this function:

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

Definition at line 51 of file VolumeMaterialInteractionTests.cpp.

View newest version in sPHENIX GitHub at line 51 of file VolumeMaterialInteractionTests.cpp

References Acts::Test::StepperState::pos.

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

Access method - position.

Definition at line 67 of file LoopProtectionTests.cpp.

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

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

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

+ Here is the caller graph for this function:

double Acts::Test::Stepper::time ( const StepperState state) const
inline

Definition at line 53 of file VolumeMaterialInteractionTests.cpp.

View newest version in sPHENIX GitHub at line 53 of file VolumeMaterialInteractionTests.cpp

References Acts::Test::StepperState::t.

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

+ Here is the caller graph for this function:

Member Data Documentation

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

Definition at line 51 of file LoopProtectionTests.cpp.

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


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