Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:58:20

0001 //
0002 // ********************************************************************
0003 // * License and Disclaimer                                           *
0004 // *                                                                  *
0005 // * The  Geant4 software  is  copyright of the Copyright Holders  of *
0006 // * the Geant4 Collaboration.  It is provided  under  the terms  and *
0007 // * conditions of the Geant4 Software License,  included in the file *
0008 // * LICENSE and available at  http://cern.ch/geant4/license .  These *
0009 // * include a list of copyright holders.                             *
0010 // *                                                                  *
0011 // * Neither the authors of this software system, nor their employing *
0012 // * institutes,nor the agencies providing financial support for this *
0013 // * work  make  any representation or  warranty, express or implied, *
0014 // * regarding  this  software system or assume any liability for its *
0015 // * use.  Please see the license in the file  LICENSE  and URL above *
0016 // * for the full disclaimer and the limitation of liability.         *
0017 // *                                                                  *
0018 // * This  code  implementation is the result of  the  scientific and *
0019 // * technical work of the GEANT4 collaboration.                      *
0020 // * By using,  copying,  modifying or  distributing the software (or *
0021 // * any work based  on the software)  you  agree  to acknowledge its *
0022 // * use  in  resulting  scientific  publications,  and indicate your *
0023 // * acceptance of all terms of the Geant4 Software license.          *
0024 // ********************************************************************
0025 //
0026 //
0027 //
0028 // Hadronic Process: Nuclear De-excitations
0029 // by V. Lara (Oct 1998)
0030 //
0031 #ifndef G4GEMChannel_h
0032 #define G4GEMChannel_h 1
0033 
0034 #include "G4VEvaporationChannel.hh"
0035 #include "G4GEMProbability.hh"
0036 #include "G4VLevelDensityParameter.hh"
0037 #include "G4EvaporationLevelDensityParameter.hh"
0038 #include "G4NucleiProperties.hh"
0039 #include "G4NuclearLevelData.hh"
0040 #include "Randomize.hh"
0041 #include "G4ParticleTable.hh"
0042 
0043 class G4Pow;
0044 class G4PairingCorrection;
0045 class G4VCoulombBarrier;
0046 
0047 class G4GEMChannel : public G4VEvaporationChannel
0048 {
0049 public:
0050 
0051   explicit G4GEMChannel(G4int theA, G4int theZ, const G4String & aName,
0052             G4GEMProbability * aEmissionStrategy);
0053 
0054   // destructor
0055   virtual ~G4GEMChannel();
0056     
0057   virtual G4double GetEmissionProbability(G4Fragment* theNucleus);
0058 
0059   virtual G4Fragment* EmittedFragment(G4Fragment* theNucleus);
0060 
0061   virtual void Dump() const;
0062 
0063   inline void SetLevelDensityParameter(G4VLevelDensityParameter * aLevelDensity)
0064   {
0065     if (MyOwnLevelDensity) { delete theLevelDensityPtr; }
0066     theLevelDensityPtr = aLevelDensity;
0067     MyOwnLevelDensity = false;
0068   }
0069 
0070 private: 
0071 
0072   // Samples fragment kinetic energy.
0073   G4double SampleKineticEnergy(const G4Fragment & fragment);
0074 
0075   G4GEMChannel(const G4GEMChannel & right) = delete;  
0076   const G4GEMChannel & operator=(const G4GEMChannel & right) = delete;
0077   G4bool operator==(const G4GEMChannel & right) const = delete;
0078   G4bool operator!=(const G4GEMChannel & right) const = delete;
0079   
0080   // Data Members ************
0081   // This data member define the channel. 
0082   // They are initialised at object creation (constructor) time.
0083     
0084   // Atomic Number
0085   G4int A;
0086     
0087   // Charge
0088   G4int Z;
0089 
0090   // Residual Atomic Number
0091   G4int ResidualA;
0092 
0093   // Residual Charge
0094   G4int ResidualZ;
0095 
0096   G4double EvaporatedMass;
0097   G4double ResidualMass;
0098   G4double CoulombBarrier;
0099   G4double EmissionProbability;
0100 
0101   // Maximal Kinetic Energy that can be carried by fragment
0102   G4double MaximalKineticEnergy;
0103 
0104   G4Pow* fG4pow;
0105     
0106   // For evaporation probability calcualtion
0107   G4GEMProbability * theEvaporationProbabilityPtr;
0108     
0109   // For Level Density calculation
0110   G4bool MyOwnLevelDensity;
0111   G4VLevelDensityParameter * theLevelDensityPtr;
0112     
0113   // For Coulomb Barrier calculation
0114   G4VCoulombBarrier * theCoulombBarrierPtr;
0115 
0116   G4NuclearLevelData* fNucData;
0117 
0118   // For creator model ID of the secondaries created by this model
0119   G4int secID;
0120 };
0121 
0122 
0123 #endif