85 G4Box * SolidMother =
new G4Box(
"Mother",MotherSizeX,MotherSizeY,MotherSizeZ);
97 G4Box * SolidScintS1andS3 =
98 new G4Box(
"ScintS1andS3Solid",ScintS1andS3SizeX, ScintS1andS3SizeY, ScintS1andS3SizeZ);
99 G4Box * SolidScintS2 =
100 new G4Box(
"ScintS2Solid", ScintS2SizeX, ScintS2SizeY, ScintS2SizeZ);
104 "ScintS1andS3Logical");
111 "ScintS1Physical",LogicalScintS1andS3,PhysicalMother,0,0);
114 "ScintS3Physical",LogicalScintS1andS3,PhysicalMother,0,0);
117 "ScintS2Physical", LogicalScintS2, PhysicalMother,0,0);
121 LogicalScintS2->SetVisAttributes(ColorOfScintillator);
127 G4Box* SolidMWPC =
new G4Box(
"MWPCSolid",MWPCSizeX,MWPCSizeY,MWPCSizeZ);
134 "MWPCPhysical", LogicalMWPC, PhysicalMother,0,i+1);
143 G4Box * SolidHoleCntrScint =
144 new G4Box(
"ScintSolid", HoleCntrSizeX, HoleCntrSizeY, HoleCntrScintSizeZ);
147 "HoleCntrScintLogical");
150 new G4Tubs(
"HoleSolid", ScintHoleRmin, ScintHoleRmax, ScintHoleLenght,
151 HoleStartPhi, HoleDPhi);
156 "HolePhysicalScint", LogicalHoleCntrScint, 0, 0);
160 G4ThreeVector(HoleCntrScintPosX, HoleCntrScintPosY, HoleCntrScintPosZ),
161 "HoleCntrScintPhysical", LogicalHoleCntrScint, PhysicalMother, 0, 0);
164 G4Box * SolidHoleCntrAbsrb =
165 new G4Box(
"AbsrbSolid", HoleCntrSizeX, HoleCntrSizeY, HoleCntrAbsrbSizeZ);
168 "HoleCntrPbLoghical");
172 new G4Tubs(
"HoleSolidAbs", AbsrbHoleRmin, AbsrbHoleRmax, AbsrbHoleLenght,
173 HoleStartPhi, HoleDPhi);
178 "HolePbPhysical", LogicalHoleCntrPb, 0, 0);
183 "HoleCntrPbPhysical", LogicalHoleCntrPb, PhysicalMother, 0, 0);
188 "HoleCntrAlLoghical");
191 "HoleAlPhysical", LogicalHoleCntrAl, 0, 0);
194 "HoleCntrAlPhysical", LogicalHoleCntrAl, PhysicalMother, 0, 0);
211 G4Box * SolidLeadWall =
212 new G4Box(
"LeadWallSolid", LeadWallSizeX, LeadWallSizeY, LeadWallSizeZ);
217 G4Box * SolidSlitPb =
new G4Box(
"SlitPb", LeadWallSlitSizeX, LeadWallSlitSizeY,
226 "LeadWallPhysical", LogicalLeadWall, PhysicalMother, 0, 0);
235 G4Box * SolidIronWall =
236 new G4Box(
"IronWallSolid", IronWallSizeX, IronWallSizeY, IronWallSizeZ);
241 G4Box * SolidSlitFe =
new G4Box(
"SlitFe", IronWallSlitSizeX, IronWallSlitSizeY,
250 "IronWallPhysical", LogicalIronWall, PhysicalMother, 0, 0);
259 G4Box * SolidBigScint =
260 new G4Box(
"BigSolidScint",BigScintSizeX, BigScintSizeY, ScintSizeZ);
265 G4Box * SolidSmallScint =
266 new G4Box(
"SmallSolidScint",SmallScintSizeX, SmallScintSizeY, ScintSizeZ);
269 "SmallScintLogical");
271 for( i=0; i<(NBigScint+NSmallScint); i++)
276 "BigScintPhysical", LogicalBigScint, PhysicalMother,
282 "SmallScintPhysical", LogicalSmallScint, PhysicalMother,
290 G4Box * SolidBigIron =
291 new G4Box(
"BigSolidIron",BigIronSizeX, BigIronSizeY, IronSizeZ);
296 G4Box * SolidSmallIron =
297 new G4Box(
"SmallSolidIron",SmallIronSizeX, SmallIronSizeY, IronSizeZ);
302 for( i=0; i<(NBigIron+NSmallIron); i++)
307 "BigIronPhysical", LogicalBigIron, PhysicalMother,
313 "SmallIronPhysical", LogicalSmallIron, PhysicalMother,
323 G4Box * SolidConcWall =
324 new G4Box(
"ConcWallSolid", ConcWallSizeX, ConcWallSizeY, ConcWallSizeZ);
330 "ConcWallAPhysical", LogicalConcWallA, PhysicalMother, 0, 0);
337 "ConcWallBPhysical", LogicalConcWallB, PhysicalMother, 0, 0);
339 G4Box * SolidConcWallIns =
340 new G4Box(
"ConcWallInsSolid", ConcWallInsSizeX,ConcWallInsSizeY,ConcWallInsSizeZ);
343 "LogicalConcWallIns");
355 G4Box * SolidMuContr =
356 new G4Box(
"MuContrSolid", MuCntrSIzeX, MuCntrSIzeY, MuCntrSIzeZ);
362 "MuContrPhyiscal", LogicalMuContr, PhysicalMother, 0, 0);
393 G4ThreeVector(CryostatPosX,CryostatPosY,CryostatPosZ),
"CryostatVolumes"
394 , theCryostatVolumes, PhysicalMother, 0,0);
408 LogicalScintS2->SetSensitiveDetector(FCALTBSetupSD);
432 return PhysicalMother;
CLHEP::Hep3Vector G4ThreeVector
HepRotation & rotateX(double delta)
CLHEP::HepRotation G4RotationMatrix
static FCALMaterialConsultant * construct()
G4LogicalVolume * Construct()
G4Material * Material(G4String)
void AddNewDetector(G4VSensitiveDetector *aSD)
static G4SDManager * GetSDMpointer()
static const G4VisAttributes Invisible
void SetVisAttributes(const G4VisAttributes *pVA)
void SetSensitiveDetector(G4VSensitiveDetector *pSDetector)