Geant4  10.03
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 98808 2016-08-11 08:35:24Z 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 
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 
121 
126 
129 
132 
133  // list of fragments to store final result
134  std::vector<G4Fragment*> theResults;
135 
136  // list of fragments to store intermediate result
137  std::vector<G4Fragment*> results;
138 
139  // list of fragments to apply PhotonEvaporation
140  std::vector<G4Fragment*> thePhotoEvapList;
141 
142  // list of fragments to apply Evaporation or Fermi Break-Up
143  std::vector<G4Fragment*> theEvapList;
144 };
145 
147 {
148  maxZForFermiBreakUp = aZ;
149 }
150 
152 {
153  maxAForFermiBreakUp = anA;
154 }
155 
157 {
160 }
161 
163 {
164  minEForMultiFrag = anE;
165 }
166 
168 {
169  return theEvaporation;
170 }
171 
173 {
174  return theMultiFragmentation;
175 }
176 
178 {
179  return theFermiModel;
180 }
181 
183 {
184  return thePhotonEvaporation;
185 }
186 
188 {}
189 
191 {}
192 
193 #endif
void ModelDescription(std::ostream &outFile) const
std::vector< G4Fragment * > theResults
G4VEvaporationChannel * GetPhotonEvaporation()
void SetMinEForMultiFrag(G4double anE)
G4VEvaporation * GetEvaporation()
int G4int
Definition: G4Types.hh:78
G4ReactionProductVector * BreakItUp(const G4Fragment &theInitialState)
std::vector< G4Fragment * > results
std::vector< G4ReactionProduct * > G4ReactionProductVector
std::vector< G4Fragment * > thePhotoEvapList
G4VFermiBreakUp * GetFermiModel()
std::vector< G4Fragment * > theEvapList
bool G4bool
Definition: G4Types.hh:79
void SetFermiModel(G4VFermiBreakUp *ptr)
G4VMultiFragmentation * GetMultiFragmentation()
void SetMultiFragmentation(G4VMultiFragmentation *ptr)
G4VEvaporationChannel * thePhotonEvaporation
G4VMultiFragmentation * theMultiFragmentation
void SetEvaporation(G4VEvaporation *ptr, G4bool isLocal=false)
G4VFermiBreakUp * theFermiModel
void SetMaxZForFermiBreakUp(G4int aZ)
void SetDeexChannelsType(G4DeexChannelType val)
void SetMaxAandZForFermiBreakUp(G4int anA, G4int aZ)
G4VEvaporation * theEvaporation
G4bool operator==(const G4ExcitationHandler &right) const =delete
void SetMaxAForFermiBreakUp(G4int anA)
double G4double
Definition: G4Types.hh:76
G4bool operator!=(const G4ExcitationHandler &right) const =delete
void SetPhotonEvaporation(G4VEvaporationChannel *ptr)