The parallel world holding the scoring planes.
More...
#include <scoring_planes.hpp>
The parallel world holding the scoring planes.
Registered with the detector construction when planes are configured; Geant4 calls Construct() once on the geometry thread and ConstructSD() on every thread that tracks. The run also needs G4ParallelWorldPhysics(kScoringWorldName) in its physics list, so that particles are transported through this world.
◆ ScoringParallelWorld()
| SHiP::g4::ScoringParallelWorld::ScoringParallelWorld |
( |
std::vector< ScoringPlaneConfig > |
planes | ) |
|
|
inlineexplicit |
◆ Construct()
| void SHiP::g4::ScoringParallelWorld::Construct |
( |
| ) |
|
|
inlineoverride |
◆ ConstructSD()
| void SHiP::g4::ScoringParallelWorld::ConstructSD |
( |
| ) |
|
|
inlineoverride |
◆ contains()
| bool SHiP::g4::ScoringParallelWorld::contains |
( |
G4LogicalVolume * |
lv | ) |
const |
|
inline |
Whether lv belongs to this world (a plane or the world volume), so that detector-geometry patterns (sensitive volumes, field regions) can skip it.
Valid once Construct() has run.
The documentation for this class was generated from the following file: