- Timestamp:
- Apr 6, 2009, 12:21:12 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/processes/electromagnetic/highenergy/include/G4eeToHadronsModel.hh
r819 r961 24 24 // ******************************************************************** 25 25 // 26 // $Id: G4eeToHadronsModel.hh,v 1. 6 2007/05/22 17:37:30vnivanch Exp $27 // GEANT4 tag $Name: $26 // $Id: G4eeToHadronsModel.hh,v 1.7 2008/07/10 18:06:38 vnivanch Exp $ 27 // GEANT4 tag $Name: geant4-09-02-ref-02 $ 28 28 // 29 29 // ------------------------------------------------------------------- … … 63 63 public: 64 64 65 G4eeToHadronsModel( constG4Vee2hadrons*, G4int ver=0,65 G4eeToHadronsModel(G4Vee2hadrons*, G4int ver=0, 66 66 const G4String& nam = "eeToHadrons"); 67 67 … … 69 69 70 70 virtual void Initialise(const G4ParticleDefinition*, const G4DataVector&); 71 72 G4double PeakEnergy() const;73 71 74 72 virtual G4double CrossSectionPerVolume(const G4Material*, … … 99 97 G4DynamicParticle* GenerateCMPhoton(G4double); 100 98 99 inline G4double PeakEnergy() const; 100 101 101 private: 102 102 … … 107 107 G4eeToHadronsModel(const G4eeToHadronsModel&); 108 108 109 const G4Vee2hadrons*model;109 G4Vee2hadrons* model; 110 110 G4ParticleDefinition* theGamma; 111 111 G4PhysicsVector* crossPerElectron; … … 133 133 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo.... 134 134 135 inline G4double G4eeToHadronsModel::CrossSectionPerVolume(136 const G4Material* mat,137 const G4ParticleDefinition* p,138 G4double kineticEnergy,139 G4double, G4double)140 {141 return mat->GetElectronDensity()*142 ComputeCrossSectionPerElectron(p, kineticEnergy);143 }144 145 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....146 147 inline G4double G4eeToHadronsModel::ComputeCrossSectionPerAtom(148 const G4ParticleDefinition* p,149 G4double kineticEnergy,150 G4double Z, G4double,151 G4double, G4double)152 {153 return Z*ComputeCrossSectionPerElectron(p, kineticEnergy);154 }155 156 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....157 158 135 #endif
Note: See TracChangeset
for help on using the changeset viewer.