- Timestamp:
- Apr 17, 2009, 12:17:14 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/processes/electromagnetic/highenergy/include/G4eeToTwoPiModel.hh
r961 r991 24 24 // ******************************************************************** 25 25 // 26 // $Id: G4eeToTwoPiModel.hh,v 1. 5 2009/02/20 16:38:33vnivanch Exp $27 // GEANT4 tag $Name: geant4-09-02 -ref-02$26 // $Id: G4eeToTwoPiModel.hh,v 1.4 2008/07/10 18:06:39 vnivanch Exp $ 27 // GEANT4 tag $Name: geant4-09-02 $ 28 28 // 29 29 // ------------------------------------------------------------------- … … 67 67 virtual ~G4eeToTwoPiModel(); 68 68 69 virtualG4double ThresholdEnergy() const;69 G4double ThresholdEnergy() const; 70 70 71 virtualG4double PeakEnergy() const;71 G4double PeakEnergy() const; 72 72 73 virtualG4double ComputeCrossSection(G4double) const;73 G4double ComputeCrossSection(G4double) const; 74 74 75 virtualG4PhysicsVector* PhysicsVector(G4double, G4double) const;75 G4PhysicsVector* PhysicsVector(G4double, G4double) const; 76 76 77 77 virtual void SampleSecondaries(std::vector<G4DynamicParticle*>*, … … 93 93 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo.... 94 94 95 inline G4double G4eeToTwoPiModel::ThresholdEnergy() const 96 { 97 return 2.0*massPi; 98 } 99 100 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo.... 101 102 inline G4double G4eeToTwoPiModel::PeakEnergy() const 103 { 104 return massRho; 105 } 106 107 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo.... 108 109 inline G4double G4eeToTwoPiModel::ComputeCrossSection(G4double e) const 110 { 111 G4double ee = std::min(HighEnergy(),e); 112 return cross->CrossSection2pi(ee); 113 } 114 115 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo.... 116 95 117 #endif
Note: See TracChangeset
for help on using the changeset viewer.