Import Geant4 11.3.0.beta source tree
This commit is contained in:
@@ -33,10 +33,10 @@
|
||||
#ifndef StepMaxProcess_h
|
||||
#define StepMaxProcess_h 1
|
||||
|
||||
#include "globals.hh"
|
||||
#include "G4VDiscreteProcess.hh"
|
||||
#include "G4ParticleDefinition.hh"
|
||||
#include "G4Step.hh"
|
||||
#include "G4VDiscreteProcess.hh"
|
||||
#include "globals.hh"
|
||||
|
||||
class StepMaxMessenger;
|
||||
|
||||
@@ -45,35 +45,32 @@ class StepMaxMessenger;
|
||||
class StepMaxProcess : public G4VDiscreteProcess
|
||||
{
|
||||
public:
|
||||
|
||||
StepMaxProcess(const G4String& processName = "UserMaxStep",
|
||||
G4ProcessType type = fUserDefined);
|
||||
StepMaxProcess(const G4String& processName = "UserMaxStep", G4ProcessType type = fUserDefined);
|
||||
~StepMaxProcess() override;
|
||||
|
||||
G4bool IsApplicable(const G4ParticleDefinition&) override;
|
||||
G4bool IsApplicable(const G4ParticleDefinition&) override;
|
||||
|
||||
void SetMaxStep1(G4double);
|
||||
void ApplyMaxStep2(G4bool);
|
||||
void SetMaxStep1(G4double);
|
||||
void ApplyMaxStep2(G4bool);
|
||||
|
||||
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;
|
||||
G4VParticleChange* PostStepDoIt(const G4Track&, const G4Step&) override;
|
||||
|
||||
G4double GetMeanFreePath(const G4Track&,G4double,G4ForceCondition*) override
|
||||
{return DBL_MAX;};
|
||||
G4double GetMeanFreePath(const G4Track&, G4double, G4ForceCondition*) override
|
||||
{
|
||||
return DBL_MAX;
|
||||
};
|
||||
|
||||
private:
|
||||
G4double fMaxStep1 = 0.;
|
||||
G4double fMaxStep2 = 0.;
|
||||
G4bool fApplyMaxStep2 = true;
|
||||
|
||||
G4double fMaxStep1 = 0.;
|
||||
G4double fMaxStep2 = 0.;
|
||||
G4bool fApplyMaxStep2 = true;
|
||||
|
||||
StepMaxMessenger* fMess = nullptr;
|
||||
StepMaxMessenger* fMess = nullptr;
|
||||
};
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user