Geant4  10.02.p01
G4VEvaporationChannel.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: G4VEvaporationChannel.hh 93357 2015-10-19 13:40:13Z gcosmo $
27 //
28 // Hadronic Process: Nuclear De-excitations
29 // by V. Lara (Oct 1998)
30 //
31 // Modified:
32 // 03.09.2008 (J.M.Quesada) for external choice of inverse cross section option
33 // 06.09.2008 (J.M.Quesada) external choices have been added for superimposed
34 // Coulomb barrier (if useSICB is set true, by default
35 // is false)
36 // 24.04.2010 (V.Ivanchenko) moved constructor and destructor to source; added
37 // two new virtual methods EmittedFragment(s) to allow
38 // more optimal work with G4Fragment objects
39 // 12.02.2013 (V.Ivanchenko) added virtual method GetLifeTime,
40 // enumerator G4EvaporationChannelType,
41 // which is defined in constructor of the class
42 //
43 
44 #ifndef G4VEvaporationChannel_h
45 #define G4VEvaporationChannel_h 1
46 
47 #include "globals.hh"
48 #include "G4Fragment.hh"
49 
51 {
52 public:
53 
54  G4VEvaporationChannel(const G4String & aName = "");
55  virtual ~G4VEvaporationChannel();
56 
57  // option definition
58  virtual void Initialise();
59 
60  // return level life time, by default zero
61  virtual G4double GetLifeTime(G4Fragment* theNucleus);
62 
63  // return emitted fragment, initial fragment is modified
64  // and not deleted
65  virtual G4Fragment* EmittedFragment(G4Fragment* theNucleus);
66 
67  // return vector of emitted fragments, initial fragment is modified
68  // but not included in this vector
69  virtual G4FragmentVector* BreakUpFragment(G4Fragment* theNucleus);
70 
71  // returns "true" if primary fragment is decayed and deleted
72  // returns "false" if primary fragment is modified but stay alive
73  // emitted fragments are added to the vector of results
74  virtual G4bool
75  BreakUpChain(G4FragmentVector* theResult, G4Fragment* theNucleus);
76 
77  // old method initial fragment is not modified, its copy included
78  // in the list of emitted fragments
79  virtual G4FragmentVector * BreakUp(const G4Fragment & theNucleus) = 0;
80 
81  virtual G4double GetEmissionProbability(G4Fragment* theNucleus) = 0;
82 
83  virtual void Dump() const;
84 
85  // enable internal conversion
86  virtual void SetICM (G4bool);
87 
88  // flag of the radioactive decay module
89  virtual void RDMForced (G4bool);
90 
91  // get energy of final level if this channel is photon evaporation
93 
94  // get energy of the upper level if this channel is photon evaporation
96 
97  // get energy of the upper level in level DB for any decay channel
99 
100  // get energy of nearest level for any decay channel
101  inline G4double GetNearestLevelEnergy(G4int Z, G4int A, G4double energy);
102 
103  // set pointer to photon evaporation in order to access level data
105 
106  // for cross section selection
107  inline void SetOPTxs(G4int opt);
108  // for superimposed Coulomb Barrier for inverse cross sections
109  inline void UseSICB(G4bool use);
110 
111 protected:
112 
115 
116 private:
117 
122 
124 };
125 
126 inline G4double
128 {
129  G4double E = energy;
130  if(photonEvaporation) {
132  }
133  return E;
134 }
135 
136 inline G4double
138 {
139  G4double E = 0.0;
140  if(photonEvaporation) {
142  }
143  return E;
144 }
145 
146 inline void
148 {
149  photonEvaporation = p;
150 }
151 
153 {
154  OPTxs = opt;
155 }
156 
158 {
159  useSICB = use;
160 }
161 
162 #endif
virtual void RDMForced(G4bool)
virtual G4FragmentVector * BreakUpFragment(G4Fragment *theNucleus)
virtual G4bool BreakUpChain(G4FragmentVector *theResult, G4Fragment *theNucleus)
G4bool operator==(const G4VEvaporationChannel &right) const
G4VEvaporationChannel(const G4String &aName="")
virtual G4double GetFinalLevelEnergy(G4int Z, G4int A, G4double energy)
virtual void SetICM(G4bool)
void SetPhotonEvaporation(G4VEvaporationChannel *p)
int G4int
Definition: G4Types.hh:78
virtual G4double GetUpperLevelEnergy(G4int Z, G4int A)
double A(double temperature)
bool G4bool
Definition: G4Types.hh:79
std::vector< G4Fragment * > G4FragmentVector
Definition: G4Fragment.hh:63
G4VEvaporationChannel * photonEvaporation
G4double GetNearestLevelEnergy(G4int Z, G4int A, G4double energy)
G4bool operator!=(const G4VEvaporationChannel &right) const
virtual G4FragmentVector * BreakUp(const G4Fragment &theNucleus)=0
virtual G4double GetLifeTime(G4Fragment *theNucleus)
G4double energy(const ThreeVector &p, const G4double m)
virtual G4Fragment * EmittedFragment(G4Fragment *theNucleus)
const G4VEvaporationChannel & operator=(const G4VEvaporationChannel &right)
G4double GetMaxLevelEnergy(G4int Z, G4int A)
double G4double
Definition: G4Types.hh:76
virtual G4double GetEmissionProbability(G4Fragment *theNucleus)=0
virtual void Dump() const