Analysis Software
Documentation for sPHENIX simulation 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 , typename navigator_t >
bool operator() (propagator_state_t &state, const stepper_t &stepper, const navigator_t &, const Logger &) 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 115 of file EigenStepperTests.cpp.

View newest version in sPHENIX GitHub at line 115 of file EigenStepperTests.cpp

Constructor & Destructor Documentation

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

Constructor.

Member Function Documentation

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

Main call operator for the abort operation.

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

Definition at line 135 of file EigenStepperTests.cpp.

View newest version in sPHENIX GitHub at line 135 of file EigenStepperTests.cpp

References Acts::Test::tolerance.

Member Data Documentation

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

Maximum value in x-direction of the detector.

Definition at line 117 of file EigenStepperTests.cpp.

View newest version in sPHENIX GitHub at line 117 of file EigenStepperTests.cpp


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