45 #include "Cintex/Cintex.h"
52 : fExperimentalHall_log(0), fTracker_log(0),
53 fCalorimeterBlock_log(0), fCalorimeterLayer_log(0),
54 fExperimentalHall_phys(0), fCalorimeterLayer_phys(0),
55 fCalorimeterBlock_phys(0), fTracker_phys(0)
92 G4Box* experimentalHall_box
93 =
new G4Box(
"expHall_box",expHall_x,expHall_y,expHall_z);
95 Ar,
"expHall_log",0,0,0);
97 fExperimentalHall_log,
"expHall",0,
false,0);
106 G4Tubs* tracker_tube =
new G4Tubs(
"tracker_tube",innerRadiusOfTheTube,
107 outerRadiusOfTheTube,hightOfTheTube,
108 startAngleOfTheTube,spanningAngleOfTheTube);
109 fTracker_log =
new G4LogicalVolume(tracker_tube,Al,
"tracker_log",0,0,0);
115 fTracker_log,
"tracker",fExperimentalHall_log,
false,0);
122 G4Box* calorimeterBlock_box =
new G4Box(
"calBlock_box",block_x,
125 Pb,
"caloBlock_log",0,0,0);
131 fCalorimeterBlock_log,
"caloBlock",fExperimentalHall_log,
false,0);
138 G4Box* calorimeterLayer_box =
new G4Box(
"caloLayer_box",
139 calo_x,calo_y,calo_z);
141 Al,
"caloLayer_log",0,0,0);
142 for(
G4int i=0;i<19;i++)
149 fCalorimeterLayer_log,
"caloLayer",fCalorimeterBlock_log,
false,i);
159 gSystem->Load(
"libExP02ClassesDict");
162 ROOT::Cintex::Cintex::Enable();
170 TFile fo(
"geo.root",
"RECREATE");
172 fo.WriteObject(geotree,
"my_geo");
174 return fExperimentalHall_phys;