Geant4  9.6.p02
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
G4Evaporation.hh
Go to the documentation of this file.
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$
27 //
28 // Hadronic Process: Nuclear De-excitations
29 // by V. Lara
30 //
31 //
32 // 14/02/2007 Alex Howard - added protection for negative probabilities in the sum
33 // 27/07/2009 V.Ivanchenko - added Combined decay channels (default + GEM)
34 // 11/05/2010 V.Ivanchenko - rewrited technical part do not "new" and "delete"
35 // of small objects
36 // 22/04/2011 V.Ivanchenko - added maxZ and maxA for FermiBreakUp model
37 // 23/01/2012 V.Ivanchenko added pointer of G4VPhotonEvaporation to the constructor
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"
48 #include <vector>
49 
51 class G4NistManager;
52 
54 {
55 public:
56 
57  G4Evaporation();
58  G4Evaporation(G4VEvaporationChannel* photoEvaporation);
59  //G4Evaporation(std::vector<G4VEvaporationChannel*>* aChannelsVector);
60 
61  virtual ~G4Evaporation();
62 
63  virtual void Initialise();
64 
65  G4FragmentVector * BreakItUp(const G4Fragment &theNucleus);
66 
67  void SetDefaultChannel();
68  void SetGEMChannel();
69  void SetCombinedChannel();
70 
72 
73 private:
74 
75  void CleanChannels();
76 
77  void SetParameters();
78 
79  void InitialiseEvaporation();
80 
82 
83  const G4Evaporation & operator=(const G4Evaporation &right);
84  G4bool operator==(const G4Evaporation &right) const;
85  G4bool operator!=(const G4Evaporation &right) const;
86 
87  std::vector<G4VEvaporationChannel*>* theChannels;
88  std::vector<G4double> probabilities;
89  G4VEvaporationFactory* theChannelFactory;
90  size_t nChannels;
91  G4int maxZforFBU;
92  G4int maxAforFBU;
93  G4double minExcitation;
94  G4NistManager* nist;
95  G4UnstableFragmentBreakUp unstableBreakUp;
96 
97 };
98 
99 #endif
100 
101 
102 
103 
104