Celeritas  0.5.0-56+6b053cd
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
celeritas::StepSelection Struct Reference

Which track properties to gather at every step. More...

#include <StepData.hh>

Public Member Functions

CELER_FUNCTION operator bool () const
 Whether any selection is requested.
 
StepSelectionoperator|= (StepSelection const &other)
 Combine the selection with another.
 

Static Public Member Functions

static constexpr StepSelection all ()
 Create StepSelection with all options set to true.
 

Public Attributes

EnumArray< StepPoint, StepPointSelectionpoints
 
bool event_id {false}
 
bool parent_id {false}
 
bool track_step_count {false}
 
bool action_id {false}
 
bool step_length {false}
 
bool particle {false}
 
bool energy_deposition {false}
 

Detailed Description

Which track properties to gather at every step.

These should correspond to the data items in StepStateDataImpl.

TODO: particle -> particle_id for consistency


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