Geant4  v4-10.4-release
 모두 클래스 네임스페이스들 파일들 함수 변수 타입정의 열거형 타입 열거형 멤버 Friends 매크로 그룹들 페이지들
G4VEvaporation.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: G4VEvaporation.hh 102025 2016-12-16 14:43:41Z gcosmo $
27 //
28 // Hadronic Process: Nuclear De-excitations interface
29 //
30 // by V. Lara (Oct 1998) written from G4Evaporation.hh (May 1998)
31 //
32 // Modifications:
33 // 03 September 2008 by J. M. Quesada for external choice of inverse
34 // cross section option
35 // 06 September 2008 (JMQ) Also external choices have been added for
36 // superimposed Coulomb barrier (if useSICBis set true, by default is false)
37 // 23 January 2012 by V.Ivanchenko added pointer of G4VPhotonEvaporation to
38 // the constructor
39 //
40 
41 #ifndef G4VEvaporation_h
42 #define G4VEvaporation_h 1
43 
44 #include "globals.hh"
45 #include "G4Fragment.hh"
46 #include "G4VEvaporationFactory.hh"
47 #include "G4VEvaporationChannel.hh"
48 #include <vector>
49 
51 class G4VFermiBreakUp;
52 
54 {
55 public:
56 
57  explicit G4VEvaporation();
58  virtual ~G4VEvaporation();
59 
60  // vector of products is added to the provided vector
61  // primary fragment is deleted or is modified and added to the list
62  // of products
63  virtual void BreakFragment(G4FragmentVector*, G4Fragment* theNucleus);
64 
65  // definition of options
66  virtual void InitialiseChannels();
67 
69 
70  inline void SetFermiBreakUp(G4VFermiBreakUp* ptr);
71 
72  inline G4VFermiBreakUp* GetFermiBreakUp() const;
75 
76  // for inverse cross section choice
77  inline void SetOPTxs(G4int opt);
78  // for superimposed Coulomb Barrier for inverse cross sections
79  inline void UseSICB(G4bool use);
80 
81  inline size_t GetNumberOfChannels() const;
82 
83 protected:
84 
85  void CleanChannels();
86 
89 
92 
93  std::vector<G4VEvaporationChannel*> * theChannels;
95 
96 private:
97  G4VEvaporation(const G4VEvaporation &right) = delete;
98  const G4VEvaporation & operator=(const G4VEvaporation &right) = delete;
99  G4bool operator==(const G4VEvaporation &right) const = delete;
100  G4bool operator!=(const G4VEvaporation &right) const = delete;
101 
102 };
103 
105 {
106  theFBU = ptr;
107 }
108 
110 {
111  return theFBU;
112 }
113 
115 {
116  return thePhotonEvaporation;
117 }
118 
120 {
121  return (theChannels && theChannels->size() > 1) ? (*theChannels)[1] : nullptr;
122 }
123 
125 {
126  OPTxs = opt;
127 }
128 
130 {
131  useSICB = use;
132 }
133 
135 {
136  return theChannels ? theChannels->size() : 0;
137 }
138 
139 #endif
G4VEvaporationChannel * thePhotonEvaporation
std::vector< G4VEvaporationChannel * > * theChannels
void SetOPTxs(G4int opt)
G4VEvaporationFactory * theChannelFactory
G4VEvaporationChannel * GetPhotonEvaporation()
const G4VEvaporation & operator=(const G4VEvaporation &right)=delete
bool G4bool
Definition: G4Types.hh:79
G4VFermiBreakUp * theFBU
void SetFermiBreakUp(G4VFermiBreakUp *ptr)
G4VEvaporationChannel * GetFissionChannel()
virtual ~G4VEvaporation()
G4VFermiBreakUp * GetFermiBreakUp() const
G4bool operator==(const G4VEvaporation &right) const =delete
void UseSICB(G4bool use)
int G4int
Definition: G4Types.hh:78
virtual void BreakFragment(G4FragmentVector *, G4Fragment *theNucleus)
virtual void SetPhotonEvaporation(G4VEvaporationChannel *ptr)
G4bool operator!=(const G4VEvaporation &right) const =delete
virtual void InitialiseChannels()
std::vector< G4Fragment * > G4FragmentVector
Definition: G4Fragment.hh:63
size_t GetNumberOfChannels() const