35 #include "DetectorConstruction.hh"
36 #include "DetectorMessenger.hh"
60 :fNLtot(40),fNRtot(50),fDLradl(0.5),fDRradl(0.1),
61 fDLlength(0.),fDRlength(0.),
62 fMaterial(0),fMagField(0),
63 fEcalLength(0.),fEcalRadius(0.),
64 fSolidEcal(0),fLogicEcal(0),fPhysiEcal(0)
74 {
delete fDetectorMessenger;}
80 return ConstructVolumes();
85 void DetectorConstruction::DefineMaterials()
101 G4int ncomponents, natoms;
135 fDLlength = fDLradl*Radl; fDRlength = fDRradl*Radl;
136 fEcalLength = fNLtot*fDLlength; fEcalRadius = fNRtot*fDRlength;
147 fSolidEcal =
new G4Tubs(
"Ecal",0.,fEcalRadius,0.5*fEcalLength,0.,360*
deg);
150 fLogicEcal,
"Ecal",0,
false,0);
171 fMaterial = pttoMaterial;
181 fNLtot = (
G4int)Value(0);
183 G4cout <<
"\n ---> warning from SetLBining: "
194 fNRtot = (
G4int)Value(0);
196 G4cout <<
"\n ---> warning from SetRBining: "
211 if(fMagField)
delete fMagField;