Import Geant4 11.1.0 source tree
This commit is contained in:
@@ -48,4 +48,4 @@ class B1ConActionInitialization : public G4VUserActionInitialization
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -46,7 +46,7 @@ class B1ConRun : public B1Run
|
||||
|
||||
// method from the base class
|
||||
virtual void Merge(const G4Run*);
|
||||
virtual void AddEdep (G4double edep);
|
||||
virtual void AddEdep (G4double edep);
|
||||
|
||||
// get methods
|
||||
G4int GetNumberOfEvent() const { return (G4int)fEdepEventVector.size(); }
|
||||
|
||||
@@ -39,7 +39,7 @@ class G4LogicalVolume;
|
||||
|
||||
/// 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.
|
||||
|
||||
@@ -53,7 +53,7 @@ class B1ConRunAction : public G4UserRunAction
|
||||
virtual void BeginOfRunAction(const G4Run*);
|
||||
virtual void EndOfRunAction(const G4Run*);
|
||||
private:
|
||||
G4ConvergenceTester* fdose_tally;
|
||||
G4ConvergenceTester* fdose_tally;
|
||||
};
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
@@ -45,7 +45,7 @@ class B1DetectorConstruction : public G4VUserDetectorConstruction
|
||||
virtual ~B1DetectorConstruction();
|
||||
|
||||
virtual G4VPhysicalVolume* Construct();
|
||||
|
||||
|
||||
G4LogicalVolume* GetScoringVolume() const { return fScoringVolume; }
|
||||
|
||||
protected:
|
||||
|
||||
@@ -43,7 +43,7 @@ class B1EventAction : public G4UserEventAction
|
||||
public:
|
||||
B1EventAction();
|
||||
virtual ~B1EventAction();
|
||||
|
||||
|
||||
virtual void BeginOfEventAction(const G4Event* event);
|
||||
virtual void EndOfEventAction(const G4Event* event);
|
||||
|
||||
@@ -59,4 +59,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;
|
||||
|
||||
@@ -46,8 +46,8 @@ class B1Run : public G4Run
|
||||
|
||||
// method from the base class
|
||||
virtual void Merge(const G4Run*);
|
||||
|
||||
virtual void AddEdep (G4double edep);
|
||||
|
||||
virtual void AddEdep (G4double edep);
|
||||
|
||||
// get methods
|
||||
G4double GetEdep() const { return fEdep; }
|
||||
|
||||
@@ -38,7 +38,7 @@ class B1EventAction;
|
||||
class G4LogicalVolume;
|
||||
|
||||
/// Stepping action class
|
||||
///
|
||||
///
|
||||
|
||||
class B1SteppingAction : public G4UserSteppingAction
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user