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: G4AblaEvaporation.hh,v 1.1 2007/09/11 13:18:42 miheikki Exp $ |
---|
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 | |
---|
38 | #include "G4Abla.hh" |
---|
39 | |
---|
40 | //#include "G4VCoulombBarrier.hh" |
---|
41 | |
---|
42 | //#define DEBUG |
---|
43 | |
---|
44 | /** |
---|
45 | * Geant4 interface to the ABLA evaporation code. |
---|
46 | */ |
---|
47 | |
---|
48 | class G4AblaEvaporation : public G4VEvaporation { |
---|
49 | public: |
---|
50 | /** |
---|
51 | * Constructor. |
---|
52 | */ |
---|
53 | G4AblaEvaporation(); |
---|
54 | |
---|
55 | /** |
---|
56 | * Destructor. |
---|
57 | */ |
---|
58 | ~G4AblaEvaporation(); |
---|
59 | |
---|
60 | private: |
---|
61 | G4AblaEvaporation(const G4AblaEvaporation &right); |
---|
62 | |
---|
63 | const G4AblaEvaporation & operator=(const G4AblaEvaporation &right); |
---|
64 | G4bool operator==(const G4AblaEvaporation &right) const; |
---|
65 | G4bool operator!=(const G4AblaEvaporation &right) const; |
---|
66 | void fillResult( std::vector<G4DynamicParticle *> secondaryParticleVector, |
---|
67 | G4FragmentVector * aResult ); |
---|
68 | |
---|
69 | public: |
---|
70 | |
---|
71 | /** |
---|
72 | * The method for calling |
---|
73 | */ |
---|
74 | G4FragmentVector * BreakItUp(const G4Fragment &theNucleus); |
---|
75 | |
---|
76 | void setVerboseLevel( const G4int verbose ); |
---|
77 | |
---|
78 | private: |
---|
79 | /** |
---|
80 | * Seeds for the random number generator. |
---|
81 | */ |
---|
82 | G4Hazard *hazard; |
---|
83 | |
---|
84 | /** |
---|
85 | * The verbosity of the interface class. |
---|
86 | */ |
---|
87 | G4int verboseLevel; |
---|
88 | |
---|
89 | /** |
---|
90 | * Event number used in the ABLA code. |
---|
91 | */ |
---|
92 | G4int eventNumber; |
---|
93 | |
---|
94 | // For Coulomb Barrier calculation |
---|
95 | // G4VCoulombBarrier * theCoulombBarrierPtr; |
---|
96 | G4double CoulombBarrier; |
---|
97 | |
---|
98 | #ifdef DEBUG |
---|
99 | |
---|
100 | #endif |
---|
101 | |
---|
102 | }; |
---|
103 | |
---|
104 | #endif |
---|