Celeritas
0.5.0-56+6b053cd
|
Control options for initializing Celeritas. More...
#include <SetupOptions.hh>
Public Types | |
Type aliases | |
using | size_type = unsigned int |
using | real_type = double |
using | SPConstAction = std::shared_ptr< CoreStepActionInterface const > |
using | AlongStepFactory = std::function< SPConstAction(AlongStepFactoryInput const &)> |
using | IntAccessor = std::function< int()> |
using | VecString = std::vector< std::string > |
Static Public Member Functions | |
static constexpr size_type | no_max_steps () |
Don't limit the number of steps. | |
Public Attributes | |
IntAccessor | get_num_streams |
Set the number of streams (defaults to run manager # threads) | |
SDSetupOptions | sd |
Sensitive detector options. | |
I/O | |
GDML filename (optional: defaults to exporting existing Geant4) | |
std::string | geometry_file |
Filename for JSON diagnostic output. | |
std::string | output_file |
Filename for JSON diagnostic output. | |
std::string | physics_output_file |
Filename for ROOT dump of physics data. | |
std::string | offload_output_file |
Filename to dump a ROOT/HepMC3 copy of offloaded tracks as events. | |
std::string | geometry_output_file |
Filename to dump a GDML file for debugging inside frameworks. | |
Celeritas stepper options | |
Number of track "slots" to be transported simultaneously | |
size_type | max_num_tracks {} |
Maximum number of events in use (DEPRECATED: remove in v0.6) | |
size_type | max_num_events {} |
Maximum number of events in use (DEPRECATED: remove in v0.6) | |
size_type | max_steps = no_max_steps() |
Limit on number of steps per track before killing. | |
size_type | max_step_iters = no_max_steps() |
Limit on number of step iterations before aborting. | |
size_type | initializer_capacity {} |
Maximum number of track initializers (primaries+secondaries) | |
real_type | secondary_stack_factor {3.0} |
At least the average number of secondaries per track slot. | |
size_type | auto_flush {} |
Number of tracks to buffer before offloading (if unset: max num tracks) | |
Track reordering options | |
TrackOrder | track_order |
Stepping actions | |
AlongStepFactory | make_along_step |
Field options | |
size_type | max_field_substeps {100} |
Physics options | |
VecString | ignore_processes |
CUDA options | |
Per-thread stack size (may be needed for VecGeom) [B] | |
size_type | cuda_stack_size {} |
Dynamic heap size (may be needed for VecGeom) [B]. | |
size_type | cuda_heap_size {} |
Dynamic heap size (may be needed for VecGeom) [B]. | |
bool | action_times {false} |
Sync the GPU at every kernel for timing. | |
bool | default_stream {false} |
Launch all kernels on the default stream for debugging. | |
Diagnostic setup | |
Filename base for slot diagnostics | |
std::string | slot_diagnostic_prefix |
Control options for initializing Celeritas.
The interface for the "along-step factory" (input parameters and output) is described in AlongStepFactoryInterface
.
TrackOrder celeritas::SetupOptions::track_order |