Geant4  9.6.p02
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
G4EvaporationChannel.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 // $Id$
27 //
28 //
29 //J.M. Quesada (August2008). Based on:
30 //
31 // Hadronic Process: Nuclear De-excitations
32 // by V. Lara (Oct 1998)
33 //
34 // 17-11-2010 V.Ivanchenko in constructor replace G4VEmissionProbability by
35 // G4EvaporationProbability and do not new and delete probability
36 // object at each call; use G4Pow
37 
38 #ifndef G4EvaporationChannel_h
39 #define G4EvaporationChannel_h 1
40 
41 #include "G4VEvaporationChannel.hh"
43 #include "G4VCoulombBarrier.hh"
44 
46 
48 {
49 public:
50  // constructor
51  G4EvaporationChannel(G4int theA, G4int theZ, const G4String & aName,
52  G4EvaporationProbability * aEmissionStrategy,
53  G4VCoulombBarrier * aCoulombBarrier);
54 
55  // destructor
56  virtual ~G4EvaporationChannel();
57 
58  inline void SetEmissionStrategy(G4EvaporationProbability * aEmissionStrategy)
59  {theEvaporationProbabilityPtr = aEmissionStrategy;}
60 
61  inline void SetCoulombBarrierStrategy(G4VCoulombBarrier * aCoulombBarrier)
62  {theCoulombBarrierPtr = aCoulombBarrier;}
63 
64 protected:
65  // default constructor
67 
68 public:
69 
70  // virtual void Initialize(const G4Fragment & fragment);
71 
72  virtual G4double GetEmissionProbability(G4Fragment* fragment);
73 
74  G4FragmentVector * BreakUp(const G4Fragment & theNucleus);
75 
76  inline G4double GetMaximalKineticEnergy(void) const
77  { return MaximalKineticEnergy; }
78 
79 private:
80 
81  // Calculate Binding Energy for separate fragment from nucleus
82  G4double CalcBindingEnergy(G4int anA, G4int aZ);
83 
84  // Calculate maximal kinetic energy that can be carried by fragment (in MeV)
85  G4double CalcMaximalKineticEnergy(G4double U);
86 
87  // Samples fragment kinetic energy.
88  G4double GetKineticEnergy(const G4Fragment & aFragment);
89 
90  // This has to be removed and put in Random Generator
91  G4ThreeVector IsotropicVector(G4double Magnitude = 1.0);
92 
94  const G4EvaporationChannel & operator=(const G4EvaporationChannel & right);
95  G4bool operator==(const G4EvaporationChannel & right) const;
96  G4bool operator!=(const G4EvaporationChannel & right) const;
97 
98  // Data Members
99  // ************
100 private:
101 
102  // This data member define the channel.
103  // They are intializated at object creation (constructor) time.
104 
105  // Atomic Number of ejectile
106  G4int theA;
107 
108  // Charge of ejectile
109  G4int theZ;
110 
111  G4double EvaporatedMass;
112  G4double ResidualMass;
113 
114  // For evaporation probability calcualation
115  G4EvaporationProbability * theEvaporationProbabilityPtr;
116 
117  // For Level Density calculation
118  // G4bool MyOwnLevelDensity;
119  G4VLevelDensityParameter * theLevelDensityPtr;
120 
121  // For Coulomb Barrier calculation
122  G4VCoulombBarrier * theCoulombBarrierPtr;
123  G4double CoulombBarrier;
124 
125  //---------------------------------------------------
126 
127  // These values depend on the nucleus that is being evaporated.
128  // They are calculated through the Initialize method which takes as parameters
129  // the atomic number, charge and excitation energy of nucleus.
130 
131  // Residual Mass Number
132  G4int ResidualA;
133 
134  // Residual Charge
135  G4int ResidualZ;
136 
137  // Emission Probability
138  G4double EmissionProbability;
139 
140  // Maximal Kinetic Energy that can be carried by fragment
141  G4double MaximalKineticEnergy;
142 
143 };
144 
145 
146 #endif