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
00048
00049
00050 #ifndef G4EmMultiModel_h
00051 #define G4EmMultiModel_h 1
00052
00053 #include "globals.hh"
00054 #include "G4VEmModel.hh"
00055 #include <vector>
00056
00057 class G4Region;
00058 class G4PhysicsTable;
00059 class G4DynamicParticle;
00060
00061 class G4EmMultiModel : public G4VEmModel
00062 {
00063
00064 public:
00065
00066 G4EmMultiModel(const G4String& nam = "MultiModel");
00067
00068 virtual ~G4EmMultiModel();
00069
00070 void Initialise(const G4ParticleDefinition*, const G4DataVector&);
00071
00072 G4double MinEnergyCut(const G4ParticleDefinition*,
00073 const G4MaterialCutsCouple*);
00074
00075
00076 G4double ComputeDEDX(const G4MaterialCutsCouple*,
00077 const G4ParticleDefinition*,
00078 G4double kineticEnergy,
00079 G4double cutEnergy);
00080
00081 G4double CrossSection(const G4MaterialCutsCouple*,
00082 const G4ParticleDefinition*,
00083 G4double kineticEnergy,
00084 G4double cutEnergy,
00085 G4double maxEnergy);
00086
00087 void SampleSecondaries(std::vector<G4DynamicParticle*>*,
00088 const G4MaterialCutsCouple*,
00089 const G4DynamicParticle*,
00090 G4double tmin,
00091 G4double tmax);
00092
00093 void DefineForRegion(const G4Region*);
00094
00095 void AddModel(G4VEmModel*, G4double tmin, G4double tmax);
00096
00097 protected:
00098
00099 G4double MaxSecondaryEnergy(const G4ParticleDefinition*,
00100 G4double kineticEnergy);
00101
00102 private:
00103
00104
00105 G4EmMultiModel & operator=(const G4EmMultiModel &right);
00106 G4EmMultiModel(const G4EmMultiModel&);
00107
00108 G4int nModels;
00109 std::vector<G4VEmModel*> model;
00110 G4DataVector tsecmin;
00111 G4DataVector cross_section;
00112
00113 };
00114
00115 #endif
00116