| 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.8 2010/11/13 00:08:36 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 "G4VIntraNuclearTransportModel.hh"
|
|---|
| 49 | #include "G4KineticTrackVector.hh"
|
|---|
| 50 | #include "G4FragmentVector.hh"
|
|---|
| 51 | #include "G4ParticleChange.hh"
|
|---|
| 52 | #include "G4ReactionProductVector.hh"
|
|---|
| 53 | #include "G4ReactionProduct.hh"
|
|---|
| 54 |
|
|---|
| 55 | // INCL includes
|
|---|
| 56 | #include "G4InclDataDefs.hh"
|
|---|
| 57 | #include "G4AblaDataDefs.hh"
|
|---|
| 58 | #include "G4Incl.hh"
|
|---|
| 59 |
|
|---|
| 60 | // Geant4 de-excitation
|
|---|
| 61 | #include "G4ExcitationHandler.hh"
|
|---|
| 62 | #include "G4PreCompoundModel.hh"
|
|---|
| 63 |
|
|---|
| 64 | #include <fstream>
|
|---|
| 65 | #include <iostream>
|
|---|
| 66 |
|
|---|
| 67 | using namespace std;
|
|---|
| 68 |
|
|---|
| 69 | /**
|
|---|
| 70 | * Interface for INCL with Geant4 PreCompound de-excitation. This
|
|---|
| 71 | * interface handles basic light ion bullet particles from deuterons
|
|---|
| 72 | * up to carbon-12. @see G4InclAblaLightIonInterface
|
|---|
| 73 | */
|
|---|
| 74 |
|
|---|
| 75 | class G4InclLightIonInterface : public G4VIntraNuclearTransportModel {
|
|---|
| 76 |
|
|---|
| 77 | public:
|
|---|
| 78 | /**
|
|---|
| 79 | * Basic constructor.
|
|---|
| 80 | */
|
|---|
| 81 | G4InclLightIonInterface();
|
|---|
| 82 |
|
|---|
| 83 |
|
|---|
| 84 | G4int operator==(G4InclLightIonInterface& right) {
|
|---|
| 85 | return (this == &right);
|
|---|
| 86 | }
|
|---|
| 87 |
|
|---|
| 88 | G4int operator!=(G4InclLightIonInterface& right) {
|
|---|
| 89 | return (this != &right);
|
|---|
| 90 | }
|
|---|
| 91 |
|
|---|
| 92 | ~G4InclLightIonInterface(); // Destructor
|
|---|
| 93 |
|
|---|
| 94 | G4ReactionProductVector* Propagate(G4KineticTrackVector* theSecondaries, G4V3DNucleus* theNucleus); // Idle
|
|---|
| 95 |
|
|---|
| 96 | /**
|
|---|
| 97 | * Main method to apply the INCL physics model.
|
|---|
| 98 | * @param aTrack the projectile particle
|
|---|
| 99 | * @param theNucleus target nucleus
|
|---|
| 100 | * @return the output of the INCL physics model
|
|---|
| 101 | */
|
|---|
| 102 | G4HadFinalState* ApplyYourself(const G4HadProjectile& aTrack, G4Nucleus& theNucleus);
|
|---|
| 103 |
|
|---|
| 104 | private:
|
|---|
| 105 | G4int outputVerbosity;
|
|---|
| 106 | G4int verboseLevel;
|
|---|
| 107 |
|
|---|
| 108 | private:
|
|---|
| 109 | G4Hazard *hazard; // The random seeds used by INCL.
|
|---|
| 110 | G4VarNtp *varntp;
|
|---|
| 111 | G4InclInput *calincl;
|
|---|
| 112 | G4Ws *ws;
|
|---|
| 113 | G4Mat *mat;
|
|---|
| 114 | G4Incl *incl;
|
|---|
| 115 |
|
|---|
| 116 | G4HadFinalState theResult;
|
|---|
| 117 | ofstream diagdata;
|
|---|
| 118 |
|
|---|
| 119 | G4int eventNumber;
|
|---|
| 120 | G4double previousTargetA;
|
|---|
| 121 | G4double previousTargetZ;
|
|---|
| 122 | G4bool useProjectileSpectator;
|
|---|
| 123 | G4bool useFermiBreakup;
|
|---|
| 124 |
|
|---|
| 125 | G4ExcitationHandler *theExcitationHandler;
|
|---|
| 126 | G4PreCompoundModel *thePrecoModel;
|
|---|
| 127 | };
|
|---|
| 128 |
|
|---|
| 129 | #endif // G4INCLABLALIGHTIONINTERFACE_H
|
|---|