Geant4 11.4.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4PhysicalVolumeStore.hh File Reference
#include <vector>
#include <map>
#include "G4VPhysicalVolume.hh"
#include "G4VStoreNotifier.hh"

Go to the source code of this file.

Classes

class  G4PhysicalVolumeStore
 G4PhysicalVolumeStore is a singleton class, acting as container for all physical volumes, with functionality derived from std::vector<T>. All physical volumes should be registered with G4PhysicalVolumeStore, and removed on their destruction. The underlying container initially has a capacity of 100. A map indexed by volume names is also recorded for fast search; pointers to volumes with same name are stored in buckets. More...