Geant4 Cross Reference |
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 // GEANT4 physics class: G4ElNucleusSFcs -- header file 28 // 29 // 30 // 30.09.21 V. Grichine eA inelastic cross section according to the structure function approach. 31 // The XS is calculated based on the corrected CHIPS XS. 32 // 33 34 #ifndef G4ElNucleusSFcs_h 35 #define G4ElNucleusSFcs_h 1 36 37 #include "G4VCrossSectionDataSet.hh" 38 #include "G4DynamicParticle.hh" 39 #include "G4Element.hh" 40 #include "G4ParticleTable.hh" 41 #include "G4NucleiProperties.hh" 42 #include "G4NistManager.hh" 43 #include <vector> 44 #include "Randomize.hh" 45 #include "G4Electron.hh" 46 #include "G4Positron.hh" 47 #include <map> 48 49 class G4ElectroNuclearCrossSection; 50 51 class G4ElNucleusSFcs : public G4VCrossSectionDataSet 52 { 53 public: 54 55 G4ElNucleusSFcs(); 56 virtual ~G4ElNucleusSFcs(); 57 58 static const char* Default_Name() {return "ElectronNucleusSFcs";} 59 60 virtual void CrossSectionDescription(std::ostream&) const; 61 62 virtual G4bool IsElementApplicable(const G4DynamicParticle*, G4int Z, 63 const G4Material*); 64 65 virtual G4double GetIsoCrossSection(const G4DynamicParticle*, G4int Z, G4int A, 66 const G4Isotope* iso = nullptr, 67 const G4Element* elm = nullptr, 68 const G4Material* mat = nullptr ); 69 G4double ThresholdEnergy(); 70 71 G4double GetRatio(G4int Z, G4int A); 72 73 private: 74 75 static const G4double fZZ[19]; 76 static const G4double fRR[19]; 77 78 G4ElectroNuclearCrossSection* fCHIPScs; 79 }; 80 81 #endif 82