Geant4  10.02.p01
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 88849 2015-03-12 16:19:38Z 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  G4ReactionProductVector* BreakItUp(const G4Fragment &theInitialState);
72 
73  // user defined sub-models
74  // deletion is responsibility of this handler
75  void SetEvaporation(G4VEvaporation* ptr);
77  void SetFermiModel(G4VFermiBreakUp* ptr);
79 
80  // parameters of sub-models
82  void SetMaxAForFermiBreakUp(G4int anA);
84  void SetMinEForMultiFrag(G4double anE);
85 
86  // short model description used for automatic web documentation
87  void ModelDescription(std::ostream& outFile) const;
88 
89  // access methods
94 
95  // for inverse cross section choice
96  inline void SetOPTxs(G4int opt);
97  // for superimposed Coulomb Barrir for inverse cross sections
98  inline void UseSICB();
99 
100 private:
101 
102  void SetParameters();
103 
105  const G4ExcitationHandler & operator=(const G4ExcitationHandler &right);
106  G4bool operator==(const G4ExcitationHandler &right) const;
107  G4bool operator!=(const G4ExcitationHandler &right) const;
108 
113 
115 
120 
123 
127 
128  // list of fragments to store final result
129  std::vector<G4Fragment*> theResults;
130 
131  // list of fragments to store intermediate result
132  std::vector<G4Fragment*> results;
133 
134  // list of fragments to apply PhotonEvaporation
135  std::vector<G4Fragment*> thePhotoEvapList;
136 
137  // list of fragments to apply Evaporation or Fermi Break-Up
138  std::vector<G4Fragment*> theEvapList;
139 };
140 
142 {
143  return theEvaporation;
144 }
145 
147 {
148  return theMultiFragmentation;
149 }
150 
152 {
153  return theFermiModel;
154 }
155 
157 {
158  return thePhotonEvaporation;
159 }
160 
162 {
163  OPTxs = opt;
164  SetParameters();
165 }
166 
168 {
169  useSICB = true;
170  SetParameters();
171 }
172 
173 #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)