ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
G4GEMChannel.hh
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file G4GEMChannel.hh
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 
34 #include "G4VEvaporationChannel.hh"
35 #include "G4GEMProbability.hh"
38 #include "G4NucleiProperties.hh"
39 #include "G4NuclearLevelData.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  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 intializated at object creation (constructor) time.
83 
84  // Atomic Number
86 
87  // Charge
89 
90  // Residual Atomic Number
92 
93  // Residual Charge
95 
100 
101  // Maximal Kinetic Energy that can be carried by fragment
103 
105 
106  // For evaporation probability calcualtion
108 
109  // For Level Density calculation
112 
113  // For Coulomb Barrier calculation
115 
117 };
118 
119 
120 #endif