Geant4 Cross Reference |
1 // 1 2 // ******************************************* 3 // * License and Disclaimer 4 // * 5 // * The Geant4 software is copyright of th 6 // * the Geant4 Collaboration. It is provided 7 // * conditions of the Geant4 Software License 8 // * LICENSE and available at http://cern.ch/ 9 // * include a list of copyright holders. 10 // * 11 // * Neither the authors of this software syst 12 // * institutes,nor the agencies providing fin 13 // * work make any representation or warran 14 // * regarding this software system or assum 15 // * use. Please see the license in the file 16 // * for the full disclaimer and the limitatio 17 // * 18 // * This code implementation is the result 19 // * technical work of the GEANT4 collaboratio 20 // * By using, copying, modifying or distri 21 // * any work based on the software) you ag 22 // * use in resulting scientific publicati 23 // * acceptance of all terms of the Geant4 Sof 24 // ******************************************* 25 // 26 // 27 // 28 // 29 // GEANT4 physics class: G4ChipsKaonZeroElasti 30 // Created: M.V. Kossov, CERN/ITEP(Moscow), 20 31 // The last update: M.V. Kossov, CERN/ITEP (Mo 32 // 33 // ******************************************* 34 // Short description: Cross-sections extracted 35 // K(zero)-nuclear interactions. Original aut 36 // ------------------------------------------- 37 // 38 39 #ifndef G4ChipsKaonZeroElasticXS_h 40 #define G4ChipsKaonZeroElasticXS_h 1 41 42 #include "G4ParticleTable.hh" 43 #include "G4NucleiProperties.hh" 44 #include <vector> 45 #include "G4VCrossSectionDataSet.hh" 46 #include "G4ChipsKaonPlusElasticXS.hh" 47 #include "G4ChipsKaonMinusElasticXS.hh" 48 49 class G4ChipsKaonZeroElasticXS : public G4VCro 50 { 51 52 53 public: 54 55 G4ChipsKaonZeroElasticXS(); 56 57 ~G4ChipsKaonZeroElasticXS(); 58 59 static const char* Default_Name() {return "C 60 61 virtual void CrossSectionDescription(std::os 62 63 virtual G4bool IsIsoApplicable(const G4Dynam 64 const G4Element* elm, 65 const G4Material* mat ); 66 67 // At present momentum (pMom) in MeV/c, CS i 68 virtual G4double GetIsoCrossSection(const G4 69 const G4Isotope* iso = 0, 70 const G4Element* elm = 0, 71 const G4Material* mat = 0); 72 73 G4double GetChipsCrossSection(G4double momen 74 75 // Body 76 private: 77 G4ChipsKaonMinusElasticXS* theKMinusCS; // K 78 G4ChipsKaonPlusElasticXS* theKPlusCS; // K+ 79 80 G4double* lastLEN; // Pointer to the last ar 81 G4double* lastHEN; // Pointer to the last ar 82 G4int lastN; // The last N of calculat 83 G4int lastZ; // The last Z of calculat 84 G4double lastP; // Last used in the cross 85 G4double lastTH; // Last value of the Mome 86 G4double lastCS; // Last value of the Cros 87 G4int lastI; // The last position in t 88 89 }; 90 91 #endif 92