Import Geant4 11.0.0.beta source tree

This commit is contained in:
Gabriele Cosmo
2021-06-25 16:12:29 +02:00
parent c968e26a39
commit 6399a014b6
4200 changed files with 207479 additions and 237366 deletions
@@ -48,4 +48,4 @@ class B1ActionInitialization : public G4VUserActionInitialization
#endif
@@ -45,7 +45,7 @@ class B1DetectorConstruction : public G4VUserDetectorConstruction
virtual ~B1DetectorConstruction();
virtual G4VPhysicalVolume* Construct();
G4LogicalVolume* GetScoringVolume() const { return fScoringVolume; }
protected:
+1 -1
View File
@@ -58,4 +58,4 @@ class B1EventAction : public G4UserEventAction
#endif
@@ -40,21 +40,21 @@ class G4Box;
/// The primary generator action class with particle gun.
///
/// The default kinematic is a 6 MeV gamma, randomly distribued
/// The default kinematic is a 6 MeV gamma, randomly distribued
/// in front of the phantom across 80% of the (X,Y) phantom size.
class B1PrimaryGeneratorAction : public G4VUserPrimaryGeneratorAction
{
public:
B1PrimaryGeneratorAction();
B1PrimaryGeneratorAction();
virtual ~B1PrimaryGeneratorAction();
// method from the base class
virtual void GeneratePrimaries(G4Event*);
virtual void GeneratePrimaries(G4Event*);
// method to access particle gun
const G4ParticleGun* GetParticleGun() const { return fParticleGun; }
private:
G4ParticleGun* fParticleGun; // pointer a to G4 gun class
G4Box* fEnvelopeBox;
+2 -2
View File
@@ -38,7 +38,7 @@ class G4Run;
/// Run action class
///
/// In EndOfRunAction(), it calculates the dose in the selected volume
/// In EndOfRunAction(), it calculates the dose in the selected volume
/// from the energy deposit accumulated via stepping and event actions.
/// The computed dose is then printed on the screen.
@@ -52,7 +52,7 @@ class B1RunAction : public G4UserRunAction
virtual void BeginOfRunAction(const G4Run*);
virtual void EndOfRunAction(const G4Run*);
void AddEdep (G4double edep);
void AddEdep (G4double edep);
private:
G4Accumulable<G4double> fEdep;
@@ -38,7 +38,7 @@ class B1EventAction;
class G4LogicalVolume;
/// Stepping action class
///
///
class B1SteppingAction : public G4UserSteppingAction
{