Ignore:
Timestamp:
May 28, 2009, 4:26:57 PM (15 years ago)
Author:
garnier
Message:

maj sur la beta de geant 4.9.3

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/processes/hadronic/models/management/src/G4InelasticInteraction.cc

    r1007 r1055  
    2424// ********************************************************************
    2525//
     26// $Id: G4InelasticInteraction.cc,v 1.12 2009/01/24 11:56:27 vnivanch Exp $
     27// GEANT4 tag $Name: geant4-09-03-beta-cand-01 $
    2628//
    27 //
    28  // Hadronic Process: Inelastic Interaction
    29  // original by H.P. Wellisch
    30  // modified by J.L. Chuma, TRIUMF, 22-Nov-1996
    31  // Last modified: 27-Mar-1997
    32  // J.P. Wellisch: 23-Apr-97: throw G4HadronicException(__FILE__, __LINE__,  removed
    33  // J.P. Wellisch: 24-Apr-97: correction for SetUpPions
    34  // Modified by J.L. Chuma, 30-Apr-97: added originalTarget to CalculateMomenta
    35  //                                    since TwoBody needed to reset the target particle
    36  // J.L. Chuma, 20-Jun-97: Modified CalculateMomenta to correct the decision process
    37  //                        for whether to use GenerateXandPt or TwoCluster
    38  // J.L. Chuma, 06-Aug-97: added original incident particle, before Fermi motion and
    39  //                        evaporation effects are included, needed for calculating
    40  //                        self absorption and corrections for single particle spectra
    41  // HPW removed misunderstanding of LocalEnergyDeposit, 11.04.98.
     29// Hadronic Process: Inelastic Interaction
     30// original by H.P. Wellisch
     31// modified by J.L. Chuma, TRIUMF, 22-Nov-1996
     32// Last modified: 27-Mar-1997
     33// J.P. Wellisch: 23-Apr-97: throw G4HadronicException(__FILE__, __LINE__,  removed
     34// J.P. Wellisch: 24-Apr-97: correction for SetUpPions
     35// Modified by J.L. Chuma, 30-Apr-97: added originalTarget to CalculateMomenta
     36//                                    since TwoBody needed to reset the target particle
     37// J.L. Chuma, 20-Jun-97: Modified CalculateMomenta to correct the decision process
     38//                        for whether to use GenerateXandPt or TwoCluster
     39// J.L. Chuma, 06-Aug-97: added original incident particle, before Fermi motion and
     40//                        evaporation effects are included, needed for calculating
     41//                        self absorption and corrections for single particle spectra
     42// HPW removed misunderstanding of LocalEnergyDeposit, 11.04.98.
     43// 23-Jan-2009 V.Ivanchenko move constructor and destructor to the body
    4244 
    4345#include "G4InelasticInteraction.hh"
    4446#include "Randomize.hh"
    4547#include "G4HadReentrentException.hh"
    46  
    47  G4double
     48
     49G4InelasticInteraction::G4InelasticInteraction(const G4String& modelName)
     50  : G4HadronicInteraction(modelName)
     51{ cache = 0.0;}
     52   
     53G4InelasticInteraction::~G4InelasticInteraction()
     54{}
     55 
     56G4double
    4857  G4InelasticInteraction::Pmltpc(      // used in Cascade functions
    4958   G4int np, G4int nm, G4int nz, G4int n, G4double b, G4double c )
     
    6372  }
    6473
    65  G4bool
     74G4bool
    6675  G4InelasticInteraction::MarkLeadingStrangeParticle(
    6776   const G4ReactionProduct &currentParticle,
     
    92101  }
    93102 
    94  void
     103void
    95104  G4InelasticInteraction::SetUpPions(
    96105   const G4int np,
     
    126135  }
    127136 
    128  void
     137void
    129138  G4InelasticInteraction::GetNormalizationConstant(
    130139   const G4double energy,  // MeV,  <0 means annihilation channels
     
    170179  }
    171180 
    172  void
     181void
    173182  G4InelasticInteraction::CalculateMomenta(
    174183   G4FastVector<G4ReactionProduct,GHADLISTSIZE> &vec,
     
    344353
    345354 
    346  void G4InelasticInteraction::
     355void G4InelasticInteraction::
    347356 Rotate(G4FastVector<G4ReactionProduct,GHADLISTSIZE> &vec, G4int &vecLen)
    348357 {
     
    358367 }     
    359368
    360  void
     369void
    361370  G4InelasticInteraction::SetUpChange(
    362371   G4FastVector<G4ReactionProduct,GHADLISTSIZE> &vec,
Note: See TracChangeset for help on using the changeset viewer.