Ignore:
Timestamp:
Nov 25, 2009, 5:13:58 PM (16 years ago)
Author:
garnier
Message:

update CVS release candidate geant4.9.3.01

Location:
trunk/source/processes/hadronic/models/incl/include
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/processes/hadronic/models/incl/include/G4Incl.hh

    r962 r1196  
    2424// ********************************************************************
    2525//
    26 // $Id: G4Incl.hh,v 1.13 2008/06/25 17:20:04 kaitanie Exp $
     26// $Id: G4Incl.hh,v 1.15 2009/11/18 10:43:14 kaitanie Exp $
    2727// Translation of INCL4.2/ABLA V3
    2828// Pekka Kaitaniemi, HIP (translation)
     
    7878  ~G4Incl(); // Destructor
    7979
     80  void dumpParticles();
    8081  G4double energyTest(G4int i); // Test for NaN energy of particle i.
    8182  void dumpBl5(std::ofstream& dumpOut); // Dump the contents of G4Bl5.
     
    474475   * @return a double value
    475476   */
    476   G4double ref(G4double x1, G4double x2, G4double x3, G4double p1,
     477  G4double ref(G4double &x1, G4double &x2, G4double &x3, G4double p1,
    477478                 G4double p2, G4double p3, G4double E, G4double r2);
    478479
  • trunk/source/processes/hadronic/models/incl/include/G4InclAblaCascadeInterface.hh

    r819 r1196  
    2424// ********************************************************************
    2525//
    26 // $Id: G4InclAblaCascadeInterface.hh,v 1.6 2007/10/31 10:44:22 miheikki Exp $
     26// $Id: G4InclAblaCascadeInterface.hh,v 1.8 2009/11/18 10:43:14 kaitanie Exp $
    2727// Translation of INCL4.2/ABLA V3
    2828// Pekka Kaitaniemi, HIP (translation)
     
    6666
    6767/**
     68 * <h1>INCL intra-nuclear cascade with built-in ABLA de-excitation</h1>
     69 *
    6870 * Interface for INCL/ABLA. This interface handles basic hadron
    6971 * bullet particles (protons, neutrons, pions).
     72 *
     73 * Example usage in case of protons:
     74 * @code
     75 * G4InclAblaCascadeInterface* inclModel = new G4InclAblaCascadeInterface;
     76 * inclModel -> SetMinEnergy(0.0 * MeV); // Set the energy limits
     77 * inclModel -> SetMaxEnergy(3.0 * GeV);
     78 *
     79 * G4ProtonInelasticProcess* protonInelasticProcess = new G4ProtonInelasticProcess();
     80 * G4ProtonInelasticCrossSection* protonInelasticCrossSection =  new G4ProtonInelasticCrossSection();
     81 *
     82 * protonInelasticProcess -> RegisterMe(inclModel);
     83 * protonInelasticProcess -> AddDataSet(protonInelasticCrossSection);
     84 *
     85 * particle = G4Proton::Proton();
     86 * processManager = particle -> GetProcessManager();
     87 * processManager -> AddDiscreteProcess(protonInelasticProcess);
     88 * @endcode
     89 * The same setup procedure is needed for neutron and pion inelastic processes
     90 * as well.
     91 *
    7092 * @see G4InclAblaLightIonInterface
    7193 */
     
    7799   * Basic constructor.
    78100   */
    79   G4InclAblaCascadeInterface();
     101  G4InclAblaCascadeInterface(const G4String& name = "INCL/ABLA Cascade");
    80102
    81103 
  • trunk/source/processes/hadronic/models/incl/include/G4InclDataDefs.hh

    r962 r1196  
    2424// ********************************************************************
    2525//
    26 // $Id: G4InclDataDefs.hh,v 1.5 2008/06/25 17:20:04 kaitanie Exp $
     26// $Id: G4InclDataDefs.hh,v 1.7 2009/11/18 10:43:14 kaitanie Exp $
    2727// Translation of INCL4.2/ABLA V3
    2828// Pekka Kaitaniemi, HIP (translation)
     
    323323  ~G4Bl2() {};
    324324 
     325  void dump() {
     326    G4cout <<"Avatars: (number of avatars = " << k << ")" << G4endl;
     327    for(G4int i = 0; i <= k; i++) {
     328      G4cout <<"i = " << i << G4endl;
     329      G4cout <<"crois[" << i << "] = " << crois[i] << G4endl;
     330      G4cout <<"ind[" << i << "] = " << ind[i] << G4endl;
     331      G4cout <<"jnd[" << i << "] = " << jnd[i] << G4endl;
     332    }
     333  }
     334
    325335  /**
    326336   *
Note: See TracChangeset for help on using the changeset viewer.