34 #include "DetectorConstruction.hh"
35 #include "DetectorMessenger.hh"
56 :fBox(0), fBoxSize(500*
m), fMaterial(0), fMagField(0)
71 {
delete fDetectorMessenger;}
77 return ConstructVolumes();
82 void DetectorConstruction::DefineMaterials()
109 sBox =
new G4Box(
"Container",
110 fBoxSize/2,fBoxSize/2,fBoxSize/2);
149 if (pttoMaterial) fMaterial = pttoMaterial;
170 if (fMagField)
delete fMagField;
192 {
G4cout <<
"\n --->warning from SetMaxStepSize: maxStep "
193 << val <<
" out of range. Command refused" <<
G4endl;
206 {
G4cout <<
"\n --->warning from SetMaxStepLength: maxStep "
207 << val <<
" out of range. Command refused" <<
G4endl;