Geant4  10.01.p02
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 85443 2014-10-29 14:35:57Z 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 
58 class G4VFermiBreakUp;
59 class G4VEvaporation;
62 class G4NistManager;
63 
65 {
66 public:
67 
70 
71 private:
72 
75  G4bool operator==(const G4ExcitationHandler &right) const;
76  G4bool operator!=(const G4ExcitationHandler &right) const;
77 
78 public:
79 
80  G4ReactionProductVector * BreakItUp(const G4Fragment &theInitialState);
81 
82  void SetEvaporation(G4VEvaporation* ptr);
83 
85 
86  void SetFermiModel(G4VFermiBreakUp* ptr);
87 
89 
91  void SetMaxAForFermiBreakUp(G4int anA);
93  void SetMinEForMultiFrag(G4double anE);
94 
95  void ModelDescription(std::ostream& outFile) const;
96 
97  // access methods
100  inline G4VFermiBreakUp* GetFermiModel();
102 
103  // for inverse cross section choice
104  inline void SetOPTxs(G4int opt);
105  // for superimposed Coulomb Barrir for inverse cross sections
106  inline void UseSICB();
107 
108 private:
109 
110  void SetParameters();
111 
113 
115 
117 
119 
121 
126 
129 
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  return theEvaporation;
150 }
151 
153 {
154  return theMultiFragmentation;
155 }
156 
158 {
159  return theFermiModel;
160 }
161 
163 {
164  return thePhotonEvaporation;
165 }
166 
168 {
169  OPTxs = opt;
170  SetParameters();
171 }
172 
174 {
175  useSICB = true;
176  SetParameters();
177 }
178 
179 #endif
const G4ExcitationHandler & operator=(const G4ExcitationHandler &right)
void ModelDescription(std::ostream &outFile) const
std::vector< G4Fragment * > theResults
G4bool operator!=(const G4ExcitationHandler &right) const
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)
G4bool operator==(const G4ExcitationHandler &right) const
G4VEvaporationChannel * thePhotonEvaporation
G4FermiFragmentsPool * thePool
G4VMultiFragmentation * theMultiFragmentation
G4VFermiBreakUp * theFermiModel
void SetMaxZForFermiBreakUp(G4int aZ)
void SetMaxAandZForFermiBreakUp(G4int anA, G4int aZ)
void SetEvaporation(G4VEvaporation *ptr)
G4VEvaporation * theEvaporation
void SetMaxAForFermiBreakUp(G4int anA)
double G4double
Definition: G4Types.hh:76
void SetPhotonEvaporation(G4VEvaporationChannel *ptr)