Import Geant4 11.3.0.beta source tree
This commit is contained in:
+6
-9
@@ -26,7 +26,7 @@
|
||||
/// \file DetectorConstruction.hh
|
||||
/// \brief Definition of the DetectorConstruction class
|
||||
//
|
||||
//
|
||||
//
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
@@ -41,21 +41,18 @@
|
||||
class DetectorConstruction : public G4VUserDetectorConstruction
|
||||
{
|
||||
public:
|
||||
|
||||
DetectorConstruction();
|
||||
~DetectorConstruction() override = default;
|
||||
|
||||
~DetectorConstruction() override = default;
|
||||
|
||||
G4VPhysicalVolume* Construct() override;
|
||||
|
||||
G4double GetWorldSizeXY() {return fWorldSizeXY;};
|
||||
G4double GetWorldSizeZ() {return fWorldSizeZ;};
|
||||
|
||||
G4double GetWorldSizeXY() { return fWorldSizeXY; };
|
||||
G4double GetWorldSizeZ() { return fWorldSizeZ; };
|
||||
|
||||
private:
|
||||
|
||||
G4double fWorldSizeXY = 0., fWorldSizeZ = 0.;
|
||||
};
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
/// \file PhysicsList.hh
|
||||
/// \brief Definition of the PhysicsList class
|
||||
//
|
||||
//
|
||||
//
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
@@ -38,22 +38,19 @@
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
class PhysicsList: public G4VUserPhysicsList
|
||||
class PhysicsList : public G4VUserPhysicsList
|
||||
{
|
||||
public:
|
||||
PhysicsList() = default;
|
||||
~PhysicsList() override = default;
|
||||
~PhysicsList() override = default;
|
||||
|
||||
protected:
|
||||
// Construct particle and physics
|
||||
void ConstructParticle() override;
|
||||
void ConstructProcess() override;
|
||||
void SetCuts() override;
|
||||
void ConstructProcess() override;
|
||||
void SetCuts() override;
|
||||
};
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
/// \file PrimaryGenerator.hh
|
||||
/// \brief Definition of the PrimaryGenerator class
|
||||
//
|
||||
//
|
||||
//
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
@@ -42,8 +42,8 @@ class G4Event;
|
||||
class PrimaryGenerator : public G4VPrimaryGenerator
|
||||
{
|
||||
public:
|
||||
PrimaryGenerator() = default;
|
||||
~PrimaryGenerator() override = default;
|
||||
PrimaryGenerator() = default;
|
||||
~PrimaryGenerator() override = default;
|
||||
|
||||
public:
|
||||
void GeneratePrimaryVertex(G4Event*) override;
|
||||
|
||||
+3
-3
@@ -26,7 +26,7 @@
|
||||
/// \file PrimaryGeneratorAction.hh
|
||||
/// \brief Definition of the PrimaryGeneratorAction class
|
||||
//
|
||||
//
|
||||
//
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
@@ -43,8 +43,8 @@ class PrimaryGenerator;
|
||||
class PrimaryGeneratorAction : public G4VUserPrimaryGeneratorAction
|
||||
{
|
||||
public:
|
||||
PrimaryGeneratorAction();
|
||||
~PrimaryGeneratorAction() override;
|
||||
PrimaryGeneratorAction();
|
||||
~PrimaryGeneratorAction() override;
|
||||
|
||||
public:
|
||||
void GeneratePrimaries(G4Event*) override;
|
||||
|
||||
Reference in New Issue
Block a user