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 G4INCLCrossSectionsMultiPionsAndResonances.hh
0039  * \brief Multipion and mesonic Resonances cross sections
0040  *
0041  * \date 4th February 2014
0042  * \author Jean-Christophe David
0043  */
0044 
0045 #ifndef G4INCLCROSSSECTIONSMULTIPIONSANDRESONANCES_HH
0046 #define G4INCLCROSSSECTIONSMULTIPIONSANDRESONANCES_HH
0047 
0048 #include "G4INCLCrossSectionsMultiPions.hh"
0049 //#include <limits>
0050 
0051 namespace G4INCL {
0052   /// \brief Multipion and mesonic Resonances cross sections
0053 
0054   class CrossSectionsMultiPionsAndResonances : public CrossSectionsMultiPions {
0055     public:
0056       CrossSectionsMultiPionsAndResonances();
0057       
0058       /// \brief new elastic particle-particle cross section
0059       virtual G4double elastic(Particle const * const p1, Particle const * const p2);
0060       
0061       /// \brief new total particle-particle cross section
0062       virtual G4double total(Particle const * const p1, Particle const * const p2);
0063       
0064       /// \brief Cross section for X pion production - piN Channel (modified due to the mesonic resonances)
0065       virtual G4double piNToxPiN(const G4int xpi, Particle const * const p1, Particle const * const p2);
0066       
0067       /// \brief Cross sections for mesonic resonance production - piN Channel
0068       virtual G4double piNToEtaN(Particle const * const p1, Particle const * const p2);
0069       virtual G4double piNToOmegaN(Particle const * const p1, Particle const * const p2);
0070       virtual G4double piNToEtaPrimeN(Particle const * const p1, Particle const * const p2);
0071       
0072       /// \brief Cross sections for mesonic resonance absorption on nucleon - piN Channel
0073       virtual G4double etaNToPiN(Particle const * const p1, Particle const * const p2);
0074       virtual G4double omegaNToPiN(Particle const * const p1, Particle const * const p2);
0075       virtual G4double etaPrimeNToPiN(Particle const * const p1, Particle const * const p2);
0076 
0077                /// \brief Cross sections for mesonic resonance absorption on nucleon - pipiN Channel
0078                virtual G4double etaNToPiPiN(Particle const * const p1, Particle const * const p2);
0079             
0080       /// \brief Cross section for Eta production (inclusive) - NN entrance channel
0081       virtual G4double NNToNNEta(Particle const * const particle1, Particle const * const particle2);
0082             
0083       /// \brief Cross section for Eta production  (exclusive) - NN entrance channel
0084       virtual G4double NNToNNEtaExclu(Particle const * const particle1, Particle const * const particle2);
0085             
0086       /// \brief Cross section for Omega production (inclusive) - NN entrance channel
0087       virtual G4double NNToNNOmega(Particle const * const particle1, Particle const * const particle2);
0088             
0089       /// \brief Cross section for Omega production  (exclusive) - NN entrance channel
0090       virtual G4double NNToNNOmegaExclu(Particle const * const particle1, Particle const * const particle2);
0091       
0092       /// \brief Cross section for X pion production - NN Channel
0093       virtual G4double NNToxPiNN(const G4int xpi, Particle const * const p1, Particle const * const p2);
0094       
0095             /// \brief Cross section for X pion production - NNEta Channel
0096             virtual G4double NNToNNEtaxPi(const G4int xpi, Particle const * const p1, Particle const * const p2);
0097       
0098                /// \brief Cross section for N-Delta-Eta production - NNEta Channel
0099                virtual G4double NNToNDeltaEta(Particle const * const p1, Particle const * const p2);
0100       
0101       /// \brief Cross section for X pion production - NNOmega Channel
0102       virtual G4double NNToNNOmegaxPi(const G4int xpi, Particle const * const p1, Particle const * const p2);
0103       
0104       /// \brief Cross section for N-Delta-Eta production - NNOmega Channel
0105       virtual G4double NNToNDeltaOmega(Particle const * const p1, Particle const * const p2);
0106             
0107       
0108   protected:
0109       /// \brief Maximum number of outgoing pions in NN collisions
0110       static const G4int nMaxPiNN;
0111       
0112       /// \brief Maximum number of outgoing pions in piN collisions
0113       static const G4int nMaxPiPiN;
0114       
0115       /// \brief Horner coefficients for s11pz
0116       const HornerC7 s11pzHC;
0117       /// \brief Horner coefficients for s01pp
0118       const HornerC8 s01ppHC;
0119       /// \brief Horner coefficients for s01pz
0120       const HornerC4 s01pzHC;
0121       /// \brief Horner coefficients for s11pm
0122       const HornerC4 s11pmHC;
0123       /// \brief Horner coefficients for s12pm
0124       const HornerC5 s12pmHC;
0125       /// \brief Horner coefficients for s12pp
0126       const HornerC3 s12ppHC;
0127       /// \brief Horner coefficients for s12zz
0128       const HornerC4 s12zzHC;
0129       /// \brief Horner coefficients for s02pz
0130       const HornerC4 s02pzHC;
0131       /// \brief Horner coefficients for s02pm
0132       const HornerC6 s02pmHC;
0133       /// \brief Horner coefficients for s12mz
0134       const HornerC4 s12mzHC;
0135       
0136       /// \brief One over threshold for s11pz
0137       static const G4double s11pzOOT;
0138       /// \brief One over threshold for s01pp
0139       static const G4double s01ppOOT;
0140       /// \brief One over threshold for s01pz
0141       static const G4double s01pzOOT;
0142       /// \brief One over threshold for s11pm
0143       static const G4double s11pmOOT;
0144       /// \brief One over threshold for s12pm
0145       static const G4double s12pmOOT;
0146       /// \brief One over threshold for s12pp
0147       static const G4double s12ppOOT;
0148       /// \brief One over threshold for s12zz
0149       static const G4double s12zzOOT;
0150       /// \brief One over threshold for s02pz
0151       static const G4double s02pzOOT;
0152       /// \brief One over threshold for s02pm
0153       static const G4double s02pmOOT;
0154       /// \brief One over threshold for s12mz
0155       static const G4double s12mzOOT;
0156       
0157       
0158       /// \brief Internal function for pion cross sections
0159       G4double piMinuspToEtaN(Particle const * const p1, Particle const * const p2);
0160       G4double piMinuspToEtaN(const G4double ECM);
0161       G4double piMinuspToOmegaN(Particle const * const p1, Particle const * const p2);
0162       G4double piMinuspToOmegaN(const G4double ECM);
0163 //      G4double piPluspOnePi(Particle const * const p1, Particle const * const p2);
0164 //    G4double piMinuspOnePi(Particle const * const p1, Particle const * const p2);
0165 //      G4double piPluspTwoPi(Particle const * const p1, Particle const * const p2);
0166 //    G4double piMinuspTwoPi(Particle const * const p1, Particle const * const p2);
0167 
0168       /// \brief Cross section for One (more) pion production - piN entrance channel
0169 //      virtual G4double piNOnePi(Particle const * const p1, Particle const * const p2);
0170       
0171       /// \brief Cross section for Two (more) pion production - piN entrance channel
0172 //      virtual G4double piNTwoPi(Particle const * const p1, Particle const * const p2);
0173       
0174       /// \brief Cross section for Three (more) pion production - piN entrance channel
0175       ///virtual G4double piNThreePi(Particle const * const p1, Particle const * const p2);
0176       
0177             /// \brief Isotopic Cross section for Eta production (inclusive) - NN entrance channel
0178             virtual G4double NNToNNEtaIso(const G4double ener, const G4int iso);
0179       
0180            /// \brief Isotopic Cross section for Eta production (exclusive) - NN entrance channel
0181             virtual G4double NNToNNEtaExcluIso(const G4double ener, const G4int iso);
0182             
0183             /// \brief Cross section for direct 1-pion production - NNEta  channel
0184                virtual G4double NNToNNEtaOnePi(Particle const * const part1, Particle const * const part2);
0185                         /// \brief Cross section for direct 1-pion production - NNEta  channel
0186             virtual G4double NNToNNEtaOnePiOrDelta(Particle const * const part1, Particle const * const part2);
0187                /// \brief Cross section for direct 2-pion production - NNEta  channel
0188             virtual G4double NNToNNEtaTwoPi(Particle const * const part1, Particle const * const part2);
0189             /// \brief Cross section for direct 3-pion production - NNEta  channel
0190             virtual G4double NNToNNEtaThreePi(Particle const * const part1, Particle const * const part2);
0191             /// \brief Cross section for direct 4-pion production - NNEta  channel
0192             virtual G4double NNToNNEtaFourPi(Particle const * const part1, Particle const * const part2);
0193 
0194       
0195       /// \brief Isotopic Cross section for Omega production (inclusive) - NN entrance channel
0196       virtual G4double NNToNNOmegaIso(const G4double ener, const G4int iso);
0197       
0198       /// \brief Isotopic Cross section for Omega production (exclusive) - NN entrance channel
0199       virtual G4double NNToNNOmegaExcluIso(const G4double ener, const G4int iso);
0200             
0201       /// \brief Cross section for direct 1-pion production - NNOmega  channel
0202       virtual G4double NNToNNOmegaOnePi(Particle const * const part1, Particle const * const part2);
0203       /// \brief Cross section for direct 1-pion production - NNOmega  channel
0204       virtual G4double NNToNNOmegaOnePiOrDelta(Particle const * const part1, Particle const * const part2);
0205       /// \brief Cross section for direct 2-pion production - NNOmega  channel
0206       virtual G4double NNToNNOmegaTwoPi(Particle const * const part1, Particle const * const part2);
0207       /// \brief Cross section for direct 3-pion production - NNOmega  channel
0208       virtual G4double NNToNNOmegaThreePi(Particle const * const part1, Particle const * const part2);
0209       /// \brief Cross section for direct 4-pion production - NNOmega  channel
0210       virtual G4double NNToNNOmegaFourPi(Particle const * const part1, Particle const * const part2);
0211    
0212             
0213             /// \brief Cross sections for mesonic resonance absorption on nucleon - elastic Channel
0214             virtual G4double etaNElastic(Particle const * const p1, Particle const * const p2);                 
0215       virtual G4double omegaNElastic(Particle const * const p1, Particle const * const p2);                 
0216 
0217             
0218       /// \brief Cross sections for mesonic resonance absorption on nucleon - inelastic Channel
0219       virtual G4double omegaNInelastic(Particle const * const p1, Particle const * const p2);                   
0220             
0221       /// \brief Cross sections for omega-induced 2Pi emission on nucleon
0222       virtual G4double omegaNToPiPiN(Particle const * const p1, Particle const * const p2);                 
0223    
0224         };
0225 }
0226 
0227 #endif