Back to home page

EIC code displayed by LXR

 
 

    


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

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 OmegaN->PiN
0095       virtual G4double omegaNToPiN(Particle const * const p1, Particle const * const p2) = 0;
0096    
0097       /// \brief Cross section for OmegaN->PiPiN
0098       virtual G4double omegaNToPiPiN(Particle const * const p1, Particle const * const p2) = 0;
0099    
0100       /// \brief Cross section for EtaPrimeN->PiN
0101       virtual G4double etaPrimeNToPiN(Particle const * const p1, Particle const * const p2) = 0;
0102     
0103       /// \brief Cross section for NN->NNEta (inclusive)
0104       virtual G4double NNToNNEta(Particle const * const p1, Particle const * const p2) = 0;
0105     
0106       /// \brief Cross section for NN->NNEta (exclusive)
0107       virtual G4double NNToNNEtaExclu(Particle const * const p1, Particle const * const p2) = 0;
0108       
0109       /// \brief Cross section for NN->NNEtaxPi
0110       virtual G4double NNToNNEtaxPi(const G4int xpi, Particle const * const p1, Particle const * const p2) = 0;
0111     
0112       /// \brief Cross section for N-Delta-Eta production - NNEta Channel
0113       virtual G4double NNToNDeltaEta(Particle const * const p1, Particle const * const p2) = 0;
0114          
0115       /// \brief Cross section for NN->NNEta (inclusive)
0116       virtual G4double NNToNNOmega(Particle const * const p1, Particle const * const p2) = 0;
0117     
0118       /// \brief Cross section for NN->NNEta (exclusive)
0119       virtual G4double NNToNNOmegaExclu(Particle const * const p1, Particle const * const p2) = 0;
0120       
0121       /// \brief Cross section for NN->NNEtaxPi
0122       virtual G4double NNToNNOmegaxPi(const G4int xpi, Particle const * const p1, Particle const * const p2) = 0;
0123     
0124       /// \brief Cross section for N-Delta-Eta production - NNEta Channel
0125       virtual G4double NNToNDeltaOmega(Particle const * const p1, Particle const * const p2) = 0;
0126       
0127       
0128       /// \brief elastic scattering for Nucleon-Strange Particles cross sections
0129       virtual G4double NYelastic(Particle const * const p1, Particle const * const p2) = 0;
0130       virtual G4double NKbelastic(Particle const * const p1, Particle const * const p2) = 0;
0131       virtual G4double NKelastic(Particle const * const p1, Particle const * const p2) = 0;
0132       
0133       /// \brief Nucleon-Nucleon to Stange particles cross sections
0134       virtual G4double NNToNLK(Particle const * const p1, Particle const * const p2) = 0;
0135       virtual G4double NNToNSK(Particle const * const p1, Particle const * const p2) = 0;
0136       virtual G4double NNToNLKpi(Particle const * const p1, Particle const * const p2) = 0;
0137       virtual G4double NNToNSKpi(Particle const * const p1, Particle const * const p2) = 0;
0138       virtual G4double NNToNLK2pi(Particle const * const p1, Particle const * const p2) = 0;
0139       virtual G4double NNToNSK2pi(Particle const * const p1, Particle const * const p2) = 0;
0140       virtual G4double NNToNNKKb(Particle const * const p1, Particle const * const p2) = 0;
0141       virtual G4double NNToMissingStrangeness(Particle const * const p1, Particle const * const p2) = 0;
0142       
0143       /// \brief Nucleon-Delta to Stange particles cross sections
0144       virtual G4double NDeltaToNLK(Particle const * const p1, Particle const * const p2) = 0;
0145       virtual G4double NDeltaToNSK(Particle const * const p1, Particle const * const p2) = 0;
0146       virtual G4double NDeltaToDeltaLK(Particle const * const p1, Particle const * const p2) = 0;
0147       virtual G4double NDeltaToDeltaSK(Particle const * const p1, Particle const * const p2) = 0;
0148       
0149       virtual G4double NDeltaToNNKKb(Particle const * const p1, Particle const * const p2) = 0;
0150          
0151       /// \brief Nucleon-Pion to Stange particles cross sections
0152       virtual G4double NpiToLK(Particle const * const p1, Particle const * const p2) = 0;
0153       virtual G4double NpiToSK(Particle const * const p1, Particle const * const p2) = 0;
0154       virtual G4double p_pimToSzKz(Particle const * const p1, Particle const * const p2) = 0;
0155       virtual G4double p_pimToSmKp(Particle const * const p1, Particle const * const p2) = 0;
0156       virtual G4double p_pizToSzKp(Particle const * const p1, Particle const * const p2) = 0;
0157       virtual G4double NpiToLKpi(Particle const * const p1, Particle const * const p2) = 0;
0158       virtual G4double NpiToSKpi(Particle const * const p1, Particle const * const p2) = 0;
0159       virtual G4double NpiToLK2pi(Particle const * const p1, Particle const * const p2) = 0;
0160       virtual G4double NpiToSK2pi(Particle const * const p1, Particle const * const p2) = 0;
0161       virtual G4double NpiToNKKb(Particle const * const p1, Particle const * const p2) = 0;
0162       virtual G4double NpiToMissingStrangeness(Particle const * const p1, Particle const * const p2) = 0;
0163       
0164       /// \brief Nucleon-Hyperon cross sections
0165       virtual G4double NLToNS(Particle const * const p1, Particle const * const p2) = 0;
0166       virtual G4double NSToNL(Particle const * const p1, Particle const * const p2) = 0;
0167       virtual G4double NSToNS(Particle const * const p1, Particle const * const p2) = 0;
0168          
0169       /// \brief Nucleon-Kaon inelastic cross sections
0170       virtual G4double NKToNK(Particle const * const p1, Particle const * const p2) = 0;
0171       virtual G4double NKToNKpi(Particle const * const p1, Particle const * const p2) = 0;
0172       virtual G4double NKToNK2pi(Particle const * const p1, Particle const * const p2) = 0;
0173       
0174       /// \brief Nucleon-antiKaon inelastic cross sections
0175       virtual G4double NKbToNKb(Particle const * const p1, Particle const * const p2) = 0;
0176       virtual G4double NKbToSpi(Particle const * const p1, Particle const * const p2) = 0;
0177       virtual G4double NKbToLpi(Particle const * const p1, Particle const * const p2) = 0;
0178       virtual G4double NKbToS2pi(Particle const * const p1, Particle const * const p2) = 0;
0179       virtual G4double NKbToL2pi(Particle const * const p1, Particle const * const p2) = 0;
0180       virtual G4double NKbToNKbpi(Particle const * const p1, Particle const * const p2) = 0;
0181       virtual G4double NKbToNKb2pi(Particle const * const p1, Particle const * const p2) = 0;
0182       
0183       /// \brief NNbar Particles cross sections
0184       /// \brief Nucleon-AntiNucleon to Baryon-AntiBaryon cross sections
0185       virtual G4double NNbarElastic(Particle const* const p1, Particle const* const p2) = 0;
0186       virtual G4double NNbarCEX(Particle const* const p1, Particle const* const p2) = 0;
0187       
0188       virtual G4double NNbarToLLbar(Particle const * const p1, Particle const * const p2) = 0;
0189       
0190       /// \brief Nucleon-AntiNucleon to Nucleon-AntiNucleon + pions cross sections
0191       virtual G4double NNbarToNNbarpi(Particle const* const p1, Particle const* const p2) = 0;
0192       virtual G4double NNbarToNNbar2pi(Particle const* const p1, Particle const* const p2) = 0;
0193       virtual G4double NNbarToNNbar3pi(Particle const* const p1, Particle const* const p2) = 0;
0194      
0195       /// \brief Nucleon-AntiNucleon total annihilation cross sections
0196       virtual G4double NNbarToAnnihilation(Particle const* const p1, Particle const* const p2) = 0;
0197 
0198       /** \brief Calculate the slope of the NN DDXS.
0199        *
0200        * \param energyCM energy in the CM frame, in MeV
0201        * \param iso total isospin of the system
0202        *
0203        * \return the slope of the angular distribution
0204        */
0205       virtual G4double calculateNNAngularSlope(G4double energyCM, G4int iso) = 0;
0206 
0207   };
0208 }
0209 
0210 #endif