Geant4  10.03.p01
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
G4ExcitationHandler.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: G4ExcitationHandler.hh 102590 2017-02-09 10:13:30Z gcosmo $
27 //
28 // Hadronic Process: Nuclear De-excitations
29 // by V. Lara (May 1998)
30 //
31 // Modifications:
32 // 30 June 1998 by V. Lara:
33 // -Using G4ParticleTable and therefore G4IonTable
34 // it can return all kind of fragments produced in
35 // deexcitation
36 // -It uses default algorithms for:
37 // Evaporation: G4StatEvaporation
38 // MultiFragmentation: G4DummyMF (a dummy one)
39 // Fermi Breakup model: G4StatFermiBreakUp
40 //
41 // 03 September 2008 by J. M. Quesada for external choice of inverse
42 // cross section option
43 // 06 September 2008 JMQ Also external choices have been added for
44 // superimposed Coulomb barrier (if useSICBis set true, by default is false)
45 // 23 January 2012 by V.Ivanchenko remove obsolete data members; added access
46 // methods to deexcitation components
47 //
48 
49 #ifndef G4ExcitationHandler_h
50 #define G4ExcitationHandler_h 1
51 
52 #include "globals.hh"
53 #include "G4Fragment.hh"
55 #include "G4IonTable.hh"
56 #include "G4DeexPrecoParameters.hh"
57 
59 class G4VFermiBreakUp;
60 class G4VEvaporation;
62 class G4NistManager;
63 
65 {
66 public:
67 
68  explicit G4ExcitationHandler();
70 
71  G4ReactionProductVector* BreakItUp(const G4Fragment &theInitialState);
72 
73  // short model description used for automatic web documentation
74  void ModelDescription(std::ostream& outFile) const;
75 
76  void Initialise();
77 
78  // user defined sub-models
79  // deletion is responsibility of this handler if isLocal=true
80  void SetEvaporation(G4VEvaporation* ptr, G4bool isLocal=false);
82  void SetFermiModel(G4VFermiBreakUp* ptr);
85 
86  //======== Obsolete methods to be removed =====
87 
88  // parameters of sub-models
89  inline void SetMaxZForFermiBreakUp(G4int aZ);
90  inline void SetMaxAForFermiBreakUp(G4int anA);
91  inline void SetMaxAandZForFermiBreakUp(G4int anA,G4int aZ);
92  inline void SetMinEForMultiFrag(G4double anE);
93 
94  // access methods
99 
100  // for inverse cross section choice
101  inline void SetOPTxs(G4int opt);
102  // for superimposed Coulomb Barrir for inverse cross sections
103  inline void UseSICB();
104 
105  //==============================================
106 
107 private:
108 
109  void SetParameters();
110 
111  G4ExcitationHandler(const G4ExcitationHandler &right) = delete;
112  const G4ExcitationHandler & operator
113  =(const G4ExcitationHandler &right) = delete;
114  G4bool operator==(const G4ExcitationHandler &right) const = delete;
115  G4bool operator!=(const G4ExcitationHandler &right) const = delete;
116 
117  G4VEvaporation* theEvaporation;
118  G4VMultiFragmentation* theMultiFragmentation;
119  G4VFermiBreakUp* theFermiModel;
120  G4VEvaporationChannel* thePhotonEvaporation;
121 
122  G4int maxZForFermiBreakUp;
123  G4int maxAForFermiBreakUp;
124  G4double minEForMultiFrag;
125  G4double minExcitation;
126 
127  G4IonTable* theTableOfIons;
128  G4NistManager* nist;
129 
130  G4int fVerbose;
131  G4bool isInitialised;
132  G4bool isEvapLocal;
133 
134  // list of fragments to store final result
135  std::vector<G4Fragment*> theResults;
136 
137  // list of fragments to store intermediate result
138  std::vector<G4Fragment*> results;
139 
140  // list of fragments to apply PhotonEvaporation
141  std::vector<G4Fragment*> thePhotoEvapList;
142 
143  // list of fragments to apply Evaporation or Fermi Break-Up
144  std::vector<G4Fragment*> theEvapList;
145 };
146 
148 {
149  maxZForFermiBreakUp = aZ;
150 }
151 
153 {
154  maxAForFermiBreakUp = anA;
155 }
156 
158 {
161 }
162 
164 {
165  minEForMultiFrag = anE;
166 }
167 
169 {
170  return theEvaporation;
171 }
172 
174 {
175  return theMultiFragmentation;
176 }
177 
179 {
180  return theFermiModel;
181 }
182 
184 {
185  return thePhotonEvaporation;
186 }
187 
189 {}
190 
192 {}
193 
194 #endif
void ModelDescription(std::ostream &outFile) const
G4VEvaporationChannel * GetPhotonEvaporation()
void SetMinEForMultiFrag(G4double anE)
G4VEvaporation * GetEvaporation()
int G4int
Definition: G4Types.hh:78
G4ReactionProductVector * BreakItUp(const G4Fragment &theInitialState)
std::vector< G4ReactionProduct * > G4ReactionProductVector
G4VFermiBreakUp * GetFermiModel()
bool G4bool
Definition: G4Types.hh:79
void SetFermiModel(G4VFermiBreakUp *ptr)
G4VMultiFragmentation * GetMultiFragmentation()
void SetMultiFragmentation(G4VMultiFragmentation *ptr)
void SetEvaporation(G4VEvaporation *ptr, G4bool isLocal=false)
void SetMaxZForFermiBreakUp(G4int aZ)
void SetDeexChannelsType(G4DeexChannelType val)
void SetMaxAandZForFermiBreakUp(G4int anA, G4int aZ)
void SetMaxAForFermiBreakUp(G4int anA)
double G4double
Definition: G4Types.hh:76
void SetPhotonEvaporation(G4VEvaporationChannel *ptr)