53 fXBEAM(5.*
cm), fXCDET(20.*
cm), fXECAL(40.*
cm), fXSOLN(10.*
cm), fXHCAL(100.*
cm),
54 fXMUON(50.*
cm), fNdivECAL(40./10.), fNdivHCAL(100./10.), fYZLength(50.*
cm),
55 fXHalfWorldLength(fXBEAM + fXCDET + fXECAL + fXSOLN + fXHCAL + fXMUON),
56 fUserLimits(0), fMagField(0), fDetectorMessenger(0)
71 delete fDetectorMessenger;
119 G4cout <<
" HalfWorldLength " << fXHalfWorldLength <<
G4endl;
121 G4Box* solidWorld=
new G4Box(
"world",fXHalfWorldLength,fYZLength,fYZLength);
137 G4Box* solidBEAM =
new G4Box(
"BEAM",fXBEAM,fYZLength,fYZLength);
153 G4Box* solidCDET =
new G4Box(
"CDET",fXCDET/2.,fYZLength,fYZLength);
168 G4Box* solidECAL =
new G4Box(
"ECAL",fXECAL/2.,fYZLength,fYZLength);
179 G4Box* solidECALdiv =
new G4Box(
"ECAL",fXECAL/2./fNdivECAL,fYZLength,fYZLength);
189 G4Box* solidSOLN =
new G4Box(
"SOLN",fXSOLN/2.,fYZLength,fYZLength);
203 G4Box* solidHCAL =
new G4Box(
"HCAL",fXHCAL/2.,fYZLength,fYZLength);
214 G4Box* solidHCALdiv =
new G4Box(
"HCAL",fXHCAL/2./fNdivHCAL,fYZLength,fYZLength);
223 G4Box* solidMUON =
new G4Box(
"MUON",fXMUON/2.,fYZLength,fYZLength);
G4Material * FindOrBuildMaterial(const G4String &name, G4bool isotopes=true, G4bool warning=false)
ExErrorDetectorConstruction()
virtual G4VPhysicalVolume * Construct()
CLHEP::Hep3Vector G4ThreeVector
static G4MaterialTable * GetMaterialTable()
static G4NistManager * Instance()
Definition of the ExErrorDetectorConstruction class.
void SetFieldValue(G4double fieldValue)
G4GLOB_DLL std::ostream G4cout
Definition of the ExErrorMagneticField class.
~ExErrorDetectorConstruction()
void SetMagField(G4double)
Definition of the ExErrorDetectorMessenger class.
void SetVisAttributes(const G4VisAttributes *pVA)