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/G4eeToPGammaModel.hh

    r966 r991  
    2424// ********************************************************************
    2525//
    26 // $Id: G4eeToPGammaModel.hh,v 1.2 2009/02/20 16:38:33 vnivanch Exp $
    27 // GEANT4 tag $Name: geant4-09-02-ref-02 $
     26// $Id: G4eeToPGammaModel.hh,v 1.1 2008/07/10 18:07:26 vnivanch Exp $
     27// GEANT4 tag $Name: geant4-09-02 $
    2828//
    2929// -------------------------------------------------------------------
     
    6868  virtual ~G4eeToPGammaModel();
    6969
    70   virtual G4double ThresholdEnergy() const;
     70  G4double ThresholdEnergy() const;
    7171
    72   virtual G4double PeakEnergy() const;
     72  G4double PeakEnergy() const;
    7373
    74   virtual G4double ComputeCrossSection(G4double) const;
     74  G4double ComputeCrossSection(G4double) const;
    7575
    76   virtual G4PhysicsVector* PhysicsVector(G4double, G4double) const;
     76  G4PhysicsVector* PhysicsVector(G4double, G4double) const;
    7777
    7878  virtual void SampleSecondaries(std::vector<G4DynamicParticle*>*,
     
    9797//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
    9898
     99inline G4double G4eeToPGammaModel::ThresholdEnergy() const
     100{
     101  return LowEnergy();
     102}
     103
     104//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
     105
     106inline G4double G4eeToPGammaModel::PeakEnergy() const
     107{
     108  return massR;
     109}
     110
     111//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
     112
     113inline G4double G4eeToPGammaModel::ComputeCrossSection(G4double e) const
     114{
     115  G4double ee = std::min(HighEnergy(),e);
     116  G4double xs;
     117  if(particle == pi0) xs = cross->CrossSectionPi0G(ee);
     118  else                xs = cross->CrossSectionEtaG(ee);
     119  return xs;
     120}
     121
     122//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
     123
    99124#endif
Note: See TracChangeset for help on using the changeset viewer.