#include <F01DetectorConstruction.hh>
Definition at line 56 of file F01DetectorConstruction.hh.
F01DetectorConstruction::F01DetectorConstruction |
( |
| ) |
|
Definition at line 60 of file F01DetectorConstruction.cc.
62 fDetectorMessenger(0),
63 fSolidWorld(0), fLogicWorld(0), fPhysiWorld(0),
64 fSolidAbsorber(0), fLogicAbsorber(0), fPhysiAbsorber(0),
65 fAbsorberMaterial(0), fAbsorberThickness(0.), fAbsorberRadius(0.),
66 fZAbsorber(0.), fZStartAbs(0.), fZEndAbs(0.),
67 fWorldMaterial(0), fWorldSizeR(0.), fWorldSizeZ(0.)
71 fWorldSizeZ = 44000.*
mm;
72 fWorldSizeR = 22000.*
mm;
74 fAbsorberThickness = 1.0*
mm;
76 fAbsorberRadius = 20000.*
mm;
77 fZAbsorber = 21990.0*
mm;
static constexpr double mm
G4VUserDetectorConstruction()
F01DetectorConstruction::~F01DetectorConstruction |
( |
| ) |
|
|
virtual |
void F01DetectorConstruction::ConstructSDandField |
( |
| ) |
|
|
virtual |
Reimplemented from G4VUserDetectorConstruction.
Definition at line 384 of file F01DetectorConstruction.cc.
388 if (!fCalorimeterSD.
Get()) {
390 fCalorimeterSD.
Put(calorimeterSD);
396 if (!fEmFieldSetup.
Get()) {
400 fEmFieldSetup.
Put(fieldSetup);
static constexpr double tesla
CLHEP::Hep3Vector G4ThreeVector
void SetSensitiveDetector(const G4String &logVolName, G4VSensitiveDetector *aSD, G4bool multi=false)
void AddNewDetector(G4VSensitiveDetector *aSD)
static G4SDManager * GetSDMpointer()
void Put(const value_type &val) const
G4Material* F01DetectorConstruction::GetAbsorberMaterial |
( |
| ) |
|
|
inline |
G4double F01DetectorConstruction::GetAbsorberRadius |
( |
| ) |
|
|
inline |
G4double F01DetectorConstruction::GetAbsorberThickness |
( |
| ) |
|
|
inline |
G4double F01DetectorConstruction::GetAbsorberZpos |
( |
| ) |
|
|
inline |
G4Material* F01DetectorConstruction::GetWorldMaterial |
( |
| ) |
|
|
inline |
G4double F01DetectorConstruction::GetWorldSizeR |
( |
| ) |
|
|
inline |
G4double F01DetectorConstruction::GetWorldSizeZ |
( |
| ) |
|
|
inline |
G4double F01DetectorConstruction::GetZEndAbs |
( |
| ) |
|
|
inline |
G4double F01DetectorConstruction::GetZStartAbs |
( |
| ) |
|
|
inline |
void F01DetectorConstruction::PrintCalorParameters |
( |
| ) |
|
Definition at line 280 of file F01DetectorConstruction.cc.
282 G4cout <<
"\n The WORLD is made of "
283 << fWorldSizeZ/
mm <<
"mm of " << fWorldMaterial->
GetName();
284 G4cout <<
", the transverse size (R) of the world is "
285 << fWorldSizeR/
mm <<
" mm. " <<
G4endl;
286 G4cout <<
" The ABSORBER is made of "
287 << fAbsorberThickness/
mm <<
"mm of " << fAbsorberMaterial->
GetName();
288 G4cout <<
", the transverse size (R) is " << fAbsorberRadius/
mm
290 G4cout <<
" Z position of the (middle of the) absorber "
291 << fZAbsorber/
mm <<
" mm." <<
G4endl;
static constexpr double mm
const G4String & GetName() const
G4GLOB_DLL std::ostream G4cout
void F01DetectorConstruction::SetAbsorberMaterial |
( |
G4String |
materialChoice | ) |
|
Definition at line 297 of file F01DetectorConstruction.cc.
304 for (
size_t j=0 ; j<theMaterialTable->size() ; j++)
305 { material = (*theMaterialTable)[j];
306 if (material->
GetName() == materialChoice)
const G4String & GetName() const
static G4MaterialTable * GetMaterialTable()
std::vector< G4Material * > G4MaterialTable
void PhysicsHasBeenModified()
static G4RunManager * GetRunManager()
void SetMaterial(G4Material *pMaterial)
void F01DetectorConstruction::SetAbsorberRadius |
( |
G4double |
val | ) |
|
Definition at line 347 of file F01DetectorConstruction.cc.
350 fAbsorberRadius = val;
351 ComputeCalorParameters();
void ReinitializeGeometry(G4bool destroyFirst=false, G4bool prop=true)
static G4RunManager * GetRunManager()
void F01DetectorConstruction::SetAbsorberThickness |
( |
G4double |
val | ) |
|
Definition at line 337 of file F01DetectorConstruction.cc.
340 fAbsorberThickness = val;
341 ComputeCalorParameters();
void ReinitializeGeometry(G4bool destroyFirst=false, G4bool prop=true)
static G4RunManager * GetRunManager()
void F01DetectorConstruction::SetAbsorberZpos |
( |
G4double |
val | ) |
|
Definition at line 375 of file F01DetectorConstruction.cc.
378 ComputeCalorParameters();
void ReinitializeGeometry(G4bool destroyFirst=false, G4bool prop=true)
static G4RunManager * GetRunManager()
void F01DetectorConstruction::SetWorldMaterial |
( |
G4String |
materialChoice | ) |
|
Definition at line 317 of file F01DetectorConstruction.cc.
324 for (
size_t j=0 ; j<theMaterialTable->size() ; j++)
325 { material = (*theMaterialTable)[j];
326 if(material->
GetName() == materialChoice)
const G4String & GetName() const
static G4MaterialTable * GetMaterialTable()
std::vector< G4Material * > G4MaterialTable
void PhysicsHasBeenModified()
static G4RunManager * GetRunManager()
void SetMaterial(G4Material *pMaterial)
Definition at line 366 of file F01DetectorConstruction.cc.
369 ComputeCalorParameters();
void ReinitializeGeometry(G4bool destroyFirst=false, G4bool prop=true)
static G4RunManager * GetRunManager()
Definition at line 357 of file F01DetectorConstruction.cc.
360 ComputeCalorParameters();
void ReinitializeGeometry(G4bool destroyFirst=false, G4bool prop=true)
static G4RunManager * GetRunManager()
The documentation for this class was generated from the following files: