Geant4 9.6.0
Toolkit for the simulation of the passage of particles through matter
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
G4GEMChannel.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// $Id$
28//
29// Hadronic Process: Nuclear De-excitations
30// by V. Lara (Oct 1998)
31//
32
33
34#ifndef G4GEMChannel_h
35#define G4GEMChannel_h 1
36
38#include "G4GEMProbability.hh"
40#include "G4VCoulombBarrier.hh"
42#include "G4NucleiProperties.hh"
43#include "Randomize.hh"
44#include "G4ParticleTable.hh"
45#include "G4IonTable.hh"
46
47class G4Pow;
48
50{
51public:
52
53 G4GEMChannel(const G4int theA, const G4int theZ, const G4String & aName,
54 G4GEMProbability * aEmissionStrategy,
55 G4VCoulombBarrier * aCoulombBarrier);
56
57 // destructor
58 virtual ~G4GEMChannel();
59
60 virtual G4double GetEmissionProbability(G4Fragment* theNucleus);
61
62 virtual G4FragmentVector * BreakUp(const G4Fragment & theNucleus);
63
65 {
66 if (MyOwnLevelDensity) { delete theLevelDensityPtr; }
67 theLevelDensityPtr = aLevelDensity;
68 MyOwnLevelDensity = false;
69 }
70
72 { return MaximalKineticEnergy; }
73
74private:
75
76 // Calculate Binding Energy for separate fragment from nucleus
77 G4double CalcBindingEnergy(G4int anA, G4int aZ);
78
79 // Calculate maximal kinetic energy that can be carried by fragment (in MeV)
80 G4double CalcMaximalKineticEnergy(G4double U);
81
82 // Samples fragment kinetic energy.
83 G4double CalcKineticEnergy(const G4Fragment & fragment);
84
85 // This has to be removed and put in Random Generator
86 G4ThreeVector IsotropicVector(G4double Magnitude = 1.0);
87
88private:
89
90 G4GEMChannel(const G4GEMChannel & right);
91 const G4GEMChannel & operator=(const G4GEMChannel & right);
92 G4bool operator==(const G4GEMChannel & right) const;
93 G4bool operator!=(const G4GEMChannel & right) const;
94
95 // Data Members ************
96 // This data member define the channel.
97 // They are intializated at object creation (constructor) time.
98
99 // Atomic Number
100 G4int A;
101
102 // Charge
103 G4int Z;
104
105 G4double EvaporatedMass;
106 G4double ResidualMass;
107
108 G4Pow* fG4pow;
109
110 // For evaporation probability calcualtion
111 G4GEMProbability * theEvaporationProbabilityPtr;
112
113 // For Level Density calculation
114 G4bool MyOwnLevelDensity;
115 G4VLevelDensityParameter * theLevelDensityPtr;
116
117 // For Coulomb Barrier calculation
118 G4VCoulombBarrier * theCoulombBarrierPtr;
119 G4double CoulombBarrier;
120
121 //---------------------------------------------------
122
123 // These values depend on the nucleus that is being evaporated.
124 // They are calculated through the Initialize method which takes as parameters
125 // the atomic number, charge and excitation energy of nucleus.
126
127 // Residual Atomic Number
128 G4int ResidualA;
129
130 // Residual Charge
131 G4int ResidualZ;
132
133 // Emission Probability
134 G4double EmissionProbability;
135
136 // Maximal Kinetic Energy that can be carried by fragment
137 G4double MaximalKineticEnergy;
138
139
140};
141
142
143#endif
std::vector< G4Fragment * > G4FragmentVector
Definition: G4Fragment.hh:65
double G4double
Definition: G4Types.hh:64
int G4int
Definition: G4Types.hh:66
bool G4bool
Definition: G4Types.hh:67
void SetLevelDensityParameter(G4VLevelDensityParameter *aLevelDensity)
Definition: G4GEMChannel.hh:64
G4double GetMaximalKineticEnergy(void) const
Definition: G4GEMChannel.hh:71
virtual ~G4GEMChannel()
Definition: G4GEMChannel.cc:63
virtual G4double GetEmissionProbability(G4Fragment *theNucleus)
Definition: G4GEMChannel.cc:68
virtual G4FragmentVector * BreakUp(const G4Fragment &theNucleus)
Definition: G4Pow.hh:54