00001 // 00002 // ******************************************************************** 00003 // * License and Disclaimer * 00004 // * * 00005 // * The Geant4 software is copyright of the Copyright Holders of * 00006 // * the Geant4 Collaboration. It is provided under the terms and * 00007 // * conditions of the Geant4 Software License, included in the file * 00008 // * LICENSE and available at http://cern.ch/geant4/license . These * 00009 // * include a list of copyright holders. * 00010 // * * 00011 // * Neither the authors of this software system, nor their employing * 00012 // * institutes,nor the agencies providing financial support for this * 00013 // * work make any representation or warranty, express or implied, * 00014 // * regarding this software system or assume any liability for its * 00015 // * use. Please see the license in the file LICENSE and URL above * 00016 // * for the full disclaimer and the limitation of liability. * 00017 // * * 00018 // * This code implementation is the result of the scientific and * 00019 // * technical work of the GEANT4 collaboration. * 00020 // * By using, copying, modifying or distributing the software (or * 00021 // * any work based on the software) you agree to acknowledge its * 00022 // * use in resulting scientific publications, and indicate your * 00023 // * acceptance of all terms of the Geant4 Software license. * 00024 // ******************************************************************** 00025 // 00026 // $Id$ 00027 // 00028 // ------------------------------------------------------------------- 00029 // 00030 // GEANT4 Class header file 00031 // 00032 // 00033 // File name: G4CHIPSElasticXS 00034 // 00035 // Author Ivantchenko, Geant4, 23-SEP-2010 00036 // 00037 // Modifications: 00038 // 31-05-2011 V.Uzhinsky added anti-baryons, Pi+, Pi-, K+, K- cross sections 00039 // 23-08-2011 V.Ivanchenko migration to new design and cleanup 00040 // 00041 00042 // Class Description: 00043 // This is a base class for nucleon elastic cross section based on 00044 // CHIPS parameterisation, the class is extracted from 00045 // G4UHadronElasticModel 00046 // Class Description - End 00047 00048 #ifndef G4CHIPSElasticXS_h 00049 #define G4CHIPSElasticXS_h 1 00050 00051 #include "G4VCrossSectionDataSet.hh" 00052 #include "globals.hh" 00053 00054 class G4DynamicParticle; 00055 class G4ParticleDefinition; 00056 class G4Element; 00057 class G4VQCrossSection; 00058 00059 class G4CHIPSElasticXS : public G4VCrossSectionDataSet 00060 { 00061 public: 00062 00063 G4CHIPSElasticXS(); 00064 00065 virtual ~G4CHIPSElasticXS(); 00066 00067 virtual 00068 G4bool IsIsoApplicable(const G4DynamicParticle*, 00069 G4int /*Z*/, G4int /*A*/, 00070 const G4Element*, const G4Material*); 00071 00072 virtual 00073 G4double GetIsoCrossSection(const G4DynamicParticle*, 00074 G4int /*Z*/, G4int /*A*/, 00075 const G4Isotope*, const G4Element*, 00076 const G4Material*); 00077 00078 virtual void Description() const; 00079 00080 private: 00081 00082 G4CHIPSElasticXS & operator=(const G4CHIPSElasticXS &right); 00083 G4CHIPSElasticXS(const G4CHIPSElasticXS&); 00084 00085 G4VQCrossSection* pCManager; 00086 G4VQCrossSection* nCManager; 00087 00088 G4VQCrossSection* PBARxsManager; 00089 G4VQCrossSection* PIPxsManager; 00090 G4VQCrossSection* PIMxsManager; 00091 G4VQCrossSection* KPxsManager; 00092 G4VQCrossSection* KMxsManager; 00093 00094 const G4ParticleDefinition* theProton; 00095 const G4ParticleDefinition* theNeutron; 00096 const G4ParticleDefinition* theParticle; 00097 00098 G4double thEnergy; 00099 G4double lowestEnergy; 00100 00101 G4int pPDG; 00102 G4bool isInitialized; 00103 }; 00104 00105 #endif