80 G4cout <<
"Constructing materials...";
88 G4Box * SolidMother =
new G4Box(
"Mother",MotherSizeX,MotherSizeY,MotherSizeZ);
100 G4Box * SolidScintS1andS3 =
101 new G4Box(
"ScintS1andS3Solid",ScintS1andS3SizeX, ScintS1andS3SizeY, ScintS1andS3SizeZ);
102 G4Box * SolidScintS2 =
103 new G4Box(
"ScintS2Solid", ScintS2SizeX, ScintS2SizeY, ScintS2SizeZ);
107 "ScintS1andS3Logical");
114 "ScintS1Physical",LogicalScintS1andS3,PhysicalMother,0,0);
117 "ScintS3Physical",LogicalScintS1andS3,PhysicalMother,0,0);
120 "ScintS2Physical", LogicalScintS2, PhysicalMother,0,0);
124 LogicalScintS2->SetVisAttributes(ColorOfScintillator);
130 G4Box* SolidMWPC =
new G4Box(
"MWPCSolid",MWPCSizeX,MWPCSizeY,MWPCSizeZ);
137 "MWPCPhysical", LogicalMWPC, PhysicalMother,0,i+1);
146 G4Box * SolidHoleCntrScint =
147 new G4Box(
"ScintSolid", HoleCntrSizeX, HoleCntrSizeY, HoleCntrScintSizeZ);
150 "HoleCntrScintLogical");
153 new G4Tubs(
"HoleSolid", ScintHoleRmin, ScintHoleRmax, ScintHoleLenght,
154 HoleStartPhi, HoleDPhi);
159 "HolePhysicalScint", LogicalHoleCntrScint, 0, 0);
163 G4ThreeVector(HoleCntrScintPosX, HoleCntrScintPosY, HoleCntrScintPosZ),
164 "HoleCntrScintPhysical", LogicalHoleCntrScint, PhysicalMother, 0, 0);
167 G4Box * SolidHoleCntrAbsrb =
168 new G4Box(
"AbsrbSolid", HoleCntrSizeX, HoleCntrSizeY, HoleCntrAbsrbSizeZ);
171 "HoleCntrPbLoghical");
175 new G4Tubs(
"HoleSolidAbs", AbsrbHoleRmin, AbsrbHoleRmax, AbsrbHoleLenght,
176 HoleStartPhi, HoleDPhi);
181 "HolePbPhysical", LogicalHoleCntrPb, 0, 0);
186 "HoleCntrPbPhysical", LogicalHoleCntrPb, PhysicalMother, 0, 0);
191 "HoleCntrAlLogical");
194 "HoleAlPhysical", LogicalHoleCntrAl, 0, 0);
197 "HoleCntrAlPhysical", LogicalHoleCntrAl, PhysicalMother, 0, 0);
214 G4Box * SolidLeadWall =
215 new G4Box(
"LeadWallSolid", LeadWallSizeX, LeadWallSizeY, LeadWallSizeZ);
220 G4Box * SolidSlitPb =
new G4Box(
"SlitPb", LeadWallSlitSizeX, LeadWallSlitSizeY,
229 "LeadWallPhysical", LogicalLeadWall, PhysicalMother, 0, 0);
238 G4Box * SolidIronWall =
239 new G4Box(
"IronWallSolid", IronWallSizeX, IronWallSizeY, IronWallSizeZ);
244 G4Box * SolidSlitFe =
new G4Box(
"SlitFe", IronWallSlitSizeX, IronWallSlitSizeY,
253 "IronWallPhysical", LogicalIronWall, PhysicalMother, 0, 0);
262 G4Box * SolidBigScint =
263 new G4Box(
"BigSolidScint",BigScintSizeX, BigScintSizeY, ScintSizeZ);
268 G4Box * SolidSmallScint =
269 new G4Box(
"SmallSolidScint",SmallScintSizeX, SmallScintSizeY, ScintSizeZ);
272 "SmallScintLogical");
274 for( i=0; i<(NBigScint+NSmallScint); i++)
279 "BigScintPhysical", LogicalBigScint, PhysicalMother,
285 "SmallScintPhysical", LogicalSmallScint, PhysicalMother,
293 G4Box * SolidBigIron =
294 new G4Box(
"BigSolidIron",BigIronSizeX, BigIronSizeY, IronSizeZ);
299 G4Box * SolidSmallIron =
300 new G4Box(
"SmallSolidIron",SmallIronSizeX, SmallIronSizeY, IronSizeZ);
305 for( i=0; i<(NBigIron+NSmallIron); i++)
310 "BigIronPhysical", LogicalBigIron, PhysicalMother,
316 "SmallIronPhysical", LogicalSmallIron, PhysicalMother,
326 G4Box * SolidConcWall =
327 new G4Box(
"ConcWallSolid", ConcWallSizeX, ConcWallSizeY, ConcWallSizeZ);
333 "ConcWallAPhysical", LogicalConcWallA, PhysicalMother, 0, 0);
340 "ConcWallBPhysical", LogicalConcWallB, PhysicalMother, 0, 0);
342 G4Box * SolidConcWallIns =
343 new G4Box(
"ConcWallInsSolid", ConcWallInsSizeX,ConcWallInsSizeY,ConcWallInsSizeZ);
346 "LogicalConcWallIns");
358 G4Box * SolidMuContr =
359 new G4Box(
"MuContrSolid", MuCntrSIzeX, MuCntrSIzeY, MuCntrSIzeZ);
365 "MuContrPhyiscal", LogicalMuContr, PhysicalMother, 0, 0);
396 G4ThreeVector(CryostatPosX,CryostatPosY,CryostatPosZ),
"CryostatVolumes"
397 , theCryostatVolumes, PhysicalMother, 0,0);
400 return PhysicalMother;
static FCALMaterialConsultant * GetInstance()
CLHEP::Hep3Vector G4ThreeVector
HepRotation & rotateX(double delta)
CLHEP::HepRotation G4RotationMatrix
G4LogicalVolume * Construct()
G4Material * Material(G4String)
G4GLOB_DLL std::ostream G4cout
static constexpr double deg
static const G4VisAttributes & GetInvisible()
void SetVisAttributes(const G4VisAttributes *pVA)