Geant4  v4-10.4-release
 모두 클래스 네임스페이스들 파일들 함수 변수 타입정의 열거형 타입 열거형 멤버 Friends 매크로 그룹들 페이지들
G4PhotonEvaporation.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: G4PhotonEvaporation.hh 106723 2017-10-20 09:50:34Z gcosmo $
27 //
28 // -------------------------------------------------------------------
29 //
30 // GEANT4 class file
31 //
32 // CERN, Geneva, Switzerland
33 //
34 // File name: G4PhotonEvaporation
35 //
36 // Author: Vladimir Ivantchenko
37 //
38 // Creation date: 22 October 2015
39 //
40 //Modifications:
41 //
42 //
43 // -------------------------------------------------------------------
44 //
45 // This is a new class which has different design and uses different data
46 // structure than the old one
47 //
48 
49 #ifndef G4PHOTONEVAPORATION_HH
50 #define G4PHOTONEVAPORATION_HH 1
51 
52 #include "globals.hh"
53 #include "G4VEvaporationChannel.hh"
54 #include "G4NuclearLevelData.hh"
55 #include "G4LevelManager.hh"
56 #include "G4Fragment.hh"
57 #include "G4Threading.hh"
58 
59 const G4int MAXDEPOINT = 10;
60 const G4int MAXGRDATA = 300;
61 
62 class G4GammaTransition;
64 
66 
67 public:
68 
69  explicit G4PhotonEvaporation(G4GammaTransition* ptr=nullptr);
70 
71  virtual ~G4PhotonEvaporation();
72 
73  virtual void Initialise() final;
74 
75  // one photon or e- emission
76  virtual G4Fragment* EmittedFragment(G4Fragment* theNucleus) final;
77 
78  // returns "false", emitted gamma and e- are added to the results
79  virtual G4bool
80  BreakUpChain(G4FragmentVector* theResult, G4Fragment* theNucleus) final;
81 
82  // emitted gamma, e-, and residual fragment are added to the results
83  G4FragmentVector* BreakItUp(const G4Fragment& theNucleus);
84 
85  // compute emission probability for both continum and discrete cases
86  // must be called before any method above
87  virtual G4double GetEmissionProbability(G4Fragment* theNucleus) final;
88 
90 
91  virtual G4double GetUpperLevelEnergy(G4int Z, G4int A) final;
92 
94 
95  virtual void SetICM(G4bool);
96 
97  virtual void RDMForced (G4bool);
98 
99  inline void SetVerboseLevel(G4int verbose);
100 
101  inline G4int GetVacantShellNumber() const;
102 
103 private:
104 
105  void InitialiseGRData();
106 
108 
109  inline void InitialiseLevelManager(G4int Z, G4int A);
110 
112  const G4PhotonEvaporation & operator = (const G4PhotonEvaporation & right) = delete;
113 
118 
119  // fPolarization stores polarization tensor for consecutive
120  // decays of a nucleus
122 
129  size_t fIndex;
130 
133 
135 
141 
144 
150 
151 #ifdef G4MULTITHREADED
152  static G4Mutex PhotonEvaporationMutex;
153 #endif
154 };
155 
157 {
158  fVerbose = verbose;
159 }
160 
161 inline void
163 {
164  if(Z != theZ || A != theA) {
165  theZ = Z;
166  theA = A;
167  fIndex = 0;
170  }
171 }
172 
174 {
175  return vShellNumber;
176 }
177 
178 #endif
const G4LevelManager * GetLevelManager(G4int Z, G4int A)
virtual G4bool BreakUpChain(G4FragmentVector *theResult, G4Fragment *theNucleus) final
G4double MaxLevelEnergy() const
virtual void SetICM(G4bool)
virtual G4Fragment * EmittedFragment(G4Fragment *theNucleus) final
const G4PhotonEvaporation & operator=(const G4PhotonEvaporation &right)=delete
static G4float GRWidth[MAXGRDATA]
const G4int MAXGRDATA
const G4int MAXDEPOINT
float G4float
Definition: G4Types.hh:77
static G4float GREnergy[MAXGRDATA]
G4PhotonEvaporation(G4GammaTransition *ptr=nullptr)
G4FragmentVector * BreakItUp(const G4Fragment &theNucleus)
G4int GetVacantShellNumber() const
Float_t Z
double G4double
Definition: G4Types.hh:76
bool G4bool
Definition: G4Types.hh:79
G4NuclearPolarizationStore * fNucPStore
void SetGammaTransition(G4GammaTransition *)
double energy
Definition: plottest35.C:25
double A(double temperature)
virtual void Initialise() final
virtual G4double GetEmissionProbability(G4Fragment *theNucleus) final
G4NuclearLevelData * fNuclearLevelData
G4Fragment * GenerateGamma(G4Fragment *nucleus)
int G4int
Definition: G4Types.hh:78
void SetVerboseLevel(G4int verbose)
virtual G4double GetFinalLevelEnergy(G4int Z, G4int A, G4double energy) final
G4GammaTransition * fTransition
G4double fCummProbability[MAXDEPOINT]
const G4LevelManager * fLevelManager
virtual void RDMForced(G4bool)
G4NuclearPolarization * fPolarization
std::vector< G4Fragment * > G4FragmentVector
Definition: G4Fragment.hh:63
void InitialiseLevelManager(G4int Z, G4int A)
virtual G4double GetUpperLevelEnergy(G4int Z, G4int A) final
std::mutex G4Mutex
Definition: G4Threading.hh:84