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 G4INCLCrossSectionsMultiPions.hh
0039  * \brief Cross sections used in INCL Multipions
0040  *
0041  * \date 26th November 2013
0042  * \author Jean-Christophe David
0043  */
0044 
0045 #ifndef G4INCLCROSSSECTIONSMULTIPIONS_HH
0046 #define G4INCLCROSSSECTIONSMULTIPIONS_HH
0047 
0048 #include "G4INCLICrossSections.hh"
0049 #include "G4INCLHornerFormEvaluator.hh"
0050 
0051 namespace G4INCL {
0052   /// \brief Cross sections used in INCL Multipions
0053 
0054   class CrossSectionsMultiPions : public ICrossSections{
0055     public:
0056       CrossSectionsMultiPions();
0057 
0058       /// \brief Elastic particle-particle cross section
0059       virtual G4double elastic(Particle const * const p1, Particle const * const p2);
0060 
0061       /// \brief Total (elastic+inelastic) particle-particle cross section
0062       virtual G4double total(Particle const * const p1, Particle const * const p2);
0063 
0064       /// \brief Cross section for NDelta->NN
0065       virtual G4double NDeltaToNN(Particle const * const p1, Particle const * const p2);
0066 
0067       /// \brief Cross section for Delta production - NN Channel
0068       virtual G4double NNToNDelta(Particle const * const p1, Particle const * const p2);
0069 
0070       /// \brief Cross section for Delta production - piN Channel
0071       virtual G4double piNToDelta(Particle const * const p1, Particle const * const p2);
0072 
0073       /// \brief Cross section for X pion production - piN Channel
0074       virtual G4double piNToxPiN(const G4int xpi, Particle const * const p1, Particle const * const p2);
0075 
0076       /// \brief Cross section for X pion production - NN Channel
0077       virtual G4double NNToxPiNN(const G4int xpi, Particle const * const p1, Particle const * const p2);
0078 
0079       /** \brief Calculate the slope of the NN DDXS.
0080        *
0081        * \param energyCM energy in the CM frame, in MeV
0082        * \param iso total isospin of the system
0083        *
0084        * \return the slope of the angular distribution
0085        */
0086       virtual G4double calculateNNAngularSlope(G4double energyCM, G4int iso);
0087       
0088       /// \brief Cross sections for mesonic resonance production - piN Channel
0089       virtual G4double piNToEtaN(Particle const * const p1, Particle const * const p2);
0090       virtual G4double piNToOmegaN(Particle const * const p1, Particle const * const p2);
0091       virtual G4double piNToEtaPrimeN(Particle const * const p1, Particle const * const p2);
0092             
0093             /// \brief Cross sections for mesonic resonance absorption on nucleon - pipiN Channel
0094       virtual G4double etaNToPiPiN(Particle const * const p1, Particle const * const p2);           
0095       virtual G4double omegaNToPiPiN(Particle const * const p1, Particle const * const p2);   
0096             
0097       /// \brief Cross sections for mesonic resonance absorption on nucleon - piN Channel
0098       virtual G4double etaNToPiN(Particle const * const p1, Particle const * const p2);
0099       virtual G4double omegaNToPiN(Particle const * const p1, Particle const * const p2);
0100       virtual G4double etaPrimeNToPiN(Particle const * const p1, Particle const * const p2);
0101       
0102         /// \brief Cross section for Eta production - NN entrance channel
0103       virtual G4double NNToNNEta(Particle const * const particle1, Particle const * const particle2);
0104             
0105           /// \brief Cross section for Eta production  (exclusive) - NN entrance channel
0106           virtual G4double NNToNNEtaExclu(Particle const * const particle1, Particle const * const particle2);
0107       
0108           /// \brief Cross section for X pion production - NNEta Channel
0109             virtual G4double NNToNNEtaxPi(const G4int xpi, Particle const * const p1, Particle const * const p2);
0110       
0111           /// \brief Cross section for N-Delta-Eta production - NNEta Channel
0112           virtual G4double NNToNDeltaEta(Particle const * const p1, Particle const * const p2);         
0113       
0114       /// \brief Cross section for Eta production - NN entrance channel
0115       virtual G4double NNToNNOmega(Particle const * const particle1, Particle const * const particle2);
0116             
0117       /// \brief Cross section for Eta production  (exclusive) - NN entrance channel
0118       virtual G4double NNToNNOmegaExclu(Particle const * const particle1, Particle const * const particle2);
0119       
0120       /// \brief Cross section for X pion production - NNEta Channel
0121       virtual G4double NNToNNOmegaxPi(const G4int xpi, Particle const * const p1, Particle const * const p2);
0122       
0123       /// \brief Cross section for N-Delta-Eta production - NNEta Channel
0124       virtual G4double NNToNDeltaOmega(Particle const * const p1, Particle const * const p2);
0125       
0126       
0127       /// \brief elastic scattering for Nucleon-Strange Particles cross sections
0128       virtual G4double NYelastic(Particle const * const p1, Particle const * const p2);
0129       virtual G4double NKbelastic(Particle const * const p1, Particle const * const p2);
0130       virtual G4double NKelastic(Particle const * const p1, Particle const * const p2);
0131       
0132       /// \brief Nucleon-Nucleon to Stange particles cross sections
0133       virtual G4double NNToNLK(Particle const * const p1, Particle const * const p2);
0134       virtual G4double NNToNSK(Particle const * const p1, Particle const * const p2);
0135       virtual G4double NNToNLKpi(Particle const * const p1, Particle const * const p2);
0136       virtual G4double NNToNSKpi(Particle const * const p1, Particle const * const p2);
0137       virtual G4double NNToNLK2pi(Particle const * const p1, Particle const * const p2);
0138       virtual G4double NNToNSK2pi(Particle const * const p1, Particle const * const p2);
0139       virtual G4double NNToNNKKb(Particle const * const p1, Particle const * const p2);
0140       
0141       virtual G4double NNToMissingStrangeness(Particle const * const p1, Particle const * const p2);
0142       
0143       /// \brief Nucleon-Delta to Stange particles cross sections
0144       virtual G4double NDeltaToNLK(Particle const * const p1, Particle const * const p2);
0145       virtual G4double NDeltaToNSK(Particle const * const p1, Particle const * const p2);
0146       virtual G4double NDeltaToDeltaLK(Particle const * const p1, Particle const * const p2);
0147       virtual G4double NDeltaToDeltaSK(Particle const * const p1, Particle const * const p2);
0148       
0149       virtual G4double NDeltaToNNKKb(Particle const * const p1, Particle const * const p2);
0150       
0151       /// \brief Nucleon-Pion to Stange particles cross sections
0152       virtual G4double NpiToLK(Particle const * const p1, Particle const * const p2);
0153       virtual G4double NpiToSK(Particle const * const p1, Particle const * const p2);
0154           virtual G4double p_pimToSzKz(Particle const * const p1, Particle const * const p2);
0155           virtual G4double p_pimToSmKp(Particle const * const p1, Particle const * const p2);
0156           virtual G4double p_pizToSzKp(Particle const * const p1, Particle const * const p2);
0157       virtual G4double NpiToLKpi(Particle const * const p1, Particle const * const p2);
0158       virtual G4double NpiToSKpi(Particle const * const p1, Particle const * const p2);
0159       virtual G4double NpiToLK2pi(Particle const * const p1, Particle const * const p2);
0160       virtual G4double NpiToSK2pi(Particle const * const p1, Particle const * const p2);
0161       virtual G4double NpiToNKKb(Particle const * const p1, Particle const * const p2);
0162       
0163       virtual G4double NpiToMissingStrangeness(Particle const * const p1, Particle const * const p2);
0164       
0165       /// \brief Nucleon-Hyperon cross sections
0166       virtual G4double NLToNS(Particle const * const p1, Particle const * const p2);
0167       virtual G4double NSToNL(Particle const * const p1, Particle const * const p2);
0168       virtual G4double NSToNS(Particle const * const p1, Particle const * const p2);
0169       
0170       /// \brief Nucleon-Kaon quasi-elastic and inelastic cross sections
0171       virtual G4double NKToNK(Particle const * const p1, Particle const * const p2);
0172       virtual G4double NKToNKpi(Particle const * const p1, Particle const * const p2);
0173       virtual G4double NKToNK2pi(Particle const * const p1, Particle const * const p2);
0174       
0175       /// \brief Nucleon-antiKaon quasi-elastic and inelastic cross sections
0176       virtual G4double NKbToNKb(Particle const * const p1, Particle const * const p2);
0177       virtual G4double NKbToSpi(Particle const * const p1, Particle const * const p2);
0178       virtual G4double NKbToLpi(Particle const * const p1, Particle const * const p2);
0179       virtual G4double NKbToS2pi(Particle const * const p1, Particle const * const p2);
0180       virtual G4double NKbToL2pi(Particle const * const p1, Particle const * const p2);
0181       virtual G4double NKbToNKbpi(Particle const * const p1, Particle const * const p2);
0182       virtual G4double NKbToNKb2pi(Particle const * const p1, Particle const * const p2);
0183       
0184       /// \brief antiparticle cross sections
0185       /// \brief Nucleon-AntiNucleon to Baryon-AntiBaryon cross sections
0186       virtual G4double NNbarElastic(Particle const* const p1, Particle const* const p2);
0187       virtual G4double NNbarCEX(Particle const* const p1, Particle const* const p2);
0188 
0189       virtual G4double NNbarToLLbar(Particle const * const p1, Particle const * const p2);
0190       
0191       /// \brief Nucleon-AntiNucleon to Nucleon-AntiNucleon + pions cross sections
0192       virtual G4double NNbarToNNbarpi(Particle const* const p1, Particle const* const p2);
0193       virtual G4double NNbarToNNbar2pi(Particle const* const p1, Particle const* const p2);
0194       virtual G4double NNbarToNNbar3pi(Particle const* const p1, Particle const* const p2);
0195      
0196       /// \brief Nucleon-AntiNucleon total annihilation cross sections
0197       virtual G4double NNbarToAnnihilation(Particle const* const p1, Particle const* const p2);
0198 
0199     protected:
0200       /// \brief Maximum number of outgoing pions in NN collisions
0201       static const G4int nMaxPiNN;
0202 
0203       /// \brief Maximum number of outgoing pions in piN collisions
0204       static const G4int nMaxPiPiN;
0205 
0206       /// \brief Horner coefficients for s11pz
0207       const HornerC7 s11pzHC;
0208       /// \brief Horner coefficients for s01pp
0209       const HornerC8 s01ppHC;
0210       /// \brief Horner coefficients for s01pz
0211       const HornerC4 s01pzHC;
0212       /// \brief Horner coefficients for s11pm
0213       const HornerC4 s11pmHC;
0214       /// \brief Horner coefficients for s12pm
0215       const HornerC5 s12pmHC;
0216       /// \brief Horner coefficients for s12pp
0217       const HornerC3 s12ppHC;
0218       /// \brief Horner coefficients for s12zz
0219       const HornerC4 s12zzHC;
0220       /// \brief Horner coefficients for s02pz
0221       const HornerC4 s02pzHC;
0222       /// \brief Horner coefficients for s02pm
0223       const HornerC6 s02pmHC;
0224       /// \brief Horner coefficients for s12mz
0225       const HornerC4 s12mzHC;
0226 
0227       /// \brief One over threshold for s11pz
0228       static const G4double s11pzOOT;
0229       /// \brief One over threshold for s01pp
0230       static const G4double s01ppOOT;
0231       /// \brief One over threshold for s01pz
0232       static const G4double s01pzOOT;
0233       /// \brief One over threshold for s11pm
0234       static const G4double s11pmOOT;
0235       /// \brief One over threshold for s12pm
0236       static const G4double s12pmOOT;
0237       /// \brief One over threshold for s12pp
0238       static const G4double s12ppOOT;
0239       /// \brief One over threshold for s12zz
0240       static const G4double s12zzOOT;
0241       /// \brief One over threshold for s02pz
0242       static const G4double s02pzOOT;
0243       /// \brief One over threshold for s02pm
0244       static const G4double s02pmOOT;
0245       /// \brief One over threshold for s12mz
0246       static const G4double s12mzOOT;
0247 
0248       /// \brief Internal implementation of the NN elastic cross section
0249       G4double NNElastic(Particle const * const part1, Particle const * const part2);
0250 
0251       /// \brief Internal implementation of the NN elastic cross section with fixed isospin
0252       G4double NNElasticFixed(const G4double s, const G4int i);
0253 
0254       /// \brief Internal implementation of the NN total cross section
0255       G4double NNTot(Particle const * const part1, Particle const * const part2);
0256 
0257       /// \brief Internal implementation of the NN total cross section with fixed isospin
0258       G4double NNTotFixed(const G4double s, const G4int i);
0259 
0260       /// \brief Internal implementation of the isospin dependent NN reaction cross section
0261       G4double NNInelasticIso(const G4double ener, const G4int iso);
0262 
0263       /// \brief Cross section for direct 1-pion production + delta production - NN entrance channel
0264       virtual G4double NNOnePiOrDelta(const G4double ener, const G4int iso, const G4double xsiso);
0265       /// \brief Cross section for direct 2-pion production - NN entrance channel
0266       virtual G4double NNTwoPi(const G4double ener, const G4int iso, const G4double xsiso);
0267       /// \brief Cross section for direct 3-pion production - NN entrance channel
0268       virtual G4double NNThreePi(const G4double ener, const G4int iso, const G4double xsiso, const G4double xs1pi, const G4double xs2pi);
0269 
0270       /// \brief Cross section for direct 1-pion production - NN entrance channel
0271       virtual G4double NNOnePi(Particle const * const part1, Particle const * const part2);
0272       /// \brief Cross section for direct 1-pion production - NN entrance channel
0273       virtual G4double NNOnePiOrDelta(Particle const * const part1, Particle const * const part2);
0274       /// \brief Cross section for direct 2-pion production - NN entrance channel
0275       virtual G4double NNTwoPi(Particle const * const part1, Particle const * const part2);
0276       /// \brief Cross section for direct 3-pion production - NN entrance channel
0277       virtual G4double NNThreePi(Particle const * const part1, Particle const * const part2);
0278       /// \brief Cross section for direct 4-pion production - NN entrance channel
0279       virtual G4double NNFourPi(Particle const * const part1, Particle const * const part2);
0280 
0281       /// \brief Internal function for pion cross sections
0282       G4double spnPiPlusPHE(const G4double x);
0283       /// \brief Internal function for pion cross sections
0284       G4double spnPiMinusPHE(const G4double x);
0285       G4double piNIne(Particle const * const p1, Particle const * const p2);
0286       G4double piNTot(Particle const * const p1, Particle const * const p2);
0287       G4double piNTopiN(Particle const * const p1, Particle const * const p2);
0288       G4double piPluspIne(Particle const * const p1, Particle const * const p2);
0289       G4double piMinuspIne(Particle const * const p1, Particle const * const p2);
0290       G4double piPluspOnePi(Particle const * const p1, Particle const * const p2);
0291       G4double piMinuspOnePi(Particle const * const p1, Particle const * const p2);
0292       G4double piPluspTwoPi(Particle const * const p1, Particle const * const p2);
0293       G4double piMinuspTwoPi(Particle const * const p1, Particle const * const p2);
0294       
0295       /// \brief Cross section for One (more) pion production - piN entrance channel
0296       virtual G4double piNOnePi(Particle const * const p1, Particle const * const p2);
0297       
0298       /// \brief Cross section for Two (more) pion production - piN entrance channel
0299       virtual G4double piNTwoPi(Particle const * const p1, Particle const * const p2);
0300       
0301       
0302   };
0303 }
0304 
0305 #endif