Import Geant4 11.0.0 source tree

This commit is contained in:
Gabriele Cosmo
2021-12-10 14:46:44 +01:00
committed by Ben Morgan
parent 6399a014b6
commit 80e2389dd8
3932 changed files with 202519 additions and 246221 deletions
@@ -25,7 +25,8 @@
//
// -------------------------------------------------------------------
// -------------------------------------------------------------------
// History :
// 21/10/2021 DLa update to manage the change of material
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
#ifndef DetectorConstruction_h
@@ -45,6 +46,7 @@
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
class G4Region;
class DetectorMessenger;
class DetectorConstruction : public G4VUserDetectorConstruction
{
@@ -56,6 +58,16 @@ public:
G4VPhysicalVolume* Construct();
void SetSize (G4double);
void SetMaterial (const G4String&);
inline const G4VPhysicalVolume* GetWorld() const {return fPhysiWorld;};
inline G4double GetSize() const {return fBoxSize;};
inline const G4Material* GetMaterial() const {return fMaterial;};
void PrintParameters();
void DefineMaterials();
G4Region* GetTargetRegion() {return fRegion;}
private:
@@ -68,10 +80,16 @@ private:
G4LogicalVolume* fLogicWorld;
G4Box* fSolidWorld;
G4Material* fSiMaterial;
G4Material* fWorldMaterial;
G4LogicalVolume* flogicTarget;
G4Box* ftargetSolid;
G4double fBoxSize;
G4Material* fMaterial;
G4Region* fRegion;
void DefineMaterials();
DetectorMessenger* fDetectorMessenger;
G4VPhysicalVolume* ConstructDetector();
};