- Timestamp:
- Apr 20, 2009, 5:54:05 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/processes/electromagnetic/highenergy/include/G4eeTo3PiModel.hh
r1005 r1007 24 24 // ******************************************************************** 25 25 // 26 // $Id: G4eeTo3PiModel.hh,v 1. 2 2009/02/20 16:38:33vnivanch Exp $27 // GEANT4 tag $Name: geant4-09-02 -ref-02$26 // $Id: G4eeTo3PiModel.hh,v 1.1 2008/07/10 18:07:26 vnivanch Exp $ 27 // GEANT4 tag $Name: geant4-09-02 $ 28 28 // 29 29 // ------------------------------------------------------------------- … … 67 67 virtual ~G4eeTo3PiModel(); 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*>*, … … 96 96 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo.... 97 97 98 inline G4double G4eeTo3PiModel::ThresholdEnergy() const 99 { 100 return std::max(LowEnergy(),2.0*massPi + massPi0); 101 } 102 103 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo.... 104 105 inline G4double G4eeTo3PiModel::PeakEnergy() const 106 { 107 G4double e = massOm; 108 if(HighEnergy() > massPhi) e = massPhi; 109 return e; 110 } 111 112 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo.... 113 114 inline G4double G4eeTo3PiModel::ComputeCrossSection(G4double e) const 115 { 116 G4double ee = std::min(HighEnergy(),e); 117 return cross->CrossSection3pi(ee); 118 } 119 120 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo.... 121 98 122 #endif
Note: See TracChangeset
for help on using the changeset viewer.