Geant4 11.2.2
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
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//
27// Hadronic Process: Nuclear De-excitations
28// by V. Lara (Oct 1998)
29//
30// Modified:
31// 03.09.2008 (J.M.Quesada) for external choice of inverse cross section option
32// 06.09.2008 (J.M.Quesada) external choices have been added for superimposed
33// Coulomb barrier (if useSICB is set true, by default
34// is false)
35// 24.04.2010 (V.Ivanchenko) moved constructor and destructor to source; added
36// two new virtual methods EmittedFragment(s) to allow
37// more optimal work with G4Fragment objects
38// 12.02.2013 (V.Ivanchenko) added virtual method GetLifeTime,
39// enumerator G4EvaporationChannelType,
40// which is defined in constructor of the class
41//
42
43#ifndef G4VEvaporationChannel_h
44#define G4VEvaporationChannel_h 1
45
46#include "globals.hh"
47#include "G4Fragment.hh"
48
50{
51public:
52
53 G4VEvaporationChannel(const G4String & aName = "");
54 virtual ~G4VEvaporationChannel() = default;
55
56 virtual G4double GetEmissionProbability(G4Fragment* theNucleus) = 0;
57
58 // option definition
59 virtual void Initialise();
60
61 // return level life time, by default zero
62 virtual G4double GetLifeTime(G4Fragment* theNucleus);
63
64 // return emitted fragment, initial fragment is modified
65 // and not deleted
66 virtual G4Fragment* EmittedFragment(G4Fragment* theNucleus);
67
68 // returns "true" if primary fragment is decayed and deleted
69 // returns "false" if primary fragment is modified but stay alive
70 // emitted fragments are added to the vector of results
71 virtual G4bool
72 BreakUpChain(G4FragmentVector* theResult, G4Fragment* theNucleus);
73
74 // return vector of emitted fragments, initial fragment is modified
75 // but not included in this vector
76 inline G4FragmentVector* BreakUpFragment(G4Fragment* theNucleus);
77
78 // methods for unit tests
79 virtual G4double ComputeInverseXSection(G4Fragment* theNucleus,
80 G4double kinEnergy);
81 virtual G4double ComputeProbability(G4Fragment* theNucleus,
82 G4double kinEnergy);
83
84 virtual void Dump() const;
85
86 // enable internal conversion
87 virtual void SetICM(G4bool);
88
89 // flag of the radioactive decay module
90 virtual void RDMForced(G4bool);
91
92 // for cross section selection
93 inline void SetOPTxs(G4int);
94 // for superimposed Coulomb Barrier for inverse cross sections
95 inline void UseSICB(G4bool);
96
98 const G4VEvaporationChannel & operator=
99 (const G4VEvaporationChannel & right) = delete;
100 G4bool operator==(const G4VEvaporationChannel & right) const = delete;
101 G4bool operator!=(const G4VEvaporationChannel & right) const = delete;
102
103protected:
104
107};
108
109inline G4FragmentVector*
111{
112 G4FragmentVector* results = new G4FragmentVector();
113 BreakUpChain(results, theNucleus);
114 return results;
115}
116
117
119{
120 if(val >= 0) { OPTxs = val; }
121}
122
124{
125 useSICB = val;
126}
127
128#endif
std::vector< G4Fragment * > G4FragmentVector
Definition G4Fragment.hh:65
double G4double
Definition G4Types.hh:83
bool G4bool
Definition G4Types.hh:86
int G4int
Definition G4Types.hh:85
virtual G4double GetLifeTime(G4Fragment *theNucleus)
virtual G4double ComputeProbability(G4Fragment *theNucleus, G4double kinEnergy)
virtual G4Fragment * EmittedFragment(G4Fragment *theNucleus)
virtual void Dump() const
G4FragmentVector * BreakUpFragment(G4Fragment *theNucleus)
virtual void RDMForced(G4bool)
virtual G4double GetEmissionProbability(G4Fragment *theNucleus)=0
virtual ~G4VEvaporationChannel()=default
G4bool operator!=(const G4VEvaporationChannel &right) const =delete
G4VEvaporationChannel(const G4VEvaporationChannel &right)=delete
G4VEvaporationChannel(const G4String &aName="")
virtual G4double ComputeInverseXSection(G4Fragment *theNucleus, G4double kinEnergy)
G4bool operator==(const G4VEvaporationChannel &right) const =delete
virtual void SetICM(G4bool)
virtual G4bool BreakUpChain(G4FragmentVector *theResult, G4Fragment *theNucleus)