Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:58:26

0001 //
0002 // ********************************************************************
0003 // * License and Disclaimer                                           *
0004 // *                                                                  *
0005 // * The  Geant4 software  is  copyright of the Copyright Holders  of *
0006 // * the Geant4 Collaboration.  It is provided  under  the terms  and *
0007 // * conditions of the Geant4 Software License,  included in the file *
0008 // * LICENSE and available at  http://cern.ch/geant4/license .  These *
0009 // * include a list of copyright holders.                             *
0010 // *                                                                  *
0011 // * Neither the authors of this software system, nor their employing *
0012 // * institutes,nor the agencies providing financial support for this *
0013 // * work  make  any representation or  warranty, express or implied, *
0014 // * regarding  this  software system or assume any liability for its *
0015 // * use.  Please see the license in the file  LICENSE  and URL above *
0016 // * for the full disclaimer and the limitation of liability.         *
0017 // *                                                                  *
0018 // * This  code  implementation is the result of  the  scientific and *
0019 // * technical work of the GEANT4 collaboration.                      *
0020 // * By using,  copying,  modifying or  distributing the software (or *
0021 // * any work based  on the software)  you  agree  to acknowledge its *
0022 // * use  in  resulting  scientific  publications,  and indicate your *
0023 // * acceptance of all terms of the Geant4 Software license.          *
0024 // ********************************************************************
0025 //
0026 // INCL++ intra-nuclear cascade model
0027 // Alain Boudard, CEA-Saclay, France
0028 // Joseph Cugnon, University of Liege, Belgium
0029 // Jean-Christophe David, CEA-Saclay, France
0030 // Pekka Kaitaniemi, CEA-Saclay, France, and Helsinki Institute of Physics, Finland
0031 // Sylvie Leray, CEA-Saclay, France
0032 // Davide Mancusi, CEA-Saclay, France
0033 //
0034 #define INCLXX_IN_GEANT4_MODE 1
0035 
0036 #include "globals.hh"
0037 
0038 /** \file G4INCLCrossSectionsINCL46.hh
0039  * \brief Cross sections used in INCL4.6
0040  *
0041  * \date 25nd October 2013
0042  * \author Davide Mancusi
0043  */
0044 
0045 #ifndef G4INCLCROSSSECTIONSINCL46_HH
0046 #define G4INCLCROSSSECTIONSINCL46_HH
0047 
0048 #include "G4INCLICrossSections.hh"
0049 
0050 namespace G4INCL {
0051   /// \brief Cross sections used in INCL4.6
0052 
0053   class CrossSectionsINCL46 : public ICrossSections{
0054     public:
0055 
0056       /// \brief Elastic particle-particle cross section
0057       virtual G4double elastic(Particle const * const p1, Particle const * const p2);
0058 
0059       /// \brief Total (elastic+inelastic) particle-particle cross section
0060       virtual G4double total(Particle const * const p1, Particle const * const p2);
0061 
0062       /// \brief Cross section for NDelta->NN
0063       virtual G4double NDeltaToNN(Particle const * const p1, Particle const * const p2);
0064 
0065       /// \brief Cross section for NN->NDelta
0066       virtual G4double NNToNDelta(Particle const * const p1, Particle const * const p2);
0067 
0068       /// \brief Cross section for piN->NDelta
0069       virtual G4double piNToDelta(Particle const * const p1, Particle const * const p2);
0070 
0071       /// \brief Cross section for X pion production - NN Channel
0072       virtual G4double NNToxPiNN(const G4int xpi, Particle const * const p1, Particle const * const p2);
0073 
0074       /// \brief Cross section for X pion production - piN Channel
0075       virtual G4double piNToxPiN(const G4int xpi, Particle const * const p1, Particle const * const p2);
0076       
0077       /// \brief Cross sections for mesonic resonance production - piN Channel
0078       virtual G4double piNToEtaN(Particle const * const p1, Particle const * const p2);
0079       virtual G4double piNToOmegaN(Particle const * const p1, Particle const * const p2);
0080       virtual G4double piNToEtaPrimeN(Particle const * const p1, Particle const * const p2);
0081       
0082       /// \brief Cross sections for mesonic resonance absorption on nucleons - piN Channel
0083       virtual G4double etaNToPiN(Particle const * const p1, Particle const * const p2);
0084       virtual G4double omegaNToPiN(Particle const * const p1, Particle const * const p2);
0085       virtual G4double etaPrimeNToPiN(Particle const * const p1, Particle const * const p2);
0086             
0087             /// \brief Cross sections for mesonic resonance absorption on nucleon - pipiN Channel
0088       virtual G4double etaNToPiPiN(Particle const * const p1, Particle const * const p2);           
0089       virtual G4double omegaNToPiPiN(Particle const * const p1, Particle const * const p2);         
0090             
0091         /// \brief Cross section for Eta production - NN entrance channel
0092       virtual G4double NNToNNEta(Particle const * const p1, Particle const * const p2);
0093             
0094             /// \brief Cross section for Eta production  (exclusive) - NN entrance channel
0095             virtual G4double NNToNNEtaExclu(Particle const * const p1, Particle const * const p2);
0096       
0097             /// \brief Cross section for X pion production - NNEta Channel
0098           virtual G4double NNToNNEtaxPi(const G4int xpi, Particle const * const p1, Particle const * const p2);
0099 
0100           /// \brief Cross section for N-Delta-Eta production - NNEta Channel
0101             virtual G4double NNToNDeltaEta(Particle const * const p1, Particle const * const p2);
0102       
0103       
0104       /// \brief elastic scattering for Nucleon-Strange Particles cross sections
0105       virtual G4double NYelastic(Particle const * const p1, Particle const * const p2);
0106       virtual G4double NKbelastic(Particle const * const p1, Particle const * const p2);
0107       virtual G4double NKelastic(Particle const * const p1, Particle const * const p2);
0108       
0109       /// \brief Nucleon-Nucleon to Stange particles cross sections
0110       virtual G4double NNToNLK(Particle const * const p1, Particle const * const p2);
0111       virtual G4double NNToNSK(Particle const * const p1, Particle const * const p2);
0112       virtual G4double NNToNLKpi(Particle const * const p1, Particle const * const p2);
0113       virtual G4double NNToNSKpi(Particle const * const p1, Particle const * const p2);
0114       virtual G4double NNToNLK2pi(Particle const * const p1, Particle const * const p2);
0115       virtual G4double NNToNSK2pi(Particle const * const p1, Particle const * const p2);
0116       virtual G4double NNToNNKKb(Particle const * const p1, Particle const * const p2);
0117       virtual G4double NNToMissingStrangeness(Particle const * const p1, Particle const * const p2);
0118       
0119       /// \brief Nucleon-Delta to Stange particles cross sections
0120       virtual G4double NDeltaToNLK(Particle const * const p1, Particle const * const p2);
0121       virtual G4double NDeltaToNSK(Particle const * const p1, Particle const * const p2);
0122       virtual G4double NDeltaToDeltaLK(Particle const * const p1, Particle const * const p2);
0123       virtual G4double NDeltaToDeltaSK(Particle const * const p1, Particle const * const p2);
0124       
0125       virtual G4double NDeltaToNNKKb(Particle const * const p1, Particle const * const p2);
0126       
0127       /// \brief Nucleon-Pion to Stange particles cross sections
0128       virtual G4double NpiToLK(Particle const * const p1, Particle const * const p2);
0129       virtual G4double NpiToSK(Particle const * const p1, Particle const * const p2);
0130           virtual G4double p_pimToSzKz(Particle const * const p1, Particle const * const p2);
0131           virtual G4double p_pimToSmKp(Particle const * const p1, Particle const * const p2);
0132           virtual G4double p_pizToSzKp(Particle const * const p1, Particle const * const p2);
0133       virtual G4double NpiToLKpi(Particle const * const p1, Particle const * const p2);
0134       virtual G4double NpiToSKpi(Particle const * const p1, Particle const * const p2);
0135       virtual G4double NpiToLK2pi(Particle const * const p1, Particle const * const p2);
0136       virtual G4double NpiToSK2pi(Particle const * const p1, Particle const * const p2);
0137       virtual G4double NpiToNKKb(Particle const * const p1, Particle const * const p2);
0138       virtual G4double NpiToMissingStrangeness(Particle const * const p1, Particle const * const p2);
0139       
0140       /// \brief Nucleon-Hyperon cross sections
0141       virtual G4double NLToNS(Particle const * const p1, Particle const * const p2);
0142       virtual G4double NSToNL(Particle const * const p1, Particle const * const p2);
0143       virtual G4double NSToNS(Particle const * const p1, Particle const * const p2);
0144       
0145       /// \brief Nucleon-Kaon inelastic cross sections
0146       virtual G4double NKToNK(Particle const * const p1, Particle const * const p2);
0147       virtual G4double NKToNKpi(Particle const * const p1, Particle const * const p2);
0148       virtual G4double NKToNK2pi(Particle const * const p1, Particle const * const p2);
0149       
0150       /// \brief Nucleon-antiKaon inelastic cross sections
0151       virtual G4double NKbToNKb(Particle const * const p1, Particle const * const p2);
0152       virtual G4double NKbToSpi(Particle const * const p1, Particle const * const p2);
0153       virtual G4double NKbToLpi(Particle const * const p1, Particle const * const p2);
0154       virtual G4double NKbToS2pi(Particle const * const p1, Particle const * const p2);
0155       virtual G4double NKbToL2pi(Particle const * const p1, Particle const * const p2);
0156       virtual G4double NKbToNKbpi(Particle const * const p1, Particle const * const p2);
0157       virtual G4double NKbToNKb2pi(Particle const * const p1, Particle const * const p2);
0158       
0159       /// \brief Cross section for Eta production - NN entrance channel
0160       virtual G4double NNToNNOmega(Particle const * const particle1, Particle const * const particle2);
0161             
0162       /// \brief Cross section for Eta production  (exclusive) - NN entrance channel
0163       virtual G4double NNToNNOmegaExclu(Particle const * const particle1, Particle const * const particle2);
0164       
0165       /// \brief Cross section for X pion production - NNEta Channel
0166       virtual G4double NNToNNOmegaxPi(const G4int xpi, Particle const * const p1, Particle const * const p2);
0167       
0168       /// \brief Cross section for N-Delta-Eta production - NNEta Channel
0169       virtual G4double NNToNDeltaOmega(Particle const * const p1, Particle const * const p2);
0170       
0171       /// \brief antiparticle cross sections
0172       /// \brief Nucleon-AntiNucleon to Baryon-AntiBaryon cross sections
0173       virtual G4double NNbarElastic(Particle const* const p1, Particle const* const p2);
0174       virtual G4double NNbarCEX(Particle const* const p1, Particle const* const p2);
0175 
0176       virtual G4double NNbarToLLbar(Particle const * const p1, Particle const * const p2);
0177       
0178       /// \brief Nucleon-AntiNucleon to Nucleon-AntiNucleon + pions cross sections
0179       virtual G4double NNbarToNNbarpi(Particle const* const p1, Particle const* const p2);
0180       virtual G4double NNbarToNNbar2pi(Particle const* const p1, Particle const* const p2);
0181       virtual G4double NNbarToNNbar3pi(Particle const* const p1, Particle const* const p2);
0182      
0183       /// \brief Nucleon-AntiNucleon total annihilation cross sections
0184       virtual G4double NNbarToAnnihilation(Particle const* const p1, Particle const* const p2);     
0185       
0186       /** \brief Calculate the slope of the NN DDXS.
0187        *
0188        * \param energyCM energy in the CM frame, in MeV
0189        * \param iso total isospin of the system
0190        *
0191        * \return the slope of the angular distribution
0192        */
0193       virtual G4double calculateNNAngularSlope(G4double energyCM, G4int iso);
0194 
0195     protected:
0196 
0197       /// \brief Internal implementation of the elastic cross section
0198       G4double elasticNNLegacy(Particle const * const part1, Particle const * const part2);
0199 
0200       /// \brief Internal function for the delta-production cross section
0201       G4double deltaProduction(const G4int isospin, const G4double pLab);
0202 
0203       G4double spnPiPlusPHE(const G4double x);
0204       G4double spnPiMinusPHE(const G4double x);
0205       
0206   };
0207 }
0208 
0209 #endif