[819] | 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 | // |
---|
[1340] | 26 | // $Id: G4AblaEvaporation.hh,v 1.3 2010/10/26 02:47:59 kaitanie Exp $ |
---|
[819] | 27 | // Defines an interface to evaporation models of Bertini cascase (BERT) |
---|
| 28 | // based on INUCL code. |
---|
| 29 | // |
---|
| 30 | #ifndef G4ABLAEVAPORATION_h |
---|
| 31 | #define G4ABLAEVAPORATION_h 1 |
---|
| 32 | |
---|
| 33 | #include "globals.hh" |
---|
| 34 | #include "G4VEvaporation.hh" |
---|
| 35 | #include "G4Fragment.hh" |
---|
| 36 | #include "G4DynamicParticle.hh" |
---|
| 37 | #include "G4Abla.hh" |
---|
| 38 | |
---|
| 39 | //#include "G4VCoulombBarrier.hh" |
---|
| 40 | |
---|
| 41 | //#define DEBUG |
---|
| 42 | |
---|
| 43 | /** |
---|
| 44 | * Geant4 interface to the ABLA evaporation code. |
---|
| 45 | */ |
---|
| 46 | |
---|
| 47 | class G4AblaEvaporation : public G4VEvaporation { |
---|
| 48 | public: |
---|
| 49 | /** |
---|
| 50 | * Constructor. |
---|
| 51 | */ |
---|
| 52 | G4AblaEvaporation(); |
---|
| 53 | |
---|
| 54 | /** |
---|
| 55 | * Destructor. |
---|
| 56 | */ |
---|
| 57 | ~G4AblaEvaporation(); |
---|
| 58 | |
---|
| 59 | private: |
---|
| 60 | G4AblaEvaporation(const G4AblaEvaporation &right); |
---|
| 61 | |
---|
| 62 | const G4AblaEvaporation & operator=(const G4AblaEvaporation &right); |
---|
| 63 | G4bool operator==(const G4AblaEvaporation &right) const; |
---|
| 64 | G4bool operator!=(const G4AblaEvaporation &right) const; |
---|
| 65 | void fillResult( std::vector<G4DynamicParticle *> secondaryParticleVector, |
---|
| 66 | G4FragmentVector * aResult ); |
---|
| 67 | |
---|
| 68 | public: |
---|
| 69 | |
---|
| 70 | /** |
---|
| 71 | * The method for calling |
---|
| 72 | */ |
---|
| 73 | G4FragmentVector * BreakItUp(const G4Fragment &theNucleus); |
---|
| 74 | |
---|
| 75 | void setVerboseLevel( const G4int verbose ); |
---|
| 76 | |
---|
| 77 | private: |
---|
| 78 | /** |
---|
| 79 | * Seeds for the random number generator. |
---|
| 80 | */ |
---|
| 81 | G4Hazard *hazard; |
---|
| 82 | |
---|
| 83 | /** |
---|
| 84 | * The verbosity of the interface class. |
---|
| 85 | */ |
---|
| 86 | G4int verboseLevel; |
---|
| 87 | |
---|
| 88 | /** |
---|
| 89 | * Event number used in the ABLA code. |
---|
| 90 | */ |
---|
| 91 | G4int eventNumber; |
---|
| 92 | |
---|
| 93 | // For Coulomb Barrier calculation |
---|
| 94 | // G4VCoulombBarrier * theCoulombBarrierPtr; |
---|
| 95 | G4double CoulombBarrier; |
---|
| 96 | |
---|
[1340] | 97 | /** |
---|
| 98 | * ABLA evaporation |
---|
| 99 | */ |
---|
| 100 | G4Abla *abla; |
---|
| 101 | G4VarNtp *varntp; |
---|
| 102 | |
---|
[819] | 103 | #ifdef DEBUG |
---|
| 104 | |
---|
| 105 | #endif |
---|
| 106 | |
---|
| 107 | }; |
---|
| 108 | |
---|
| 109 | #endif |
---|