Import Geant4 11.3.0.beta source tree

This commit is contained in:
Gabriele Cosmo
2024-06-28 13:08:51 +02:00
parent f7b23877ed
commit e58e650b32
5232 changed files with 239416 additions and 244360 deletions
@@ -33,10 +33,10 @@
#ifndef StepMax_h
#define StepMax_h 1
#include "globals.hh"
#include "G4VDiscreteProcess.hh"
#include "G4ParticleDefinition.hh"
#include "G4Step.hh"
#include "G4VDiscreteProcess.hh"
#include "globals.hh"
class StepMaxMessenger;
@@ -45,32 +45,28 @@ class StepMaxMessenger;
class StepMax : public G4VDiscreteProcess
{
public:
StepMax(const G4String& processName = "UserMaxStep");
~StepMax() override;
~StepMax() override;
G4bool IsApplicable(const G4ParticleDefinition&) override;
void SetMaxStep(G4double);
G4double GetMaxStep() {return fMaxChargedStep;};
G4double GetMaxStep() { return fMaxChargedStep; };
G4double PostStepGetPhysicalInteractionLength(const G4Track& track,
G4double previousStepSize,
G4ForceCondition* condition) override;
G4double PostStepGetPhysicalInteractionLength(const G4Track& track, G4double previousStepSize,
G4ForceCondition* condition) override;
G4VParticleChange* PostStepDoIt(const G4Track&, const G4Step&) override;
G4double GetMeanFreePath(const G4Track&,G4double,G4ForceCondition*) override;
G4double GetMeanFreePath(const G4Track&, G4double, G4ForceCondition*) override;
private:
G4double fMaxChargedStep = DBL_MAX;
G4double fMaxChargedStep = DBL_MAX;
StepMaxMessenger* fMess = nullptr;
StepMaxMessenger* fMess = nullptr;
};
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
#endif