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 // Calculation of the total, elastic and inelastic cross-sections 28 // of hadron (proton, neutron, pi+, pi-, K+, K-, anti_proton, anti_neutron 29 // interactions with nuclei based on CHIPS model 30 // 31 // Created by V. Uzhinsky, 31.05.2011 32 // Copied to hadronic/cross_sections by W. Pokorski 33 34 35 #ifndef G4ChipsComponentXS_h 36 #define G4ChipsComponentXS_h 37 38 #include <CLHEP/Units/PhysicalConstants.h> // pi, fermi,.. 39 40 #include "globals.hh" 41 #include "G4Proton.hh" 42 #include "G4AntiProton.hh" 43 #include "G4Nucleus.hh" 44 45 #include "G4ChipsProtonElasticXS.hh" 46 #include "G4ChipsProtonInelasticXS.hh" 47 48 #include "G4ChipsNeutronElasticXS.hh" 49 #include "G4ChipsNeutronInelasticXS.hh" 50 51 #include "G4ChipsAntiBaryonElasticXS.hh" 52 #include "G4ChipsAntiBaryonInelasticXS.hh" 53 54 #include "G4ChipsPionMinusElasticXS.hh" 55 #include "G4ChipsPionMinusInelasticXS.hh" 56 57 #include "G4ChipsPionPlusElasticXS.hh" 58 #include "G4ChipsPionPlusInelasticXS.hh" 59 60 #include "G4ChipsKaonMinusElasticXS.hh" 61 #include "G4ChipsKaonMinusInelasticXS.hh" 62 63 #include "G4ChipsKaonPlusElasticXS.hh" 64 #include "G4ChipsKaonPlusInelasticXS.hh" 65 66 #include "G4ChipsKaonZeroElasticXS.hh" 67 #include "G4ChipsKaonZeroInelasticXS.hh" 68 69 #include "G4ChipsHyperonElasticXS.hh" 70 #include "G4ChipsHyperonInelasticXS.hh" 71 72 #include "G4VComponentCrossSection.hh" 73 74 class G4ParticleDefinition; 75 76 class G4ChipsComponentXS : public G4VComponentCrossSection 77 { 78 public: 79 80 G4ChipsComponentXS (); 81 virtual ~G4ChipsComponentXS (); 82 83 virtual 84 G4double GetTotalElementCrossSection(const G4ParticleDefinition* aParticle, 85 G4double kinEnergy, 86 G4int Z, G4double N); 87 88 virtual 89 G4double GetTotalIsotopeCrossSection(const G4ParticleDefinition* aParticle, 90 G4double kinEnergy, 91 G4int Z, G4int N); 92 virtual 93 G4double GetInelasticElementCrossSection(const G4ParticleDefinition* aParticle, 94 G4double kinEnergy, 95 G4int Z, G4double N); 96 virtual 97 G4double GetInelasticIsotopeCrossSection(const G4ParticleDefinition* aParticle, 98 G4double kinEnergy, 99 G4int Z, G4int N); 100 101 virtual 102 G4double GetElasticElementCrossSection(const G4ParticleDefinition* aParticle, 103 G4double kinEnergy, 104 G4int Z, G4double N); 105 106 virtual 107 G4double GetElasticIsotopeCrossSection(const G4ParticleDefinition* aParticle, 108 G4double kinEnergy, 109 G4int Z, G4int N); 110 111 virtual 112 void BuildPhysicsTable(const G4ParticleDefinition&) 113 {} 114 115 virtual 116 void DumpPhysicsTable(const G4ParticleDefinition&) 117 {} 118 119 private: 120 G4ChipsComponentXS & operator=(const G4ChipsComponentXS &right); 121 G4ChipsComponentXS(const G4ChipsComponentXS&); 122 123 const G4double fUpperLimit; 124 const G4double fLowerLimit; 125 126 G4ChipsProtonElasticXS* PxsManagerEl; 127 G4ChipsProtonInelasticXS* PxsManagerInEl; 128 129 G4ChipsNeutronElasticXS* NxsManagerEl; 130 G4ChipsNeutronInelasticXS* NxsManagerInEl; 131 132 G4ChipsAntiBaryonElasticXS* PBARxsManagerEl; 133 G4ChipsAntiBaryonInelasticXS* PBARxsManagerInEl; 134 135 G4ChipsPionPlusElasticXS* PIPxsManagerEl; 136 G4ChipsPionPlusInelasticXS* PIPxsManagerInEl; 137 138 G4ChipsPionMinusElasticXS* PIMxsManagerEl; 139 G4ChipsPionMinusInelasticXS* PIMxsManagerInEl; 140 141 G4ChipsKaonPlusElasticXS* KPxsManagerEl; 142 G4ChipsKaonPlusInelasticXS* KPxsManagerInEl; 143 144 G4ChipsKaonMinusElasticXS* KMxsManagerEl; 145 G4ChipsKaonMinusInelasticXS* KMxsManagerInEl; 146 147 G4ChipsKaonZeroElasticXS* KZxsManagerEl; 148 G4ChipsKaonZeroInelasticXS* KZxsManagerInEl; 149 150 G4ChipsHyperonElasticXS* HxsManagerEl; 151 G4ChipsHyperonInelasticXS* HxsManagerInEl; 152 }; 153 154 #endif 155