Geant4.10
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups 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 // $Id: G4GEMChannel.hh 67983 2013-03-13 10:42:03Z gcosmo $
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 
37 #include "G4VEvaporationChannel.hh"
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 
47 class G4Pow;
48 
50 {
51 public:
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 
71  inline G4double GetMaximalKineticEnergy(void) const
72  { return MaximalKineticEnergy; }
73 
74 private:
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 
88 private:
89 
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
void SetLevelDensityParameter(G4VLevelDensityParameter *aLevelDensity)
Definition: G4GEMChannel.hh:64
virtual ~G4GEMChannel()
Definition: G4GEMChannel.cc:65
Definition: G4Pow.hh:56
int G4int
Definition: G4Types.hh:78
G4double GetMaximalKineticEnergy(void) const
Definition: G4GEMChannel.hh:71
bool G4bool
Definition: G4Types.hh:79
std::vector< G4Fragment * > G4FragmentVector
Definition: G4Fragment.hh:65
G4GEMChannel(const G4int theA, const G4int theZ, const G4String &aName, G4GEMProbability *aEmissionStrategy, G4VCoulombBarrier *aCoulombBarrier)
Definition: G4GEMChannel.cc:46
virtual G4double GetEmissionProbability(G4Fragment *theNucleus)
Definition: G4GEMChannel.cc:70
virtual G4FragmentVector * BreakUp(const G4Fragment &theNucleus)
double G4double
Definition: G4Types.hh:76