// // ******************************************************************** // * License and Disclaimer * // * * // * The Geant4 software is copyright of the Copyright Holders of * // * the Geant4 Collaboration. It is provided under the terms and * // * conditions of the Geant4 Software License, included in the file * // * LICENSE and available at http://cern.ch/geant4/license . These * // * include a list of copyright holders. * // * * // * Neither the authors of this software system, nor their employing * // * institutes,nor the agencies providing financial support for this * // * work make any representation or warranty, express or implied, * // * regarding this software system or assume any liability for its * // * use. Please see the license in the file LICENSE and URL above * // * for the full disclaimer and the limitation of liability. * // * * // * This code implementation is the result of the scientific and * // * technical work of the GEANT4 collaboration. * // * By using, copying, modifying or distributing the software (or * // * any work based on the software) you agree to acknowledge its * // * use in resulting scientific publications, and indicate your * // * acceptance of all terms of the Geant4 Software license. * // ******************************************************************** // // $Id: G4RPGNucleonInelastic.hh,v 1.2 2009/05/25 19:05:19 dennis Exp $ // GEANT4 tag $Name: geant4-09-03-ref-09 $ // // Author: D. H. Wright // Date: 19 December 2007 // #ifndef G4RPGNucleonInelastic_h #define G4RPGNucleonInelastic_h 1 // Class Description: // Partial cross sections, multiplicities and final state particle types // required for proton and neutron inelastic scattering in the // re-parameterized Gheisha model #include "G4RPGInelastic.hh" class G4RPGNucleonInelastic : public G4RPGInelastic { public: G4RPGNucleonInelastic(const G4String& modelName = "RPGNucleonInelastic"); ~G4RPGNucleonInelastic() { } // void printCrossSections() const; protected: G4int GetMultiplicityT1(G4double KE) const; G4int GetMultiplicityT0(G4double KE) const; std::vector GetFSPartTypesForT1(G4int mult, G4double KE, G4int tindex) const; std::vector GetFSPartTypesForT0(G4int mult, G4double KE) const; std::vector GetFSPartTypesForPP(G4int mult, G4double KE) const {return GetFSPartTypesForT1(mult, KE, 0); } std::vector GetFSPartTypesForNN(G4int mult, G4double KE) const {return GetFSPartTypesForT1(mult, KE, 1); } std::vector GetFSPartTypesForPN(G4int mult, G4double KE) const {return GetFSPartTypesForT0(mult, KE); } std::vector GetFSPartTypesForNP(G4int mult, G4double KE) const {return GetFSPartTypesForT0(mult, KE); } static const G4int pPindex[8][2]; static const G4int pNindex[8][2]; static const G4int T1_2bfs[2][1][2]; static const G4int T1_3bfs[2][6][3]; static const G4int T1_4bfs[2][18][4]; static const G4int T1_5bfs[2][32][5]; static const G4int T1_6bfs[2][7][6]; static const G4int T1_7bfs[2][8][7]; static const G4int T1_8bfs[2][10][8]; static const G4int T1_9bfs[2][11][9]; static const G4int T0_2bfs[1][2]; static const G4int T0_3bfs[9][3]; static const G4int T0_4bfs[22][4]; static const G4int T0_5bfs[38][5]; static const G4int T0_6bfs[7][6]; static const G4int T0_7bfs[9][7]; static const G4int T0_8bfs[10][8]; static const G4int T0_9bfs[12][9]; static G4double pPtot[30]; static G4double pNtot[30]; static G4double t1_dSigma_dMult[8][30]; static G4double t0_dSigma_dMult[8][30]; static const G4float pPCrossSections[93][30]; static const G4float pNCrossSections[108][30]; }; #endif