Ignore:
Timestamp:
Dec 22, 2010, 3:52:27 PM (13 years ago)
Author:
garnier
Message:

geant4 tag 9.4

File:
1 edited

Legend:

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

    r1340 r1347  
    2424// ********************************************************************
    2525//
    26 // $Id: G4InclCascadeInterface.hh,v 1.6 2010/10/26 02:47:59 kaitanie Exp $
     26// $Id: G4InclCascadeInterface.hh,v 1.8 2010/11/13 00:08:36 kaitanie Exp $
    2727// Translation of INCL4.2/ABLA V3
    2828// Pekka Kaitaniemi, HIP (translation)
     
    5959#include "G4AblaDataDefs.hh"
    6060#include "G4Incl.hh"
    61 #include "G4InclInput.hh"
     61
     62// Geant4 de-excitation
     63#include "G4ExcitationHandler.hh"
     64#include "G4PreCompoundModel.hh"
    6265
    6366#include <fstream>
     
    6770
    6871/**
     72 * <h1>INCL intra-nuclear cascade with Geant4 PreCompound for de-excitation</h1>
     73 *
    6974 * Interface for INCL. This interface handles basic hadron
    7075 * bullet particles (protons, neutrons, pions).
    71  * @see G4InclAblaLightIonInterface
     76 *
     77 * Example usage in case of protons:
     78 * @code
     79 * G4InclCascadeInterface* inclModel = new G4InclCascadeInterface;
     80 * inclModel -> SetMinEnergy(0.0 * MeV); // Set the energy limits
     81 * inclModel -> SetMaxEnergy(3.0 * GeV);
     82 *
     83 * G4ProtonInelasticProcess* protonInelasticProcess = new G4ProtonInelasticProcess();
     84 * G4ProtonInelasticCrossSection* protonInelasticCrossSection =  new G4ProtonInelasticCrossSection();
     85 *
     86 * protonInelasticProcess -> RegisterMe(inclModel);
     87 * protonInelasticProcess -> AddDataSet(protonInelasticCrossSection);
     88 *
     89 * particle = G4Proton::Proton();
     90 * processManager = particle -> GetProcessManager();
     91 * processManager -> AddDiscreteProcess(protonInelasticProcess);
     92 * @endcode
     93 * The same setup procedure is needed for neutron and pion inelastic processes
     94 * as well.
     95 *
     96 * @see G4InclLightIonInterface
    7297 */
    7398
     
    78103   * Basic constructor.
    79104   */
    80   G4InclCascadeInterface();
     105  G4InclCascadeInterface(const G4String& name = "INCL Cascade with Geant4 PreCompound");
    81106
    82107 
     
    94119
    95120  /**
    96    * Main method to apply the INCL/ABLA physics model.
     121   * Main method to apply the INCL physics model.
    97122   * @param aTrack the projectile particle
    98123   * @param theNucleus target nucleus
    99    * @return the output of the INCL/ABLA physics model
     124   * @return the output of the INCL physics model
    100125   */
    101126  G4HadFinalState* ApplyYourself(const G4HadProjectile& aTrack,  G4Nucleus& theNucleus);
     
    108133  G4Hazard *hazard; // The random seeds used by INCL.
    109134  G4VarNtp *varntp;
    110   G4InclInput *inclInput;
     135  G4InclInput *calincl;
    111136  G4Ws *ws;
    112137  G4Mat *mat;
    113138  G4Incl *incl;
    114  
     139
    115140  G4HadFinalState theResult; 
    116141  ofstream diagdata;
     
    119144  G4double previousTargetA;
    120145  G4double previousTargetZ;
     146
     147  G4ExcitationHandler *theExcitationHandler;
     148  G4PreCompoundModel *thePrecoModel;
    121149};
    122150
    123 #endif // G4INCLCASCADEINTERFACE_H
     151#endif // G4INCLABLACASCADEINTERFACE_H
Note: See TracChangeset for help on using the changeset viewer.