Back to home page

EIC code displayed by LXR

 
 

    


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

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 // GEANT4 physics class: G4ElNucleusSFcs -- header file
0028 //
0029 //
0030 // 30.09.21 V. Grichine eA inelastic cross section according to the structure function approach.
0031 //                      The XS is calculated based on the corrected CHIPS XS.
0032 //
0033 
0034 #ifndef G4ElNucleusSFcs_h
0035 #define G4ElNucleusSFcs_h 1
0036 
0037 #include "G4VCrossSectionDataSet.hh"
0038 #include "G4DynamicParticle.hh"
0039 #include "G4Element.hh"
0040 #include "G4ParticleTable.hh"
0041 #include "G4NucleiProperties.hh"
0042 #include "G4NistManager.hh"
0043 #include <vector>
0044 #include "Randomize.hh"
0045 #include "G4Electron.hh"
0046 #include "G4Positron.hh"
0047 #include <map>
0048 
0049 class G4ElectroNuclearCrossSection;
0050 
0051 class G4ElNucleusSFcs : public G4VCrossSectionDataSet
0052 {
0053 public:
0054 
0055   G4ElNucleusSFcs();
0056   virtual ~G4ElNucleusSFcs();
0057     
0058   static const char* Default_Name() {return "ElectronNucleusSFcs";}
0059 
0060   virtual void CrossSectionDescription(std::ostream&) const;
0061 
0062   virtual G4bool IsElementApplicable(const G4DynamicParticle*, G4int Z,
0063                                      const G4Material*);
0064   
0065   virtual G4double GetIsoCrossSection(const G4DynamicParticle*, G4int Z, G4int A,  
0066                               const G4Isotope* iso = nullptr,
0067                               const G4Element* elm = nullptr,
0068                   const G4Material* mat = nullptr );
0069   G4double ThresholdEnergy();
0070 
0071   G4double GetRatio(G4int Z, G4int A);
0072 
0073 private:
0074 
0075   static const G4double fZZ[19];
0076   static const G4double fRR[19];
0077 
0078   G4ElectroNuclearCrossSection* fCHIPScs;
0079 };
0080 
0081 #endif