Ignore:
Timestamp:
Apr 17, 2009, 12:17:14 PM (15 years ago)
Author:
garnier
Message:

update

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/processes/electromagnetic/highenergy/include/G4eeToTwoPiModel.hh

    r961 r991  
    2424// ********************************************************************
    2525//
    26 // $Id: G4eeToTwoPiModel.hh,v 1.5 2009/02/20 16:38:33 vnivanch 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 $
    2828//
    2929// -------------------------------------------------------------------
     
    6767  virtual ~G4eeToTwoPiModel();
    6868
    69   virtual G4double ThresholdEnergy() const;
     69  G4double ThresholdEnergy() const;
    7070
    71   virtual G4double PeakEnergy() const;
     71  G4double PeakEnergy() const;
    7272
    73   virtual G4double ComputeCrossSection(G4double) const;
     73  G4double ComputeCrossSection(G4double) const;
    7474
    75   virtual G4PhysicsVector* PhysicsVector(G4double, G4double) const;
     75  G4PhysicsVector* PhysicsVector(G4double, G4double) const;
    7676
    7777  virtual void SampleSecondaries(std::vector<G4DynamicParticle*>*,
     
    9393//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
    9494
     95inline G4double G4eeToTwoPiModel::ThresholdEnergy() const
     96{
     97  return 2.0*massPi;
     98}
     99
     100//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
     101
     102inline G4double G4eeToTwoPiModel::PeakEnergy() const
     103{
     104  return massRho;
     105}
     106
     107//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
     108
     109inline 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
    95117#endif
Note: See TracChangeset for help on using the changeset viewer.