[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 | // |
---|
| 26 | // |
---|
[1315] | 27 | // $Id: G4Evaporation.hh,v 1.12 2010/05/11 11:34:09 vnivanch Exp $ |
---|
[1347] | 28 | // GEANT4 tag $Name: geant4-09-04-ref-00 $ |
---|
[819] | 29 | // |
---|
| 30 | // Hadronic Process: Nuclear De-excitations |
---|
| 31 | // by V. Lara |
---|
| 32 | // |
---|
| 33 | // |
---|
[1315] | 34 | // 14/02/2007 Alex Howard - added protection for negative probabilities in the sum |
---|
| 35 | // 27/07/2009 V.Ivanchenko - added Combined decay channels (default + GEM) |
---|
| 36 | // 11/05/2010 V.Ivanchenko - rewrited technical part do not "new" and "delete" |
---|
| 37 | // of small objects |
---|
[819] | 38 | |
---|
| 39 | #ifndef G4Evaporation_h |
---|
| 40 | #define G4Evaporation_h 1 |
---|
| 41 | |
---|
| 42 | #include "globals.hh" |
---|
| 43 | |
---|
| 44 | #include "G4VEvaporation.hh" |
---|
| 45 | #include "G4VEvaporationChannel.hh" |
---|
| 46 | #include "G4Fragment.hh" |
---|
[1315] | 47 | #include "G4UnstableFragmentBreakUp.hh" |
---|
[819] | 48 | |
---|
| 49 | class G4VEvaporationFactory; |
---|
[1315] | 50 | class G4NistManager; |
---|
[819] | 51 | |
---|
| 52 | //#define debug |
---|
| 53 | |
---|
| 54 | class G4Evaporation : public G4VEvaporation |
---|
| 55 | { |
---|
| 56 | public: |
---|
| 57 | G4Evaporation(); |
---|
[1315] | 58 | G4Evaporation(std::vector<G4VEvaporationChannel*> * aChannelsVector); |
---|
[819] | 59 | |
---|
[1196] | 60 | virtual ~G4Evaporation(); |
---|
[819] | 61 | |
---|
[1315] | 62 | virtual void Initialise(); |
---|
| 63 | |
---|
[819] | 64 | private: |
---|
[1315] | 65 | |
---|
| 66 | void InitialiseEvaporation(); |
---|
| 67 | |
---|
[819] | 68 | G4Evaporation(const G4Evaporation &right); |
---|
| 69 | |
---|
| 70 | const G4Evaporation & operator=(const G4Evaporation &right); |
---|
| 71 | G4bool operator==(const G4Evaporation &right) const; |
---|
| 72 | G4bool operator!=(const G4Evaporation &right) const; |
---|
| 73 | |
---|
| 74 | public: |
---|
[1315] | 75 | |
---|
[819] | 76 | G4FragmentVector * BreakItUp(const G4Fragment &theNucleus); |
---|
| 77 | |
---|
| 78 | void SetDefaultChannel(); |
---|
| 79 | void SetGEMChannel(); |
---|
[1196] | 80 | void SetCombinedChannel(); |
---|
[819] | 81 | |
---|
| 82 | #ifdef debug |
---|
| 83 | void CheckConservation(const G4Fragment & theInitialState, |
---|
| 84 | G4FragmentVector * Result) const; |
---|
| 85 | #endif |
---|
| 86 | |
---|
| 87 | std::vector<G4VEvaporationChannel*> * theChannels; |
---|
[1315] | 88 | std::vector<G4double> probabilities; |
---|
[819] | 89 | G4VEvaporationFactory * theChannelFactory; |
---|
[1315] | 90 | G4int nChannels; |
---|
| 91 | G4double minExcitation; |
---|
| 92 | G4NistManager* nist; |
---|
| 93 | G4UnstableFragmentBreakUp unstableBreakUp; |
---|
[819] | 94 | |
---|
| 95 | }; |
---|
| 96 | |
---|
| 97 | #endif |
---|
| 98 | |
---|
| 99 | |
---|
| 100 | |
---|
| 101 | |
---|
| 102 | |
---|