Geant4  10.03.p02
 All Classes 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 98739 2016-08-09 12:56:55Z gcosmo $
28 //
29 // Hadronic Process: Nuclear De-excitations
30 // by V. Lara (Oct 1998)
31 //
32 #ifndef G4GEMChannel_h
33 #define G4GEMChannel_h 1
34 
35 #include "G4VEvaporationChannel.hh"
36 #include "G4GEMProbability.hh"
39 #include "G4NucleiProperties.hh"
40 #include "Randomize.hh"
41 #include "G4ParticleTable.hh"
42 
43 class G4Pow;
45 class G4VCoulombBarrier;
46 
48 {
49 public:
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 
70 private:
71 
72  // Samples fragment kinetic energy.
73  G4double SampleKineticEnergy(const G4Fragment & fragment);
74 
75  // This has to be removed and put in Random Generator
76  G4ThreeVector IsotropicVector(G4double Magnitude = 1.0);
77 
78  G4GEMChannel(const G4GEMChannel & right) = delete;
79  const G4GEMChannel & operator=(const G4GEMChannel & right) = delete;
80  G4bool operator==(const G4GEMChannel & right) const = delete;
81  G4bool operator!=(const G4GEMChannel & right) const = delete;
82 
83  // Data Members ************
84  // This data member define the channel.
85  // They are intializated at object creation (constructor) time.
86 
87  // Atomic Number
88  G4int A;
89 
90  // Charge
91  G4int Z;
92 
93  G4double EvaporatedMass;
94  G4double ResidualMass;
95 
96  G4Pow* fG4pow;
97 
98  // For evaporation probability calcualtion
99  G4GEMProbability * theEvaporationProbabilityPtr;
100 
101  // For Level Density calculation
102  G4bool MyOwnLevelDensity;
103  G4VLevelDensityParameter * theLevelDensityPtr;
104 
105  // For Coulomb Barrier calculation
106  G4VCoulombBarrier * theCoulombBarrierPtr;
107  G4double CoulombBarrier;
108 
109  G4PairingCorrection* pairingCorrection;
110 
111  //---------------------------------------------------
112 
113  // These values depend on the nucleus that is being evaporated.
114  // They are calculated through the Initialize method which takes as parameters
115  // the atomic number, charge and excitation energy of nucleus.
116 
117  // Residual Atomic Number
118  G4int ResidualA;
119 
120  // Residual Charge
121  G4int ResidualZ;
122 
123  // Emission Probability
124  G4double EmissionProbability;
125 
126  // Maximal Kinetic Energy that can be carried by fragment
127  G4double MaximalKineticEnergy;
128 };
129 
130 
131 #endif
void SetLevelDensityParameter(G4VLevelDensityParameter *aLevelDensity)
Definition: G4GEMChannel.hh:63
virtual ~G4GEMChannel()
Definition: G4GEMChannel.cc:68
Definition: G4Pow.hh:56
G4GEMChannel(G4int theA, G4int theZ, const G4String &aName, G4GEMProbability *aEmissionStrategy)
Definition: G4GEMChannel.cc:48
virtual G4Fragment * EmittedFragment(G4Fragment *theNucleus)
int G4int
Definition: G4Types.hh:78
bool G4bool
Definition: G4Types.hh:79
virtual G4double GetEmissionProbability(G4Fragment *theNucleus)
Definition: G4GEMChannel.cc:74
virtual void Dump() const
double G4double
Definition: G4Types.hh:76