57 const G4String XDetectorConstruction::fsCrystalMapsDir =
58 getenv(
"CRYSTALMAPS") ? getenv(
"CRYSTALMAPS") :
"./CrystalMaps";
91 void XDetectorConstruction::DefineMaterials()
103 void XDetectorConstruction::SetupGeometry()
129 if(GeLogical->
Load_NMap(161, 321, 0, fsCrystalMapsDir +
"/LVec.ssv")){
130 if(GeLogical->
Load_NMap(161, 321, 1,fsCrystalMapsDir +
"/STVec.ssv")){
131 if(GeLogical->
Load_NMap(161, 321, 2,fsCrystalMapsDir +
"/FTVec.ssv")){
132 G4cout<<
"\nXDetectorConstruction::Loaded all three maps";}}}
136 if(GeLogical->
LoadMap(161, 321, 0, fsCrystalMapsDir +
"/L.ssv")){
137 if(GeLogical->
LoadMap(161, 321, 1, fsCrystalMapsDir +
"/ST.ssv")){
138 if(GeLogical->
LoadMap(161, 321, 2, fsCrystalMapsDir +
"/FT.ssv")){
139 G4cout<<
"\nXDetectorConstruction::Loaded all three velocity maps";}}}