void PrintJrLtGeant();
//Map access methods
- G4int GetRegionFromName(const char* volName) const;
-
+ void BuildMediaMap();
+ void SetMediumFromName(const char* volName, int med, int volid);
+ //G4int GetRegionFromName(const char* volName) const;
+ G4int GetMedium(int) const;
+ int CurrentVolID(int ir, int& copyNo);
+ int CurrentVolOffID(int ir, int off, int& copyNo);
+ void Gmtod(double* xm, double* xd, int iflag);
+ void Gdtom(double* xd, double* xm, int iflag);
protected:
void BuildRegionsMap();
G4TouchableHistory * ptrTempNavHist;
G4int * ptrJrLtGeant;
G4int flagLttcGeant;
-
+ G4int fNRegions;
+ int* fRegionMediumMap;
+
G4std::map<G4VPhysicalVolume*, int, G4std::less<G4VPhysicalVolume*> > fRegionVolumeMap;
+ G4std::map<G4VPhysicalVolume*, int, G4std::less<G4VPhysicalVolume*> > fMediumVolumeMap;
+ G4std::map<G4VPhysicalVolume*, int, G4std::less<G4VPhysicalVolume*> > fVolIdVolumeMap;
+
G4std::map<G4Material*, FlukaMaterial*, G4std::less<G4Material*> > G4FlukaMaterialMap;
G4std::map<G4Material*, FlukaCompound*, G4std::less<G4Material*> > G4FlukaCompoundMap;
//G4int NOfMaterials;