54 fExperimentalHall_log(0), fTracker_log(0),
55 fCalorimeterBlock_log(0), fCalorimeterLayer_log(0),
56 fExperimentalHall_phys(0), fCalorimeterLayer_phys(0),
57 fCalorimeterBlock_phys(0), fTracker_phys(0)
94 G4Box* experimentalHall_box
95 =
new G4Box(
"expHall_box",expHall_x,expHall_y,expHall_z);
97 Ar,
"expHall_log",0,0,0);
108 G4Tubs* tracker_tube =
new G4Tubs(
"tracker_tube",innerRadiusOfTheTube,
109 outerRadiusOfTheTube,hightOfTheTube,
110 startAngleOfTheTube,spanningAngleOfTheTube);
124 G4Box* calorimeterBlock_box =
new G4Box(
"calBlock_box",block_x,
127 Pb,
"caloBlock_log",0,0,0);
140 G4Box* calorimeterLayer_box =
new G4Box(
"caloLayer_box",
141 calo_x,calo_y,calo_z);
143 Al,
"caloLayer_log",0,0,0);
144 for(
G4int i=0;i<19;i++)
161 gSystem->Load(
"libExP02ClassesDict");
170 TFile fo(
"geo.root",
"RECREATE");
172 fo.WriteObject(geotree,
"my_geo");
virtual G4VPhysicalVolume * Construct()
CLHEP::Hep3Vector G4ThreeVector
G4VPhysicalVolume * fTracker_phys
static G4MaterialTable * GetMaterialTable()
std::vector< G4Material * > G4MaterialTable
Definition of the ExP02DetectorConstruction class.
G4VPhysicalVolume * fCalorimeterLayer_phys
ExP02DetectorConstruction()
~ExP02DetectorConstruction()
G4LogicalVolume * fCalorimeterBlock_log
G4LogicalVolume * fTracker_log
G4VPhysicalVolume * fCalorimeterBlock_phys
G4VPhysicalVolume * fExperimentalHall_phys
Definition of the ExP02GeoTree class.
std::vector< G4Element * > G4ElementTable
G4LogicalVolume * fExperimentalHall_log
static G4ElementTable * GetElementTable()
Helper class needed for the ROOT I/O. It contains pointers to geometry tree, element table and materi...
G4LogicalVolume * fCalorimeterLayer_log