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

Go to the source code of this file.

Classes

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