#include <F03DetectorConstruction.hh>
Definition at line 55 of file F03DetectorConstruction.hh.
F03DetectorConstruction::F03DetectorConstruction |
( |
| ) |
|
Definition at line 60 of file F03DetectorConstruction.cc.
62 fDetectorMessenger(0),
63 fSolidWorld(0), fLogicWorld(0), fPhysiWorld(0),
64 fSolidAbsorber(0), fLogicAbsorber(0), fPhysiAbsorber(0),
65 fSolidRadSlice(0), fLogicRadSlice(0), fPhysiRadSlice(0),
66 fSolidRadiator(0), fLogicRadiator(0), fPhysiRadiator(0),
67 fWorldMaterial(0), fAbsorberMaterial(0), fRadiatorMat(0),
69 fWorldSizeR( 22000.*
mm),
70 fWorldSizeZ( 44000.*
mm),
71 fAbsorberThickness( 1.*
mm),
72 fAbsorberRadius( 20000.*
mm),
73 fZAbsorber( 21990.*
mm),
76 fRadThickness( 100.*
mm),
static constexpr double mm
G4VUserDetectorConstruction()
F03DetectorConstruction::~F03DetectorConstruction |
( |
| ) |
|
|
virtual |
void F03DetectorConstruction::ConstructSDandField |
( |
| ) |
|
|
virtual |
Reimplemented from G4VUserDetectorConstruction.
Definition at line 431 of file F03DetectorConstruction.cc.
435 if (!fCalorimeterSD.
Get()) {
437 fCalorimeterSD.
Put(calorimeterSD);
444 if (!fEmFieldSetup.
Get()) {
447 fEmFieldSetup.
Put(emFieldSetup);
G4FieldManager * GetLocalFieldManager()
void SetFieldManager(G4FieldManager *pFieldMgr, G4bool forceToAllDaughters)
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* F03DetectorConstruction::GetAbsorberMaterial |
( |
| ) |
|
|
inline |
G4double F03DetectorConstruction::GetAbsorberRadius |
( |
| ) |
|
|
inline |
G4double F03DetectorConstruction::GetAbsorberThickness |
( |
| ) |
|
|
inline |
G4double F03DetectorConstruction::GetAbsorberZpos |
( |
| ) |
|
|
inline |
G4Material* F03DetectorConstruction::GetWorldMaterial |
( |
| ) |
|
|
inline |
G4double F03DetectorConstruction::GetWorldSizeR |
( |
| ) |
|
|
inline |
G4double F03DetectorConstruction::GetWorldSizeZ |
( |
| ) |
|
|
inline |
G4double F03DetectorConstruction::GetZEndAbs |
( |
| ) |
|
|
inline |
G4double F03DetectorConstruction::GetZStartAbs |
( |
| ) |
|
|
inline |
void F03DetectorConstruction::PrintCalorParameters |
( |
| ) |
|
Definition at line 327 of file F03DetectorConstruction.cc.
329 G4cout <<
"\n The WORLD is made of "
330 << fWorldSizeZ/
mm <<
"mm of " << fWorldMaterial->
GetName();
331 G4cout <<
", the transverse size (R) of the world is "
332 << fWorldSizeR/
mm <<
" mm. " <<
G4endl;
333 G4cout <<
" The ABSORBER is made of "
334 << fAbsorberThickness/
mm <<
"mm of " << fAbsorberMaterial->
GetName();
335 G4cout <<
", the transverse size (R) is " << fAbsorberRadius/
mm
337 G4cout <<
" Z position of the (middle of the) absorber "
338 << fZAbsorber/
mm <<
" mm." <<
G4endl;
static constexpr double mm
const G4String & GetName() const
G4GLOB_DLL std::ostream G4cout
void F03DetectorConstruction::SetAbsorberMaterial |
( |
G4String |
materialChoice | ) |
|
Definition at line 344 of file F03DetectorConstruction.cc.
351 for (
size_t j=0 ; j<theMaterialTable->size() ; j++)
352 { material = (*theMaterialTable)[j];
353 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 F03DetectorConstruction::SetAbsorberRadius |
( |
G4double |
val | ) |
|
Definition at line 394 of file F03DetectorConstruction.cc.
397 fAbsorberRadius = val;
398 ComputeCalorParameters();
void ReinitializeGeometry(G4bool destroyFirst=false, G4bool prop=true)
static G4RunManager * GetRunManager()
void F03DetectorConstruction::SetAbsorberThickness |
( |
G4double |
val | ) |
|
Definition at line 384 of file F03DetectorConstruction.cc.
387 fAbsorberThickness = val;
388 ComputeCalorParameters();
void ReinitializeGeometry(G4bool destroyFirst=false, G4bool prop=true)
static G4RunManager * GetRunManager()
void F03DetectorConstruction::SetAbsorberZpos |
( |
G4double |
val | ) |
|
Definition at line 422 of file F03DetectorConstruction.cc.
425 ComputeCalorParameters();
void ReinitializeGeometry(G4bool destroyFirst=false, G4bool prop=true)
static G4RunManager * GetRunManager()
void F03DetectorConstruction::SetWorldMaterial |
( |
G4String |
materialChoice | ) |
|
Definition at line 364 of file F03DetectorConstruction.cc.
371 for (
size_t j=0 ; j<theMaterialTable->size() ; j++)
372 { material = (*theMaterialTable)[j];
373 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 413 of file F03DetectorConstruction.cc.
416 ComputeCalorParameters();
void ReinitializeGeometry(G4bool destroyFirst=false, G4bool prop=true)
static G4RunManager * GetRunManager()
Definition at line 404 of file F03DetectorConstruction.cc.
407 ComputeCalorParameters();
void ReinitializeGeometry(G4bool destroyFirst=false, G4bool prop=true)
static G4RunManager * GetRunManager()
The documentation for this class was generated from the following files: