Geant4  v4-10.4-release
 모두 클래스 네임스페이스들 파일들 함수 변수 타입정의 열거형 타입 열거형 멤버 Friends 매크로 그룹들 페이지들
G4VEvaporationChannel.hh
이 파일의 문서화 페이지로 가기
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 98739 2016-08-09 12:56:55Z 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  explicit G4VEvaporationChannel(const G4String & aName = "");
55  virtual ~G4VEvaporationChannel();
56 
57  virtual G4double GetEmissionProbability(G4Fragment* theNucleus) = 0;
58 
59  // option definition
60  virtual void Initialise();
61 
62  // return level life time, by default zero
63  virtual G4double GetLifeTime(G4Fragment* theNucleus);
64 
65  // return emitted fragment, initial fragment is modified
66  // and not deleted
67  virtual G4Fragment* EmittedFragment(G4Fragment* theNucleus);
68 
69  // returns "true" if primary fragment is decayed and deleted
70  // returns "false" if primary fragment is modified but stay alive
71  // emitted fragments are added to the vector of results
72  virtual G4bool
73  BreakUpChain(G4FragmentVector* theResult, G4Fragment* theNucleus);
74 
75  // return vector of emitted fragments, initial fragment is modified
76  // but not included in this vector
77  inline G4FragmentVector* BreakUpFragment(G4Fragment* theNucleus);
78 
79  virtual void Dump() const;
80 
81  // enable internal conversion
82  virtual void SetICM(G4bool);
83 
84  // flag of the radioactive decay module
85  virtual void RDMForced(G4bool);
86 
87  // get energy of final level if this channel is photon evaporation
89 
90  // get energy of the upper level if this channel is photon evaporation
92 
93  // get energy of the upper level in level DB for any decay channel
95 
96  // get energy of nearest level for any decay channel
97  inline G4double GetNearestLevelEnergy(G4int Z, G4int A, G4double energy);
98 
99  // set pointer to photon evaporation in order to access level data
101 
102  // for cross section selection
103  inline void SetOPTxs(G4int opt);
104  // for superimposed Coulomb Barrier for inverse cross sections
105  inline void UseSICB(G4bool use);
106 
107 protected:
108 
111 
112 private:
113 
115  const G4VEvaporationChannel & operator=
116  (const G4VEvaporationChannel & right) = delete;
117  G4bool operator==(const G4VEvaporationChannel & right) const = delete;
118  G4bool operator!=(const G4VEvaporationChannel & right) const = delete;
119 
121 };
122 
123 inline G4FragmentVector*
125 {
126  G4FragmentVector* results = new G4FragmentVector();
127  BreakUpChain(results, theNucleus);
128  return results;
129 }
130 
131 
132 inline G4double
134 {
135  return (photonEvaporation) ?
137 }
138 
139 inline G4double
141 {
142  return (photonEvaporation) ?
144 }
145 
146 inline void
148 {
150 }
151 
153 {}
154 
156 {}
157 
158 #endif
virtual void Dump() const
const char * p
Definition: xmltok.h:285
G4bool operator==(const G4VEvaporationChannel &right) const =delete
virtual void RDMForced(G4bool)
G4FragmentVector * BreakUpFragment(G4Fragment *theNucleus)
G4bool operator!=(const G4VEvaporationChannel &right) const =delete
virtual G4double GetUpperLevelEnergy(G4int Z, G4int A)
Float_t Z
G4double GetMaxLevelEnergy(G4int Z, G4int A)
double G4double
Definition: G4Types.hh:76
bool G4bool
Definition: G4Types.hh:79
virtual G4double GetLifeTime(G4Fragment *theNucleus)
virtual G4bool BreakUpChain(G4FragmentVector *theResult, G4Fragment *theNucleus)
virtual G4double GetEmissionProbability(G4Fragment *theNucleus)=0
G4VEvaporationChannel(const G4String &aName="")
double energy
Definition: plottest35.C:25
double A(double temperature)
virtual void SetICM(G4bool)
int G4int
Definition: G4Types.hh:78
virtual G4double GetFinalLevelEnergy(G4int Z, G4int A, G4double energy)
void SetPhotonEvaporation(G4VEvaporationChannel *p)
virtual G4Fragment * EmittedFragment(G4Fragment *theNucleus)
G4double GetNearestLevelEnergy(G4int Z, G4int A, G4double energy)
std::vector< G4Fragment * > G4FragmentVector
Definition: G4Fragment.hh:63
G4VEvaporationChannel * photonEvaporation