19#ifndef BDSBLMREGISTRY_H
20#define BDSBLMREGISTRY_H
43 G4int RegisterBLM(G4String name,
45 G4double SIn = -1000);
49 inline const std::set<BDSBLM*>& BLMs()
const {
return blms;}
65 std::vector<BDSBLM*> blmsVector;
66 std::vector<G4String> names;
67 std::vector<G4double> S;
Registry of all BLMs so we know each one uniquely.
static BDSBLMRegistry * Instance()
Accessor for registry.
static BDSBLMRegistry * instance
Singleton instance.
BDSBLMRegistry()
Private constructor to enforce singleton pattern.
std::set< BDSBLM * > blms
Cache of unique sampler objects for memory management.