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)
72 delete fDetectorMessenger;
120 G4cout <<
" HalfWorldLength " << fXHalfWorldLength <<
G4endl;
122 G4Box* solidWorld=
new G4Box(
"world",fXHalfWorldLength,fYZLength,fYZLength);
138 G4Box* solidBEAM =
new G4Box(
"BEAM",fXBEAM,fYZLength,fYZLength);
154 G4Box* solidCDET =
new G4Box(
"CDET",fXCDET/2.,fYZLength,fYZLength);
169 G4Box* solidECAL =
new G4Box(
"ECAL",fXECAL/2.,fYZLength,fYZLength);
180 G4Box* solidECALdiv =
new G4Box(
"ECAL",fXECAL/2./fNdivECAL,fYZLength,fYZLength);
190 =
G4ThreeVector(fXBEAM + fXCDET + fXECAL + fXSOLN/2., 0., 0.);
191 G4Box* solidSOLN =
new G4Box(
"SOLN",fXSOLN/2.,fYZLength,fYZLength);
205 G4Box* solidHCAL =
new G4Box(
"HCAL",fXHCAL/2.,fYZLength,fYZLength);
216 G4Box* solidHCALdiv =
new G4Box(
"HCAL",fXHCAL/2./fNdivHCAL,fYZLength,fYZLength);
225 =
G4ThreeVector(fXBEAM + fXCDET + fXECAL + fXSOLN + fXHCAL + fXMUON/2., 0., 0.);
226 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
static constexpr double kilogauss
static constexpr double cm
Definition of the ExErrorMagneticField class.
~ExErrorDetectorConstruction()
void SetMagField(G4double)
Definition of the ExErrorDetectorMessenger class.
void SetVisAttributes(const G4VisAttributes *pVA)