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
@@ -38,7 +38,7 @@ class G4LogicalVolume;
/// Detector construction class to define materials and geometry.
///
/// Crystals are positioned in Ring, with an appropriate rotation matrix.
/// Crystals are positioned in Ring, with an appropriate rotation matrix.
/// Several copies of Ring are placed in the full detector.
class B3DetectorConstruction : public G4VUserDetectorConstruction
@@ -50,7 +50,7 @@ class B3DetectorConstruction : public G4VUserDetectorConstruction
public:
virtual G4VPhysicalVolume* Construct();
virtual void ConstructSDandField();
private:
void DefineMaterials();
@@ -39,20 +39,20 @@ class G4Event;
/// The primary generator action class with particle gum.
///
/// It defines an ion (F18), at rest, randomly distribued within a zone
/// in a patient defined in GeneratePrimaries(). Ion F18 can be changed
/// It defines an ion (F18), at rest, randomly distribued within a zone
/// in a patient defined in GeneratePrimaries(). Ion F18 can be changed
/// with the G4ParticleGun commands (see run2.mac).
class B3PrimaryGeneratorAction : public G4VUserPrimaryGeneratorAction
{
public:
B3PrimaryGeneratorAction();
B3PrimaryGeneratorAction();
virtual ~B3PrimaryGeneratorAction();
virtual void GeneratePrimaries(G4Event*);
virtual void GeneratePrimaries(G4Event*);
const G4ParticleGun* GetParticleGun() const { return fParticleGun; }
private:
G4ParticleGun* fParticleGun;
};
@@ -35,7 +35,7 @@
/// Stacking action class : manage the newly generated particles
///
/// One wishes do not track secondary neutrino.Therefore one kills it
/// One wishes do not track secondary neutrino.Therefore one kills it
/// immediately, before created particles will put in a stack.
class B3StackingAction : public G4UserStackingAction
@@ -43,8 +43,8 @@ class B3StackingAction : public G4UserStackingAction
public:
B3StackingAction();
virtual ~B3StackingAction();
virtual G4ClassificationOfNewTrack ClassifyNewTrack(const G4Track*);
virtual G4ClassificationOfNewTrack ClassifyNewTrack(const G4Track*);
};
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
@@ -52,4 +52,4 @@ class B3aActionInitialization : public G4VUserActionInitialization
#endif
@@ -37,8 +37,8 @@ class B3aRunAction;
/// Event action class
///
/// In EndOfEventAction() there is collected information event per event
/// from Hits Collections, and accumulated statistic for
/// In EndOfEventAction() there is collected information event per event
/// from Hits Collections, and accumulated statistic for
/// B3RunAction::EndOfRunAction().
class B3aEventAction : public G4UserEventAction
@@ -49,15 +49,15 @@ class B3aEventAction : public G4UserEventAction
virtual void BeginOfEventAction(const G4Event*);
virtual void EndOfEventAction(const G4Event*);
private:
B3aRunAction* fRunAction;
G4int fCollID_cryst;
G4int fCollID_patient;
G4int fCollID_patient;
};
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
#endif
@@ -41,16 +41,16 @@ class B3aRunAction : public G4UserRunAction
public:
B3aRunAction();
virtual ~B3aRunAction();
virtual void BeginOfRunAction(const G4Run*);
virtual void EndOfRunAction(const G4Run*);
void CountEvent() { fGoodEvents += 1; };
void SumDose(G4double dose) { fSumDose += dose; };
void SumDose(G4double dose) { fSumDose += dose; };
private:
G4Accumulable<G4int> fGoodEvents;
G4Accumulable<G4double> fSumDose;
G4Accumulable<G4double> fSumDose;
};
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......