G4CaloTransportTool class

A tool which transports particles through the Geant4 geometry.

Constructors, destructors, conversion operators

G4CaloTransportTool()
~G4CaloTransportTool()

Public functions

auto initializeGeometry() -> bool
Create the shared world volume. Must be called on the master thread, exactly once, after the (simplified) transport geometry has been loaded into the global Geant4 geometry stores. Building the world here (rather than lazily on a worker thread) keeps the Geant4 split-class per-thread data for the world volume correctly sized across all workers. Idempotent: guarded by m_worldVolumeOnceFlag. Returns true on success (i.e. a valid world volume is available).
auto initializePropagator() -> bool
auto transport(const G4Track& G4InputTrack) -> std::vector< G4FieldTrack >
void setUseSimplifiedGeo(bool useSimplifiedGeo)
Turn on/off the use of simplified geometry.
void setSimplifiedWorldLogName(const std::string& simplifiedWorldLogName)
Set the name of the logical volume for the simplified world.
void setTransportLimitVolume(const std::string& transportLimitVolume)
Set the name of the volume until which to transport the particle.
void setMaxSteps(unsigned int maxSteps)
Set the maximum number of steps allowed in particle transport.