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

Aborter for the case that a particle leaves the detector or reaches a custom made threshold. More...

Public Member Functions

 EndOfWorld ()=default
 Constructor.
 
template<typename propagator_state_t , typename stepper_t >
bool operator() (propagator_state_t &state, const stepper_t &stepper) const
 Main call operator for the abort operation.
 

Public Attributes

double maxX = 1_m
 Maximum value in x-direction of the detector.
 

Detailed Description

Aborter for the case that a particle leaves the detector or reaches a custom made threshold.

Definition at line 73 of file StepperTests.cpp.

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

Constructor & Destructor Documentation

Acts::Test::EndOfWorld::EndOfWorld ( )
default

Constructor.

Member Function Documentation

template<typename propagator_state_t , typename stepper_t >
bool Acts::Test::EndOfWorld::operator() ( propagator_state_t &  state,
const stepper_t &  stepper 
) const
inline

Main call operator for the abort operation.

Template Parameters
propagator_state_tState of the propagator
stepper_tType of the stepper
Parameters
[in]stateState of the propagation
[in]stepperStepper of the propagation
Returns
Boolean statement if the particle is still in the detector

Definition at line 88 of file StepperTests.cpp.

View newest version in sPHENIX GitHub at line 88 of file StepperTests.cpp

References kdfinder::abs(), and Acts::Test::tolerance.

+ Here is the call graph for this function:

Member Data Documentation

double Acts::Test::EndOfWorld::maxX = 1_m

Maximum value in x-direction of the detector.

Definition at line 75 of file StepperTests.cpp.

View newest version in sPHENIX GitHub at line 75 of file StepperTests.cpp


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