00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035
00036
00037
00038
00039
00040
00041
00042
00043
00044
00045
00046
00047 #ifndef G4VContinuousDiscreteProcess_h
00048 #define G4VContinuousDiscreteProcess_h 1
00049
00050 #include "globals.hh"
00051 #include "G4ios.hh"
00052
00053 #include "G4VProcess.hh"
00054
00055 class G4VContinuousDiscreteProcess : public G4VProcess
00056 {
00057
00058
00059 public:
00060
00061 G4VContinuousDiscreteProcess(const G4String& ,
00062 G4ProcessType aType = fNotDefined );
00063 G4VContinuousDiscreteProcess(G4VContinuousDiscreteProcess &);
00064
00065 virtual ~G4VContinuousDiscreteProcess();
00066
00067 public :
00068 virtual G4double PostStepGetPhysicalInteractionLength(
00069 const G4Track& track,
00070 G4double previousStepSize,
00071 G4ForceCondition* condition
00072 );
00073
00074 virtual G4VParticleChange* PostStepDoIt(
00075 const G4Track& ,
00076 const G4Step&
00077 );
00078
00079 virtual G4double AlongStepGetPhysicalInteractionLength(
00080 const G4Track&,
00081 G4double previousStepSize,
00082 G4double currentMinimumStep,
00083 G4double& currentSafety,
00084 G4GPILSelection* selection
00085 );
00086
00087 virtual G4VParticleChange* AlongStepDoIt(
00088 const G4Track& ,
00089 const G4Step&
00090 );
00091
00092
00093 virtual G4double AtRestGetPhysicalInteractionLength(
00094 const G4Track& ,
00095 G4ForceCondition*
00096 ) { return -1.0; };
00097
00098
00099 virtual G4VParticleChange* AtRestDoIt(
00100 const G4Track& ,
00101 const G4Step&
00102 ) {return 0;};
00103
00104 protected:
00105 virtual G4double GetMeanFreePath(const G4Track& aTrack,
00106 G4double previousStepSize,
00107 G4ForceCondition* condition
00108 )=0;
00109
00110
00111
00112 protected:
00113 virtual G4double GetContinuousStepLimit(const G4Track& aTrack,
00114 G4double previousStepSize,
00115 G4double currentMinimumStep,
00116 G4double& currentSafety
00117 )=0;
00118 private:
00119
00120
00121 G4GPILSelection valueGPILSelection;
00122
00123 protected:
00124
00125 void SetGPILSelection(G4GPILSelection selection)
00126 { valueGPILSelection = selection;};
00127
00128 G4GPILSelection GetGPILSelection() const{return valueGPILSelection;};
00129
00130 private:
00131
00132 G4VContinuousDiscreteProcess();
00133 G4VContinuousDiscreteProcess & operator=(const G4VContinuousDiscreteProcess &right);
00134
00135 };
00136
00137 #endif
00138
00139
00140
00141
00142
00143