|
Celeritas 0.7.0-dev.313+develop.1857205b
|
Simple interface for G4VTrackingManager-based integration. More...
#include <TrackingManagerIntegration.hh>
Static Public Member Functions | |
| static TrackingManagerIntegration & | Instance () |
| Access the public-facing integration singleton. | |
Additional Inherited Members | |
Public Member Functions inherited from celeritas::IntegrationBase | |
| void | BuildForMaster () |
| void | Build () |
| void | SetOptions (SetupOptions &&opts) |
| Set options before starting the run. | |
| void | BeginOfRunAction (G4Run const *run) |
| Start the run. | |
| void | EndOfRunAction (G4Run const *run) |
| End the run. | |
| OffloadMode | GetMode () const |
| Access whether Celeritas is set up, enabled, or uninitialized. | |
| CoreParams const & | GetParams () |
| Access global Celeritas shared params during a run, if not disabled. | |
| CoreStateInterface & | GetState () |
| Access thread-local Celeritas core state data for user diagnostics. | |
Protected Member Functions inherited from celeritas::IntegrationBase | |
| IntegrationBase () | |
| Initialize MPI and logging on first access. | |
| IntegrationBase (IntegrationBase const &)=default | |
| IntegrationBase & | operator= (IntegrationBase const &)=default |
| IntegrationBase (IntegrationBase &&)=default | |
| IntegrationBase & | operator= (IntegrationBase &&)=default |
Simple interface for G4VTrackingManager-based integration.
This singleton integrates both thread-local and global data with the user application. To use this class in your Geant4 application to offload tracks to Celeritas:
TrackingManagerConstructor class to add the Celeritas tracking manager to your physics list.SetOptions to set up options before G4RunManager::Initialize: usually in main for simple applications.BeginOfRunAction and EndOfRunAction from UserRunAction See further documentation in celeritas::IntegrationBase.