89 "WorldLogical", 0, 0, 0);
102 G4Box *driftChamberBox
103 =
new G4Box(
"DriftChamberSolid", detectSize, detectSize, 40*
cm);
106 "DriftChamberLogical", 0, 0, 0);
110 "DriftChamberPhysical",
119 G4Box *calorimeterBox
120 =
new G4Box(
"CalorimeterSolid", detectSize, detectSize, 20*
cm);
122 "CalorimeterLogical", 0, 0, 0);
125 "CalorimeterPhysical",
137 G4Box *CrystalSolid =
new G4Box(
"CrystalSolid", CrystalX, CrystalY, CrystalZ);
139 "CrystalLogical", 0, 0, 0);
151 yTlate = -detectSize + 3*CrystalY + j*2*CrystalY;
154 xTlate = -detectSize + 3*CrystalX + i*2*CrystalX;
158 calorimeterPhys,
false,copyNo++);
170 =
new G4Box(
"HadCaloSolid", detectSize, detectSize, 50*
cm);
172 "HadCaloLogical", 0, 0, 0);
187 G4Box *TowerSolid =
new G4Box(
"TowerSolid", TowerX, TowerY, TowerZ);
189 "TowerLogical", 0, 0, 0);
199 yTlate = -detectSize + 3*TowerY + jj*2*TowerY;
202 xTlate = -detectSize + 3*TowerX + i*2*TowerX;
206 hadCaloPhys,
false,copyNo++);
216 std::vector<double> cuts;
217 cuts.push_back(1.0*
mm);cuts.push_back(1.0*
mm);cuts.push_back(1.0*
mm);cuts.push_back(1.0*
mm);
225 cuts.push_back(1.0*
cm);cuts.push_back(1.0*
cm);cuts.push_back(1.0*
cm);cuts.push_back(1.0*
cm);
273 G4String calorimeterSDname =
"Par01/Calorimeter";
280 G4String hadCalorimeterSDname =
"Par01/HadronCalorimeter";
void AddRootLogicalVolume(G4LogicalVolume *lv)
CLHEP::Hep3Vector G4ThreeVector
Par01DetectorConstruction()
static constexpr double mm
G4LogicalVolume * fCrystalLog
void AddNewDetector(G4VSensitiveDetector *aSD)
G4LogicalVolume * fTowerLog
Definition of the Par01DetectorConstruction class.
void SetProductionCuts(G4ProductionCuts *cut)
G4Region * GetRegion(const G4String &name, G4bool verbose=true) const
virtual G4VPhysicalVolume * Construct()
static const G4VisAttributes & GetInvisible()
G4Material * FindOrBuildMaterial(const G4String &name, G4bool isotopes=true, G4bool warning=false)
Definition of the Par01CalorimeterSD class.
void SetVisAttributes(const G4VisAttributes *pVA)
G4ProductionCuts * GetProductionCuts() const
Definition of the Par01PiModel class.
static G4SDManager * GetSDMpointer()
static G4RegionStore * GetInstance()
virtual ~Par01DetectorConstruction()
static constexpr double cm
G4GLOB_DLL std::ostream G4cout
Definition of the Par01EMShowerModel class.
void SetForceWireframe(G4bool=true)
virtual void ConstructSDandField()
void SetProductionCuts(std::vector< G4double > &)
static G4NistManager * Instance()
void SetSensitiveDetector(G4VSensitiveDetector *pSDetector)