Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-09-12 09:10:55

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 G4INCLICrossSections.hh
0039  * \brief Abstract interface for the cross-section classes
0040  *
0041  * \date 25nd October 2013
0042  * \author Davide Mancusi
0043  */
0044 
0045 #ifndef G4INCLICROSSSECTIONS_HH
0046 #define G4INCLICROSSSECTIONS_HH
0047 
0048 #include "G4INCLParticle.hh"
0049 
0050 namespace G4INCL {
0051   /// \brief Abstract interface for the cross-section classes
0052   class ICrossSections {
0053     public:
0054 
0055       ICrossSections() {}
0056       virtual ~ICrossSections() {}
0057 
0058       /// \brief Elastic particle-particle cross section
0059       virtual G4double elastic(Particle const * const p1, Particle const * const p2) = 0;
0060 
0061       /// \brief Total (elastic+inelastic) particle-particle cross section
0062       virtual G4double total(Particle const * const p1, Particle const * const p2) = 0;
0063 
0064       /// \brief Cross section for NDelta->NN
0065       virtual G4double NDeltaToNN(Particle const * const p1, Particle const * const p2) = 0;
0066 
0067       /// \brief Cross section for NN->NDelta
0068       virtual G4double NNToNDelta(Particle const * const p1, Particle const * const p2) = 0;
0069 
0070       /// \brief Cross section for NN->xpiN
0071       virtual G4double NNToxPiNN(const G4int xpi, Particle const * const p1, Particle const * const p2) = 0;
0072 
0073       /// \brief Cross section for piN->NDelta
0074       virtual G4double piNToDelta(Particle const * const p1, Particle const * const p2) = 0;
0075 
0076       /// \brief Cross section for piN->piNpi
0077       virtual G4double piNToxPiN(const G4int xpi, Particle const * const p1, Particle const * const p2) = 0;
0078     
0079       /// \brief Cross section for PiN->EtaN
0080       virtual G4double piNToEtaN(Particle const * const p1, Particle const * const p2) = 0;
0081     
0082       /// \brief Cross section for PiN->OmegaN
0083       virtual G4double piNToOmegaN(Particle const * const p1, Particle const * const p2) = 0;
0084     
0085       /// \brief Cross section for PiN->EtaPrimeN
0086       virtual G4double piNToEtaPrimeN(Particle const * const p1, Particle const * const p2) = 0;
0087     
0088       /// \brief Cross section for EtaN->PiN
0089       virtual G4double etaNToPiN(Particle const * const p1, Particle const * const p2) = 0;
0090     
0091       /// \brief Cross section for EtaN->PiPiN
0092       virtual G4double etaNToPiPiN(Particle const * const p1, Particle const * const p2) = 0;
0093      
0094       /// \brief Cross section for EtaN->LK/SK
0095       virtual G4double etaNToLK(Particle const * const p1, Particle const * const p2) = 0;
0096       virtual G4double etaNToSK(Particle const * const p1, Particle const * const p2) = 0;
0097     
0098       /// \brief Cross section for OmegaN->PiN
0099       virtual G4double omegaNToPiN(Particle const * const p1, Particle const * const p2) = 0;
0100    
0101       /// \brief Cross section for OmegaN->PiPiN
0102       virtual G4double omegaNToPiPiN(Particle const * const p1, Particle const * const p2) = 0;
0103     
0104       /// \brief Cross section for OmegaN->LK/SK
0105       virtual G4double omegaNToLK(Particle const * const p1, Particle const * const p2) = 0;
0106       virtual G4double omegaNToSK(Particle const * const p1, Particle const * const p2) = 0;
0107    
0108       /// \brief Cross section for EtaPrimeN->PiN
0109       virtual G4double etaPrimeNToPiN(Particle const * const p1, Particle const * const p2) = 0;
0110     
0111       /// \brief Cross section for NN->NNEta (inclusive)
0112       virtual G4double NNToNNEta(Particle const * const p1, Particle const * const p2) = 0;
0113     
0114       /// \brief Cross section for NN->NNEta (exclusive)
0115       virtual G4double NNToNNEtaExclu(Particle const * const p1, Particle const * const p2) = 0;
0116       
0117       /// \brief Cross section for NN->NNEtaxPi
0118       virtual G4double NNToNNEtaxPi(const G4int xpi, Particle const * const p1, Particle const * const p2) = 0;
0119     
0120       /// \brief Cross section for N-Delta-Eta production - NNEta Channel
0121       virtual G4double NNToNDeltaEta(Particle const * const p1, Particle const * const p2) = 0;
0122          
0123       /// \brief Cross section for NN->NNEta (inclusive)
0124       virtual G4double NNToNNOmega(Particle const * const p1, Particle const * const p2) = 0;
0125     
0126       /// \brief Cross section for NN->NNEta (exclusive)
0127       virtual G4double NNToNNOmegaExclu(Particle const * const p1, Particle const * const p2) = 0;
0128       
0129       /// \brief Cross section for NN->NNEtaxPi
0130       virtual G4double NNToNNOmegaxPi(const G4int xpi, Particle const * const p1, Particle const * const p2) = 0;
0131     
0132       /// \brief Cross section for N-Delta-Eta production - NNEta Channel
0133       virtual G4double NNToNDeltaOmega(Particle const * const p1, Particle const * const p2) = 0;
0134       
0135       
0136       /// \brief elastic scattering for Nucleon-Strange Particles cross sections
0137       virtual G4double NYelastic(Particle const * const p1, Particle const * const p2) = 0;
0138       virtual G4double NKbelastic(Particle const * const p1, Particle const * const p2) = 0;
0139       virtual G4double NKelastic(Particle const * const p1, Particle const * const p2) = 0;
0140       
0141       /// \brief Nucleon-Nucleon to Stange particles cross sections
0142       virtual G4double NNToNLK(Particle const * const p1, Particle const * const p2) = 0;
0143       virtual G4double NNToNSK(Particle const * const p1, Particle const * const p2) = 0;
0144       virtual G4double NNToNLKpi(Particle const * const p1, Particle const * const p2) = 0;
0145       virtual G4double NNToNSKpi(Particle const * const p1, Particle const * const p2) = 0;
0146       virtual G4double NNToNLK2pi(Particle const * const p1, Particle const * const p2) = 0;
0147       virtual G4double NNToNSK2pi(Particle const * const p1, Particle const * const p2) = 0;
0148       virtual G4double NNToNNKKb(Particle const * const p1, Particle const * const p2) = 0;
0149       virtual G4double NNToMissingStrangeness(Particle const * const p1, Particle const * const p2) = 0;
0150       
0151       /// \brief Nucleon-Delta to Stange particles cross sections
0152       virtual G4double NDeltaToNLK(Particle const * const p1, Particle const * const p2) = 0;
0153       virtual G4double NDeltaToNSK(Particle const * const p1, Particle const * const p2) = 0;
0154       virtual G4double NDeltaToDeltaLK(Particle const * const p1, Particle const * const p2) = 0;
0155       virtual G4double NDeltaToDeltaSK(Particle const * const p1, Particle const * const p2) = 0;
0156       
0157       virtual G4double NDeltaToNNKKb(Particle const * const p1, Particle const * const p2) = 0;
0158          
0159       /// \brief Nucleon-Pion to Stange particles cross sections
0160       virtual G4double NpiToLK(Particle const * const p1, Particle const * const p2) = 0;
0161       virtual G4double NpiToSK(Particle const * const p1, Particle const * const p2) = 0;
0162       virtual G4double p_pimToSzKz(Particle const * const p1, Particle const * const p2) = 0;
0163       virtual G4double p_pimToSmKp(Particle const * const p1, Particle const * const p2) = 0;
0164       virtual G4double p_pizToSzKp(Particle const * const p1, Particle const * const p2) = 0;
0165       virtual G4double NpiToLKpi(Particle const * const p1, Particle const * const p2) = 0;
0166       virtual G4double NpiToSKpi(Particle const * const p1, Particle const * const p2) = 0;
0167       virtual G4double NpiToLK2pi(Particle const * const p1, Particle const * const p2) = 0;
0168       virtual G4double NpiToSK2pi(Particle const * const p1, Particle const * const p2) = 0;
0169       virtual G4double NpiToNKKb(Particle const * const p1, Particle const * const p2) = 0;
0170       virtual G4double NpiToMissingStrangeness(Particle const * const p1, Particle const * const p2) = 0;
0171       
0172       /// \brief Nucleon-Hyperon cross sections
0173       virtual G4double NLToNS(Particle const * const p1, Particle const * const p2) = 0;
0174       virtual G4double NSToNL(Particle const * const p1, Particle const * const p2) = 0;
0175       virtual G4double NSToNS(Particle const * const p1, Particle const * const p2) = 0;
0176          
0177       /// \brief Nucleon-Kaon inelastic cross sections
0178       virtual G4double NKToNK(Particle const * const p1, Particle const * const p2) = 0;
0179       virtual G4double NKToNKpi(Particle const * const p1, Particle const * const p2) = 0;
0180       virtual G4double NKToNK2pi(Particle const * const p1, Particle const * const p2) = 0;
0181       
0182       /// \brief Nucleon-antiKaon inelastic cross sections
0183       virtual G4double NKbToNKb(Particle const * const p1, Particle const * const p2) = 0;
0184       virtual G4double NKbToSpi(Particle const * const p1, Particle const * const p2) = 0;
0185       virtual G4double NKbToLpi(Particle const * const p1, Particle const * const p2) = 0;
0186       virtual G4double NKbToS2pi(Particle const * const p1, Particle const * const p2) = 0;
0187       virtual G4double NKbToL2pi(Particle const * const p1, Particle const * const p2) = 0;
0188       virtual G4double NKbToNKbpi(Particle const * const p1, Particle const * const p2) = 0;
0189       virtual G4double NKbToNKb2pi(Particle const * const p1, Particle const * const p2) = 0;
0190       
0191       /// \brief NNbar Particles cross sections
0192       /// \brief Nucleon-AntiNucleon to Baryon-AntiBaryon cross sections
0193       virtual G4double NNbarElastic(Particle const* const p1, Particle const* const p2) = 0;
0194       virtual G4double NNbarCEX(Particle const* const p1, Particle const* const p2) = 0;
0195       
0196       virtual G4double NNbarToLLbar(Particle const * const p1, Particle const * const p2) = 0;
0197       
0198       /// \brief Nucleon-AntiNucleon to Nucleon-AntiNucleon + pions cross sections
0199       virtual G4double NNbarToNNbarpi(Particle const* const p1, Particle const* const p2) = 0;
0200       virtual G4double NNbarToNNbar2pi(Particle const* const p1, Particle const* const p2) = 0;
0201       virtual G4double NNbarToNNbar3pi(Particle const* const p1, Particle const* const p2) = 0;
0202      
0203       /// \brief Nucleon-AntiNucleon total annihilation cross sections
0204       virtual G4double NNbarToAnnihilation(Particle const* const p1, Particle const* const p2) = 0;
0205 
0206       /** \brief Calculate the slope of the NN DDXS.
0207        *
0208        * \param energyCM energy in the CM frame, in MeV
0209        * \param iso total isospin of the system
0210        *
0211        * \return the slope of the angular distribution
0212        */
0213       virtual G4double calculateNNAngularSlope(G4double energyCM, G4int iso) = 0;
0214 
0215   };
0216 }
0217 
0218 #endif