source: trunk/source/processes/hadronic/models/de_excitation/gem_evaporation/include/G4GEMChannel.hh @ 1347

Last change on this file since 1347 was 1347, checked in by garnier, 13 years ago

geant4 tag 9.4

File size: 4.8 KB
Line 
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,v 1.7 2010/11/18 16:21:17 vnivanch Exp $
28// GEANT4 tag $Name: geant4-09-04-ref-00 $
29//
30// Hadronic Process: Nuclear De-excitations
31// by V. Lara (Oct 1998)
32//
33
34
35#ifndef G4GEMChannel_h
36#define G4GEMChannel_h 1
37
38#include "G4VEvaporationChannel.hh"
39#include "G4GEMProbability.hh"
40#include "G4VLevelDensityParameter.hh"
41#include "G4VCoulombBarrier.hh"
42#include "G4EvaporationLevelDensityParameter.hh"
43#include "G4NucleiProperties.hh"
44#include "Randomize.hh"
45#include "G4ParticleTable.hh"
46#include "G4IonTable.hh"
47
48//#define debug
49
50class G4Pow;
51
52class G4GEMChannel : public G4VEvaporationChannel
53{
54public:
55
56  G4GEMChannel(const G4int theA, const G4int theZ, const G4String & aName,
57               G4GEMProbability * aEmissionStrategy,
58               G4VCoulombBarrier * aCoulombBarrier);
59
60  // destructor
61  virtual ~G4GEMChannel();
62   
63  void Initialize(const G4Fragment & fragment);
64
65  G4FragmentVector * BreakUp(const G4Fragment & theNucleus);
66
67  inline void SetLevelDensityParameter(G4VLevelDensityParameter * aLevelDensity)
68  {
69    if (MyOwnLevelDensity) { delete theLevelDensityPtr; }
70    theLevelDensityPtr = aLevelDensity;
71    MyOwnLevelDensity = false;
72  }
73
74  inline G4double GetEmissionProbability(void) const
75  { return EmissionProbability; }
76 
77  inline G4double GetMaximalKineticEnergy(void) const
78  { return MaximalKineticEnergy; }
79 
80private: 
81   
82  // Calculate Binding Energy for separate fragment from nucleus
83  G4double CalcBindingEnergy(G4int anA, G4int aZ);
84
85  // Calculate maximal kinetic energy that can be carried by fragment (in MeV)
86  G4double CalcMaximalKineticEnergy(G4double U);
87
88  // Samples fragment kinetic energy.
89  G4double CalcKineticEnergy(const G4Fragment & fragment);
90
91  // This has to be removed and put in Random Generator
92  G4ThreeVector IsotropicVector(G4double Magnitude  = 1.0);
93
94  G4GEMChannel(const G4GEMChannel & right); 
95  const G4GEMChannel & operator=(const G4GEMChannel & right);
96  G4bool operator==(const G4GEMChannel & right) const;
97  G4bool operator!=(const G4GEMChannel & right) const;
98 
99protected:
100  G4GEMChannel();
101
102  // Data Members ************
103
104private:
105
106  // This data member define the channel.
107  // They are intializated at object creation (constructor) time.
108   
109  // Atomic Number
110  G4int A;
111   
112  // Charge
113  G4int Z;
114
115  G4double EvaporatedMass;
116  G4double ResidualMass;
117
118  G4Pow* fG4pow;
119   
120  // For evaporation probability calcualtion
121  G4GEMProbability * theEvaporationProbabilityPtr;
122   
123  // For Level Density calculation
124  G4bool MyOwnLevelDensity;
125  G4VLevelDensityParameter * theLevelDensityPtr;
126   
127  // For Coulomb Barrier calculation
128  G4VCoulombBarrier * theCoulombBarrierPtr;
129  G4double CoulombBarrier;
130   
131  //---------------------------------------------------
132   
133  // These values depend on the nucleus that is being evaporated.
134  // They are calculated through the Initialize method which takes as parameters
135  // the atomic number, charge and excitation energy of nucleus.
136   
137  // Residual Atomic Number
138  G4int ResidualA;
139
140  // Residual Charge
141  G4int ResidualZ;
142   
143  // Emission Probability
144  G4double EmissionProbability;
145
146  // Maximal Kinetic Energy that can be carried by fragment
147  G4double MaximalKineticEnergy;
148
149
150};
151
152
153#endif
Note: See TracBrowser for help on using the repository browser.