Geant4 11.2.2
Toolkit for the simulation of the passage of particles through matter
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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//
28// Hadronic Process: Nuclear De-excitations
29// by V. Lara (Oct 1998)
30//
31#ifndef G4GEMChannel_h
32#define G4GEMChannel_h 1
33
35#include "G4GEMProbability.hh"
38#include "G4NucleiProperties.hh"
39#include "G4NuclearLevelData.hh"
40#include "Randomize.hh"
41#include "G4ParticleTable.hh"
42
43class G4Pow;
46
48{
49public:
50
51 explicit G4GEMChannel(G4int theA, G4int theZ, const G4String & aName,
52 G4GEMProbability * aEmissionStrategy);
53
54 // destructor
55 virtual ~G4GEMChannel();
56
57 virtual G4double GetEmissionProbability(G4Fragment* theNucleus);
58
59 virtual G4Fragment* EmittedFragment(G4Fragment* theNucleus);
60
61 virtual void Dump() const;
62
64 {
65 if (MyOwnLevelDensity) { delete theLevelDensityPtr; }
66 theLevelDensityPtr = aLevelDensity;
67 MyOwnLevelDensity = false;
68 }
69
70private:
71
72 // Samples fragment kinetic energy.
73 G4double SampleKineticEnergy(const G4Fragment & fragment);
74
75 G4GEMChannel(const G4GEMChannel & right) = delete;
76 const G4GEMChannel & operator=(const G4GEMChannel & right) = delete;
77 G4bool operator==(const G4GEMChannel & right) const = delete;
78 G4bool operator!=(const G4GEMChannel & right) const = delete;
79
80 // Data Members ************
81 // This data member define the channel.
82 // They are initialised at object creation (constructor) time.
83
84 // Atomic Number
85 G4int A;
86
87 // Charge
88 G4int Z;
89
90 // Residual Atomic Number
91 G4int ResidualA;
92
93 // Residual Charge
94 G4int ResidualZ;
95
96 G4double EvaporatedMass;
97 G4double ResidualMass;
98 G4double CoulombBarrier;
99 G4double EmissionProbability;
100
101 // Maximal Kinetic Energy that can be carried by fragment
102 G4double MaximalKineticEnergy;
103
104 G4Pow* fG4pow;
105
106 // For evaporation probability calcualtion
107 G4GEMProbability * theEvaporationProbabilityPtr;
108
109 // For Level Density calculation
110 G4bool MyOwnLevelDensity;
111 G4VLevelDensityParameter * theLevelDensityPtr;
112
113 // For Coulomb Barrier calculation
114 G4VCoulombBarrier * theCoulombBarrierPtr;
115
116 G4NuclearLevelData* fNucData;
117
118 // For creator model ID of the secondaries created by this model
119 G4int secID;
120};
121
122
123#endif
double G4double
Definition G4Types.hh:83
bool G4bool
Definition G4Types.hh:86
int G4int
Definition G4Types.hh:85
void SetLevelDensityParameter(G4VLevelDensityParameter *aLevelDensity)
virtual void Dump() const
virtual G4Fragment * EmittedFragment(G4Fragment *theNucleus)
virtual ~G4GEMChannel()
G4GEMChannel(G4int theA, G4int theZ, const G4String &aName, G4GEMProbability *aEmissionStrategy)
virtual G4double GetEmissionProbability(G4Fragment *theNucleus)
Definition G4Pow.hh:49