47 #include "Cintex/Cintex.h"
55 fExperimentalHall_log(0), fTracker_log(0),
56 fCalorimeterBlock_log(0), fCalorimeterLayer_log(0),
57 fExperimentalHall_phys(0), fCalorimeterLayer_phys(0),
58 fCalorimeterBlock_phys(0), fTracker_phys(0)
95 G4Box* experimentalHall_box
96 =
new G4Box(
"expHall_box",expHall_x,expHall_y,expHall_z);
98 Ar,
"expHall_log",0,0,0);
109 G4Tubs* tracker_tube =
new G4Tubs(
"tracker_tube",innerRadiusOfTheTube,
110 outerRadiusOfTheTube,hightOfTheTube,
111 startAngleOfTheTube,spanningAngleOfTheTube);
125 G4Box* calorimeterBlock_box =
new G4Box(
"calBlock_box",block_x,
128 Pb,
"caloBlock_log",0,0,0);
141 G4Box* calorimeterLayer_box =
new G4Box(
"caloLayer_box",
142 calo_x,calo_y,calo_z);
144 Al,
"caloLayer_log",0,0,0);
145 for(
G4int i=0;i<19;i++)
162 gSystem->Load(
"libExP02ClassesDict");
165 ROOT::Cintex::Cintex::Enable();
173 TFile fo(
"geo.root",
"RECREATE");
175 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