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 #ifndef G4DNATransformElectronModel_h
00040 #define G4DNATransformElectronModel_h 1
00041
00042 #include "G4VEmModel.hh"
00043
00044
00051 class G4DNATransformElectronModel: public G4VEmModel
00052 {
00053 public :
00054 G4DNATransformElectronModel(const G4ParticleDefinition* p = 0,
00055 const G4String& nam = "DNATransformElectronModel");
00056 virtual ~G4DNATransformElectronModel();
00057
00058 virtual void Initialise(const G4ParticleDefinition*, const G4DataVector&);
00059
00060 virtual G4double CrossSectionPerVolume( const G4Material* material,
00061 const G4ParticleDefinition* p,
00062 G4double ekin,
00063 G4double emin,
00064 G4double emax);
00065
00066 virtual void SampleSecondaries(std::vector<G4DynamicParticle*>*,
00067 const G4MaterialCutsCouple*,
00068 const G4DynamicParticle*,
00069 G4double tmin,
00070 G4double maxEnergy);
00071
00072 inline void SetVerbose(int);
00073
00074 inline void SetEpsilonEnergy(G4double);
00075
00076 protected:
00077
00078 G4ParticleChangeForGamma* fParticleChangeForGamma;
00079
00080 private:
00081
00082
00083 const std::vector<G4double>* fpWaterDensity;
00084
00085 G4bool fIsInitialised;
00086 G4int fVerboseLevel;
00087 G4double fEpsilon;
00088
00089 G4DNATransformElectronModel & operator=(const G4DNATransformElectronModel &right);
00090 G4DNATransformElectronModel(const G4DNATransformElectronModel&);
00091
00092 };
00093
00094 inline void G4DNATransformElectronModel::SetVerbose(int flag)
00095 {
00096 fVerboseLevel = flag ;
00097 }
00098
00099 inline void G4DNATransformElectronModel::SetEpsilonEnergy(G4double eps)
00100 {
00101 fEpsilon = eps ;
00102 }
00103
00104 #endif