BDSIM
BDSIM is a Geant4 extension toolkit for simulation of particle transport in accelerator beamlines.
Public Member Functions | Private Attributes
BDSParallelWorldPlacementFields Class Reference

A parallel world for placement field transform shapes. More...

#include <BDSParallelWorldPlacementFields.hh>

Inheritance diagram for BDSParallelWorldPlacementFields:
Inheritance graph
Collaboration diagram for BDSParallelWorldPlacementFields:
Collaboration graph

Public Member Functions

 BDSParallelWorldPlacementFields (const G4String &name)
 
virtual void Construct ()
 

Private Attributes

G4VisAttributes * pfWorldVis
 
std::vector< G4VPhysicalVolume * > placements
 Cache of the placements to clean up at the end. More...
 

Detailed Description

A parallel world for placement field transform shapes.

Author
Laurie Nevay

Definition at line 35 of file BDSParallelWorldPlacementFields.hh.

Constructor & Destructor Documentation

◆ BDSParallelWorldPlacementFields()

BDSParallelWorldPlacementFields::BDSParallelWorldPlacementFields ( const G4String &  name)
explicit

Definition at line 36 of file BDSParallelWorldPlacementFields.cc.

◆ ~BDSParallelWorldPlacementFields()

BDSParallelWorldPlacementFields::~BDSParallelWorldPlacementFields ( )
virtual

Definition at line 41 of file BDSParallelWorldPlacementFields.cc.

Member Function Documentation

◆ Construct()

void BDSParallelWorldPlacementFields::Construct ( )
virtual

Construct the required parallel world geometry. This must overload the pure virtual method in G4VUserParallelWorld.

"placement fields" -> pf

Register it (statically) to all navigators for fields in the placement world.

Definition at line 50 of file BDSParallelWorldPlacementFields.cc.

References BDSNavigatorPlacements::AttachWorldVolumeToNavigator(), BDSGlobalConstants::Instance(), BDSAcceleratorModel::PlacementFieldPWPlacements(), and placements.

Here is the call graph for this function:

Field Documentation

◆ pfWorldVis

G4VisAttributes* BDSParallelWorldPlacementFields::pfWorldVis
private

Definition at line 47 of file BDSParallelWorldPlacementFields.hh.

◆ placements

std::vector<G4VPhysicalVolume*> BDSParallelWorldPlacementFields::placements
private

Cache of the placements to clean up at the end.

Definition at line 50 of file BDSParallelWorldPlacementFields.hh.

Referenced by Construct().


The documentation for this class was generated from the following files: