Import Geant4 11.2.0 source tree

This commit is contained in:
Gabriele Cosmo
2023-12-08 10:43:34 +01:00
parent dd1f179cda
commit 860a2b92bf
3962 changed files with 139318 additions and 164259 deletions
@@ -26,7 +26,6 @@
/// \file DetectorConstruction.hh
/// \brief Definition of the DetectorConstruction class
//
//
//
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
@@ -44,16 +43,16 @@ class DetectorConstruction : public G4VUserDetectorConstruction
public:
DetectorConstruction();
~DetectorConstruction();
~DetectorConstruction() override = default;
virtual G4VPhysicalVolume* Construct();
G4VPhysicalVolume* Construct() override;
G4double GetWorldSizeXY() {return fWorldSizeXY;};
G4double GetWorldSizeZ() {return fWorldSizeZ;};
private:
G4double fWorldSizeXY, fWorldSizeZ;
G4double fWorldSizeXY = 0., fWorldSizeZ = 0.;
};
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
@@ -26,7 +26,6 @@
/// \file PhysicsList.hh
/// \brief Definition of the PhysicsList class
//
//
//
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
@@ -42,14 +41,14 @@
class PhysicsList: public G4VUserPhysicsList
{
public:
PhysicsList();
~PhysicsList();
PhysicsList() = default;
~PhysicsList() override = default;
protected:
// Construct particle and physics
virtual void ConstructParticle();
virtual void ConstructProcess();
virtual void SetCuts();
void ConstructParticle() override;
void ConstructProcess() override;
void SetCuts() override;
};
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
@@ -26,7 +26,6 @@
/// \file PrimaryGenerator.hh
/// \brief Definition of the PrimaryGenerator class
//
//
//
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
@@ -43,11 +42,11 @@ class G4Event;
class PrimaryGenerator : public G4VPrimaryGenerator
{
public:
PrimaryGenerator();
~PrimaryGenerator();
PrimaryGenerator() = default;
~PrimaryGenerator() override = default;
public:
virtual void GeneratePrimaryVertex(G4Event*);
void GeneratePrimaryVertex(G4Event*) override;
};
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
@@ -26,7 +26,6 @@
/// \file PrimaryGeneratorAction.hh
/// \brief Definition of the PrimaryGeneratorAction class
//
//
//
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
@@ -45,13 +44,13 @@ class PrimaryGeneratorAction : public G4VUserPrimaryGeneratorAction
{
public:
PrimaryGeneratorAction();
~PrimaryGeneratorAction();
~PrimaryGeneratorAction() override;
public:
virtual void GeneratePrimaries(G4Event*);
void GeneratePrimaries(G4Event*) override;
private:
PrimaryGenerator* fPrimaryGenerator;
PrimaryGenerator* fPrimaryGenerator = nullptr;
};
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......