Definition at line 27 of file ParallelWorld.h.
◆ ParallelWorld()
simcore::ParallelWorld::ParallelWorld |
( |
G4GDMLParser * |
parser, |
|
|
G4String |
worldName |
|
) |
| |
Constructor.
Definition at line 7 of file ParallelWorld.cxx.
8 : G4VUserParallelWorld(worldName),
Class encapsulating parameters for configuring a processor.
G4GDMLParser * parser_
GDML parser.
geo::AuxInfoReader * auxInfoReader_
The auxiliary GDML info reader.
◆ ~ParallelWorld()
simcore::ParallelWorld::~ParallelWorld |
( |
| ) |
|
◆ Construct()
void simcore::ParallelWorld::Construct |
( |
| ) |
|
◆ ConstructSD()
void simcore::ParallelWorld::ConstructSD |
( |
| ) |
|
Definition at line 17 of file ParallelWorld.cxx.
17 {
18 G4VPhysicalVolume *worldPhysical = GetWorld();
19 G4LogicalVolume *worldLogical = worldPhysical->GetLogicalVolume();
20
21 G4LogicalVolume *parallelWorldLogical =
22 parser_->GetWorldVolume()->GetLogicalVolume();
24
25 for (int index = 0; index < parallelWorldLogical->GetNoDaughters(); index++) {
26 G4VPhysicalVolume *physicalVol = parallelWorldLogical->GetDaughter(index);
27 ldmx_log(debug) << "Adding : " << physicalVol->GetName()
28 << " to parallel world.";
29 worldLogical->AddDaughter(physicalVol);
30 }
31
33}
void assignAuxInfoToVolumes()
Assign auxiliary info to volumes such as sensitive detectors.
void readGlobalAuxInfo()
Read the global auxiliary information from the auxinfo block.
◆ auxInfoReader_
◆ parser_
G4GDMLParser* simcore::ParallelWorld::parser_ {nullptr} |
|
private |
The documentation for this class was generated from the following files: