source: trunk/source/processes/hadronic/models/incl/include/G4InclLightIonInterface.hh @ 1340

Last change on this file since 1340 was 1340, checked in by garnier, 14 years ago

update ti head

File size: 4.1 KB
Line 
1//
2// ********************************************************************
3// * License and Disclaimer                                           *
4// *                                                                  *
5// * The  Geant4 software  is  copyright of the Copyright Holders  of *
6// * the Geant4 Collaboration.  It is provided  under  the terms  and *
7// * conditions of the Geant4 Software License,  included in the file *
8// * LICENSE and available at  http://cern.ch/geant4/license .  These *
9// * include a list of copyright holders.                             *
10// *                                                                  *
11// * Neither the authors of this software system, nor their employing *
12// * institutes,nor the agencies providing financial support for this *
13// * work  make  any representation or  warranty, express or implied, *
14// * regarding  this  software system or assume any liability for its *
15// * use.  Please see the license in the file  LICENSE  and URL above *
16// * for the full disclaimer and the limitation of liability.         *
17// *                                                                  *
18// * This  code  implementation is the result of  the  scientific and *
19// * technical work of the GEANT4 collaboration.                      *
20// * By using,  copying,  modifying or  distributing the software (or *
21// * any work based  on the software)  you  agree  to acknowledge its *
22// * use  in  resulting  scientific  publications,  and indicate your *
23// * acceptance of all terms of the Geant4 Software license.          *
24// ********************************************************************
25//
26// $Id: G4InclLightIonInterface.hh,v 1.6 2010/10/26 02:47:59 kaitanie Exp $
27// Translation of INCL4.2/ABLA V3
28// Pekka Kaitaniemi, HIP (translation)
29// Christelle Schmidt, IPNL (fission code)
30// Alain Boudard, CEA (contact person INCL/ABLA)
31// Aatos Heikkinen, HIP (project coordination)
32
33
34// CLASS DESCRIPTION
35// This class is a preliminary interface code for INCL4 cascade and
36// ABLA evaporation codes. This class is intended to be used as an
37// interface for colliding light ions (deuterons, tritons, he3 and
38// alphas) to nuclei.
39
40// This class was created by Pekka Kaitaniemi
41// (kaitanie@cc.helsinki.fi) , Helsinki Institute of Physics using
42// G4CascadeInterface as a template.
43
44
45#ifndef G4INCLLIGHTIONINTERFACE_H
46#define G4INCLLIGHTIONINTERFACE_H 1
47
48#include "G4Nucleon.hh"
49#include "G4Nucleus.hh"
50#include "G4HadronicInteraction.hh"
51#include "G4VIntraNuclearTransportModel.hh"
52#include "G4KineticTrackVector.hh"
53#include "G4FragmentVector.hh"
54#include "G4ParticleChange.hh"
55#include "G4ReactionProductVector.hh"
56#include "G4ReactionProduct.hh"
57
58// INCL includes
59#include "G4InclDataDefs.hh"
60#include "G4AblaDataDefs.hh"
61#include "G4Incl.hh"
62
63#include <fstream>
64#include <iostream>
65
66using namespace std;
67
68/**
69 * Interface for INCL. This interface handles basic light ion
70 * bullet particles (deuterons, tritons, he3 and alphas).
71 * @see G4InclAblaLightIonInterface
72 */
73
74class G4InclLightIonInterface : public G4VIntraNuclearTransportModel {
75
76public:
77  /**
78   * Basic constructor.
79   */
80  G4InclLightIonInterface();
81
82 
83  G4int operator==(G4InclLightIonInterface& right) {
84    return (this == &right);
85  }
86
87  G4int operator!=(G4InclLightIonInterface& right) {
88    return (this != &right);
89  }
90
91  ~G4InclLightIonInterface(); // Destructor
92
93  G4ReactionProductVector* Propagate(G4KineticTrackVector* theSecondaries, G4V3DNucleus* theNucleus); // Idle
94
95  /**
96   * Main method to apply the INCL/ABLA physics model.
97   * @param aTrack the projectile particle
98   * @param theNucleus target nucleus
99   * @return the output of the INCL/ABLA physics model
100   */
101  G4HadFinalState* ApplyYourself(const G4HadProjectile& aTrack,  G4Nucleus& theNucleus); 
102
103private:
104  G4int outputVerbosity;
105  G4int verboseLevel;
106
107private:
108  G4Hazard *hazard; // The random seeds used by INCL.
109  G4VarNtp *varntp;
110  G4InclInput *calincl;
111  G4Ws *ws;
112  G4Mat *mat;
113  G4Incl *incl;
114
115  G4HadFinalState theResult; 
116  ofstream diagdata;
117
118  G4int eventNumber;
119  G4double previousTargetA;
120  G4double previousTargetZ;
121};
122
123#endif // G4INCLLIGHTIONINTERFACE_H
Note: See TracBrowser for help on using the repository browser.