68 #include "FCALTestbeamSetupParameters.input"
80 G4cout <<
"Constructing materials...";
100 G4Box * SolidScintS1andS3 =
102 G4Box * SolidScintS2 =
107 "ScintS1andS3Logical");
114 "ScintS1Physical",LogicalScintS1andS3,PhysicalMother,0,0);
117 "ScintS3Physical",LogicalScintS1andS3,PhysicalMother,0,0);
120 "ScintS2Physical", LogicalScintS2, PhysicalMother,0,0);
124 LogicalScintS2->SetVisAttributes(ColorOfScintillator);
137 "MWPCPhysical", LogicalMWPC, PhysicalMother,0,i+1);
146 G4Box * SolidHoleCntrScint =
150 "HoleCntrScintLogical");
159 "HolePhysicalScint", LogicalHoleCntrScint, 0, 0);
164 "HoleCntrScintPhysical", LogicalHoleCntrScint, PhysicalMother, 0, 0);
167 G4Box * SolidHoleCntrAbsrb =
171 "HoleCntrPbLoghical");
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 =
225 new G4PVPlacement(0,
G4ThreeVector(), LogicalSlitPb,
"SlitPbPhysical", LogicalLeadWall, 0, 0);
229 "LeadWallPhysical", LogicalLeadWall, PhysicalMother, 0, 0);
238 G4Box * SolidIronWall =
249 new G4PVPlacement(0,
G4ThreeVector(), LogicalSlitFe,
"SlitFePhysical", LogicalIronWall, 0, 0);
253 "IronWallPhysical", LogicalIronWall, PhysicalMother, 0, 0);
262 G4Box * SolidBigScint =
268 G4Box * SolidSmallScint =
272 "SmallScintLogical");
279 "BigScintPhysical", LogicalBigScint, PhysicalMother,
285 "SmallScintPhysical", LogicalSmallScint, PhysicalMother,
293 G4Box * SolidBigIron =
299 G4Box * SolidSmallIron =
310 "BigIronPhysical", LogicalBigIron, PhysicalMother,
316 "SmallIronPhysical", LogicalSmallIron, PhysicalMother,
326 G4Box * SolidConcWall =
333 "ConcWallAPhysical", LogicalConcWallA, PhysicalMother, 0, 0);
340 "ConcWallBPhysical", LogicalConcWallB, PhysicalMother, 0, 0);
342 G4Box * SolidConcWallIns =
346 "LogicalConcWallIns");
348 new G4PVPlacement(0,
G4ThreeVector(),
"ConcWallInsPhysical", LogicalConcWallIns, PhysicalConcWallA, 0, 0);
358 G4Box * SolidMuContr =
365 "MuContrPhyiscal", LogicalMuContr, PhysicalMother, 0, 0);
395 new G4PVPlacement(CryostatRotationMatrix,
397 , theCryostatVolumes, PhysicalMother, 0,0);
400 return PhysicalMother;
410 const G4String detName =
"FCALTB/TBSetupSD";
CLHEP::Hep3Vector G4ThreeVector
G4double LeadWallSlitSizeX
G4double LeadWallSlitSizeY
void SetSensitiveDetector(const G4String &logVolName, G4VSensitiveDetector *aSD, G4bool multi=false)
G4double HoleCntrScintPosX
G4VSensitiveDetector * FindSensitiveDetector(G4String dName, G4bool warning=true)
G4double ConcWallInsSizeX
void AddNewDetector(G4VSensitiveDetector *aSD)
CLHEP::HepRotation G4RotationMatrix
G4double ConcWallInsSizeZ
G4double IronWallSlitSizeZ
G4double ScintS1andS3SizeZ
G4double IronWallSlitSizeX
G4double LeadWallSlitSizeZ
G4double HoleCntrScintPosY
G4VPhysicalVolume * Construct()
G4double ScintS1andS3SizeX
static const G4VisAttributes & GetInvisible()
G4Material * Material(G4String)
static constexpr double deg
G4double HoleCntrScintSizeZ
G4double ConcWallInsSizeY
G4double IronWallSlitSizeY
G4double HoleCntrAbsrbSizeZ
void SetVisAttributes(const G4VisAttributes *pVA)
static FCALMaterialConsultant * GetInstance()
static G4SDManager * GetSDMpointer()
G4double HoleCntrScintPosZ
G4LogicalVolume * Construct()
G4GLOB_DLL std::ostream G4cout
void ConstructSDandField()
HepRotation & rotateX(double delta)
G4double ScintS1andS3SizeY