- Timestamp:
- Apr 17, 2009, 12:17:14 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/processes/electromagnetic/highenergy/src/G4eeToPGammaModel.cc
r968 r991 24 24 // ******************************************************************** 25 25 // 26 // $Id: G4eeToPGammaModel.cc,v 1. 2 2009/02/20 16:38:33vnivanch Exp $27 // GEANT4 tag $Name: geant4-09-02 -ref-02$26 // $Id: G4eeToPGammaModel.cc,v 1.1 2008/07/10 18:07:27 vnivanch Exp $ 27 // GEANT4 tag $Name: geant4-09-02 $ 28 28 // 29 29 // ------------------------------------------------------------------- … … 83 83 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo.... 84 84 85 G4double G4eeToPGammaModel::ThresholdEnergy() const86 {87 return LowEnergy();88 }89 90 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....91 92 G4double G4eeToPGammaModel::PeakEnergy() const93 {94 return massR;95 }96 97 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....98 99 G4double G4eeToPGammaModel::ComputeCrossSection(G4double e) const100 {101 G4double ee = std::min(HighEnergy(),e);102 G4double xs;103 if(particle == pi0) xs = cross->CrossSectionPi0G(ee);104 else xs = cross->CrossSectionEtaG(ee);105 return xs;106 }107 108 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....109 110 85 G4PhysicsVector* G4eeToPGammaModel::PhysicsVector(G4double emin, 111 86 G4double emax) const
Note: See TracChangeset
for help on using the changeset viewer.