[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 | // |
---|
[962] | 26 | //J.M. Quesada (August2008). Based on: |
---|
[819] | 27 | // |
---|
| 28 | // Hadronic Process: Nuclear De-excitations |
---|
| 29 | // by V. Lara (Oct 1998) |
---|
| 30 | // |
---|
| 31 | |
---|
| 32 | |
---|
| 33 | #ifndef G4EvaporationChannel_h |
---|
| 34 | #define G4EvaporationChannel_h 1 |
---|
| 35 | |
---|
| 36 | #include "G4VEvaporationChannel.hh" |
---|
| 37 | #include "G4VEmissionProbability.hh" |
---|
| 38 | #include "G4EvaporationProbability.hh" |
---|
[962] | 39 | #include "G4NeutronEvaporationProbability.hh" |
---|
| 40 | #include "G4ProtonEvaporationProbability.hh" |
---|
| 41 | #include "G4DeuteronEvaporationProbability.hh" |
---|
| 42 | #include "G4TritonEvaporationProbability.hh" |
---|
| 43 | #include "G4He3EvaporationProbability.hh" |
---|
| 44 | #include "G4AlphaEvaporationProbability.hh" |
---|
[819] | 45 | #include "G4VLevelDensityParameter.hh" |
---|
| 46 | #include "G4VCoulombBarrier.hh" |
---|
| 47 | #include "G4EvaporationLevelDensityParameter.hh" |
---|
| 48 | #include "G4NucleiProperties.hh" |
---|
| 49 | #include "Randomize.hh" |
---|
| 50 | #include "G4ParticleTable.hh" |
---|
| 51 | #include "G4IonTable.hh" |
---|
| 52 | |
---|
| 53 | |
---|
| 54 | class G4EvaporationChannel : public G4VEvaporationChannel |
---|
| 55 | { |
---|
| 56 | public: |
---|
[962] | 57 | // constructor |
---|
[819] | 58 | |
---|
[962] | 59 | |
---|
[819] | 60 | G4EvaporationChannel(const G4int theA, const G4int theZ, const G4String & aName, |
---|
| 61 | G4VEmissionProbability * aEmissionStrategy, |
---|
[962] | 62 | G4VCoulombBarrier * aCoulombBarrier); |
---|
[819] | 63 | public: |
---|
| 64 | // destructor |
---|
| 65 | ~G4EvaporationChannel(); |
---|
| 66 | |
---|
| 67 | void SetEmissionStrategy(G4VEmissionProbability * aEmissionStrategy) |
---|
| 68 | {theEvaporationProbabilityPtr = aEmissionStrategy;} |
---|
[962] | 69 | |
---|
[819] | 70 | void SetCoulombBarrierStrategy(G4VCoulombBarrier * aCoulombBarrier) |
---|
| 71 | {theCoulombBarrierPtr = aCoulombBarrier;} |
---|
| 72 | |
---|
[962] | 73 | |
---|
| 74 | |
---|
[819] | 75 | protected: |
---|
| 76 | // default constructor |
---|
| 77 | G4EvaporationChannel() {}; |
---|
| 78 | |
---|
| 79 | private: |
---|
| 80 | // copy constructor |
---|
| 81 | G4EvaporationChannel(const G4EvaporationChannel & right); |
---|
| 82 | |
---|
| 83 | private: |
---|
| 84 | const G4EvaporationChannel & operator=(const G4EvaporationChannel & right); |
---|
| 85 | |
---|
| 86 | public: |
---|
| 87 | G4bool operator==(const G4EvaporationChannel & right) const; |
---|
| 88 | G4bool operator!=(const G4EvaporationChannel & right) const; |
---|
| 89 | |
---|
| 90 | public: |
---|
| 91 | void Initialize(const G4Fragment & fragment); |
---|
| 92 | |
---|
| 93 | G4FragmentVector * BreakUp(const G4Fragment & theNucleus); |
---|
| 94 | |
---|
[962] | 95 | // void SetLevelDensityParameter(G4VLevelDensityParameter * aLevelDensity); |
---|
| 96 | |
---|
[819] | 97 | public: |
---|
| 98 | |
---|
| 99 | |
---|
| 100 | inline G4double GetEmissionProbability(void) const |
---|
| 101 | {return EmissionProbability;} |
---|
| 102 | |
---|
| 103 | |
---|
| 104 | inline G4double GetMaximalKineticEnergy(void) const |
---|
| 105 | { return MaximalKineticEnergy; } |
---|
| 106 | |
---|
| 107 | private: |
---|
| 108 | |
---|
| 109 | // Calculate Binding Energy for separate fragment from nucleus |
---|
| 110 | G4double CalcBindingEnergy(const G4int anA, const G4int aZ); |
---|
| 111 | |
---|
| 112 | // Calculate maximal kinetic energy that can be carried by fragment (in MeV) |
---|
| 113 | G4double CalcMaximalKineticEnergy(const G4double U); |
---|
| 114 | |
---|
| 115 | // Samples fragment kinetic energy. |
---|
[962] | 116 | G4double GetKineticEnergy(const G4Fragment & aFragment); |
---|
[819] | 117 | |
---|
| 118 | // This has to be removed and put in Random Generator |
---|
| 119 | G4ThreeVector IsotropicVector(const G4double Magnitude = 1.0); |
---|
| 120 | |
---|
| 121 | // Data Members |
---|
| 122 | // ************ |
---|
| 123 | private: |
---|
| 124 | |
---|
| 125 | // This data member define the channel. |
---|
| 126 | // They are intializated at object creation (constructor) time. |
---|
| 127 | |
---|
[962] | 128 | // Atomic Number of ejectile |
---|
| 129 | G4int theA; |
---|
[819] | 130 | |
---|
[962] | 131 | // Charge of ejectile |
---|
| 132 | G4int theZ; |
---|
[819] | 133 | |
---|
| 134 | |
---|
[962] | 135 | // For evaporation probability calcualation |
---|
[819] | 136 | G4VEmissionProbability * theEvaporationProbabilityPtr; |
---|
| 137 | |
---|
| 138 | // For Level Density calculation |
---|
[962] | 139 | // G4bool MyOwnLevelDensity; |
---|
[819] | 140 | G4VLevelDensityParameter * theLevelDensityPtr; |
---|
[962] | 141 | |
---|
| 142 | |
---|
[819] | 143 | // For Coulomb Barrier calculation |
---|
| 144 | G4VCoulombBarrier * theCoulombBarrierPtr; |
---|
| 145 | G4double CoulombBarrier; |
---|
[962] | 146 | |
---|
| 147 | |
---|
[819] | 148 | //--------------------------------------------------- |
---|
| 149 | |
---|
| 150 | // These values depend on the nucleus that is being evaporated. |
---|
| 151 | // They are calculated through the Initialize method which takes as parameters |
---|
| 152 | // the atomic number, charge and excitation energy of nucleus. |
---|
| 153 | |
---|
[962] | 154 | // Residual Mass Number |
---|
| 155 | G4int ResidualA; |
---|
[819] | 156 | |
---|
| 157 | // Residual Charge |
---|
[962] | 158 | G4int ResidualZ; |
---|
[819] | 159 | |
---|
| 160 | // Emission Probability |
---|
| 161 | G4double EmissionProbability; |
---|
| 162 | |
---|
| 163 | |
---|
| 164 | // Maximal Kinetic Energy that can be carried by fragment |
---|
| 165 | G4double MaximalKineticEnergy; |
---|
[962] | 166 | |
---|
| 167 | |
---|
[819] | 168 | }; |
---|
| 169 | |
---|
| 170 | |
---|
| 171 | #endif |
---|