Geant4-11
G4VPreCompoundFragment.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// J. M. Quesada (August 2008).
28// Based on previous work by V. Lara
29//
30// Modif (03 September 2008) by J. M. Quesada for external choice of inverse
31// cross section option
32// JMQ (06 September 2008) Also external choice has been added for:
33// - superimposed Coulomb barrier (if useSICB=true)
34// 20.08.2010 V.Ivanchenko added int Z and A and cleanup; added
35// G4ParticleDefinition to constructor,
36// inline method to build G4ReactionProduct;
37// remove string name
38//
39
40#ifndef G4VPreCompoundFragment_h
41#define G4VPreCompoundFragment_h 1
42
43#include "G4ios.hh"
44#include <iomanip>
46#include "G4IonTable.hh"
47#include "G4Fragment.hh"
48#include "G4VCoulombBarrier.hh"
49#include "G4ReactionProduct.hh"
50#include "G4Pow.hh"
51
54
56{
57public:
58
60 G4VCoulombBarrier * aCoulombBarrier);
61
63
64 friend std::ostream&
65 operator<<(std::ostream&, const G4VPreCompoundFragment*);
66 friend std::ostream&
67 operator<<(std::ostream&, const G4VPreCompoundFragment&);
68
69 // =====================
70 // Pure Virtual methods
71 // =====================
72
73 // Initialization method
74 void Initialize(const G4Fragment & aFragment);
75
76 // Methods for calculating the emission probability
77 // ------------------------------------------------
78
79 // Calculates the total (integrated over kinetic energy) emission
80 // probability of a fragment
81 virtual G4double CalcEmissionProbability(const G4Fragment & aFragment) = 0;
82
83 // sample kinetic energy of emitted fragment
84 virtual G4double SampleKineticEnergy(const G4Fragment & aFragment) = 0;
85
86 inline G4bool IsItPossible(const G4Fragment & aFragment) const;
87
89
90 inline G4int GetA() const;
91
92 inline G4int GetZ() const;
93
94 inline G4int GetRestA() const;
95
96 inline G4int GetRestZ() const;
97
98 inline G4double GetBindingEnergy() const;
99
101
103
104 inline G4double GetNuclearMass() const;
105
107
108 inline const G4LorentzVector& GetMomentum() const;
109
110 inline void SetMomentum(const G4LorentzVector & value);
111
112 //for inverse cross section choice
113 inline void SetOPTxs(G4int);
114 //for superimposed Coulomb Barrier for inverse cross sections
115 inline void UseSICB(G4bool);
116
119 operator= (const G4VPreCompoundFragment &right) = delete;
120 G4bool operator==(const G4VPreCompoundFragment &right) const = delete;
121 G4bool operator!=(const G4VPreCompoundFragment &right) const = delete;
122
123protected:
124
125 virtual G4double GetAlpha() const = 0;
126
127 virtual G4double GetBeta() const = 0;
128
129private:
130
133
135
136protected:
137
141
148
156
159
160 //for inverse cross section choice
162 //for superimposed Coulomb Barrier for inverse cross sections
164};
165
167
168#endif
double G4double
Definition: G4Types.hh:83
bool G4bool
Definition: G4Types.hh:86
int G4int
Definition: G4Types.hh:85
Definition: G4Pow.hh:49
virtual G4double SampleKineticEnergy(const G4Fragment &aFragment)=0
G4VPreCompoundFragment(const G4ParticleDefinition *, G4VCoulombBarrier *aCoulombBarrier)
G4VPreCompoundFragment(const G4VPreCompoundFragment &right)=delete
G4double GetEmissionProbability() const
G4NuclearLevelData * fNucData
G4double GetNuclearMass() const
friend std::ostream & operator<<(std::ostream &, const G4VPreCompoundFragment *)
virtual G4double CalcEmissionProbability(const G4Fragment &aFragment)=0
G4VCoulombBarrier * theCoulombBarrierPtr
G4DeexPrecoParameters * theParameters
virtual G4double GetBeta() const =0
G4bool IsItPossible(const G4Fragment &aFragment) const
G4double GetBindingEnergy() const
G4double GetEnergyThreshold() const
G4int GetRestZ() const
G4bool operator!=(const G4VPreCompoundFragment &right) const =delete
const G4ParticleDefinition * particle
G4bool operator==(const G4VPreCompoundFragment &right) const =delete
const G4VPreCompoundFragment & operator=(const G4VPreCompoundFragment &right)=delete
G4double GetRestNuclearMass() const
G4ReactionProduct * GetReactionProduct() const
void SetMomentum(const G4LorentzVector &value)
void Initialize(const G4Fragment &aFragment)
const G4LorentzVector & GetMomentum() const
G4int GetRestA() const
virtual G4double GetAlpha() const =0