Ignore:
Timestamp:
Apr 20, 2009, 5:54:05 PM (15 years ago)
Author:
garnier
Message:

update to geant4.9.2

File:
1 edited

Legend:

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

    r1005 r1007  
    2424// ********************************************************************
    2525//
    26 // $Id: G4eeTo3PiModel.hh,v 1.2 2009/02/20 16:38:33 vnivanch 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 $
    2828//
    2929// -------------------------------------------------------------------
     
    6767  virtual ~G4eeTo3PiModel();
    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*>*,
     
    9696//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
    9797
     98inline G4double G4eeTo3PiModel::ThresholdEnergy() const
     99{
     100  return std::max(LowEnergy(),2.0*massPi + massPi0);
     101}
     102
     103//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
     104
     105inline 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
     114inline 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
    98122#endif
Note: See TracChangeset for help on using the changeset viewer.