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 G4INCLCrossSectionsStrangeness.hh
0039  * \brief Multipion, mesonic Resonances and strange cross sections
0040  *
0041  * \date 1st March 2016
0042  * \author Jason Hirtz
0043  */
0044 
0045 #ifndef G4INCLCROSSSECTIONSSTRANGENESS_HH
0046 #define G4INCLCROSSSECTIONSSTRANGENESS_HH
0047 
0048 #include "G4INCLCrossSectionsMultiPionsAndResonances.hh"
0049 #include "G4INCLConfig.hh"
0050 //#include <limits>
0051 
0052 namespace G4INCL {
0053   /// \brief Multipion, mesonic Resonances and strange cross sections
0054 
0055   class CrossSectionsStrangeness : public CrossSectionsMultiPionsAndResonances {
0056     public:
0057       CrossSectionsStrangeness();
0058       
0059       /// \brief second new total particle-particle cross section
0060       virtual G4double total(Particle const * const p1, Particle const * const p2);
0061       
0062       /// \brief second new elastic particle-particle cross section
0063       virtual G4double elastic(Particle const * const p1, Particle const * const p2);
0064       
0065       /// \brief correction to old cross section
0066       virtual G4double piNToxPiN(const G4int xpi, Particle const * const p1, Particle const * const p2);
0067       virtual G4double NNToxPiNN(const G4int xpi, Particle const * const p1, Particle const * const p2);
0068       
0069       /// \brief elastic scattering for Nucleon-Strange Particles cross sections
0070       virtual G4double NYelastic(Particle const * const p1, Particle const * const p2);
0071       virtual G4double NKbelastic(Particle const * const p1, Particle const * const p2);
0072       virtual G4double NKelastic(Particle const * const p1, Particle const * const p2);
0073       
0074       /// \brief Nucleon-Nucleon to Stange particles cross sections
0075       virtual G4double NNToNLK(Particle const * const p1, Particle const * const p2);
0076       virtual G4double NNToNSK(Particle const * const p1, Particle const * const p2);
0077       virtual G4double NNToNLKpi(Particle const * const p1, Particle const * const p2);
0078       virtual G4double NNToNSKpi(Particle const * const p1, Particle const * const p2);
0079       virtual G4double NNToNLK2pi(Particle const * const p1, Particle const * const p2);
0080       virtual G4double NNToNSK2pi(Particle const * const p1, Particle const * const p2);
0081       virtual G4double NNToNNKKb(Particle const * const p1, Particle const * const p2);
0082       
0083       virtual G4double NNToMissingStrangeness(Particle const * const p1, Particle const * const p2);
0084       
0085       /// \brief Nucleon-Delta to Stange particles cross sections
0086       virtual G4double NDeltaToNLK(Particle const * const p1, Particle const * const p2);
0087       virtual G4double NDeltaToNSK(Particle const * const p1, Particle const * const p2);
0088       virtual G4double NDeltaToDeltaLK(Particle const * const p1, Particle const * const p2);
0089       virtual G4double NDeltaToDeltaSK(Particle const * const p1, Particle const * const p2);
0090       
0091       virtual G4double NDeltaToNNKKb(Particle const * const p1, Particle const * const p2);
0092       
0093       /// \brief Nucleon-Pion to Stange particles cross sections
0094       virtual G4double NpiToLK(Particle const * const p1, Particle const * const p2);
0095           G4double p_pimToLK0(Particle const * const p1, Particle const * const p2);
0096       virtual G4double NpiToSK(Particle const * const p1, Particle const * const p2);
0097           G4double p_pipToSpKp(Particle const * const p1, Particle const * const p2);
0098           virtual G4double p_pimToSzKz(Particle const * const p1, Particle const * const p2);
0099           virtual G4double p_pimToSmKp(Particle const * const p1, Particle const * const p2);
0100           virtual G4double p_pizToSzKp(Particle const * const p1, Particle const * const p2);
0101       virtual G4double NpiToLKpi(Particle const * const p1, Particle const * const p2);
0102       virtual G4double NpiToSKpi(Particle const * const p1, Particle const * const p2);
0103       virtual G4double NpiToLK2pi(Particle const * const p1, Particle const * const p2);
0104       virtual G4double NpiToSK2pi(Particle const * const p1, Particle const * const p2);
0105       virtual G4double NpiToNKKb(Particle const * const p1, Particle const * const p2);
0106       
0107       virtual G4double NpiToMissingStrangeness(Particle const * const p1, Particle const * const p2);
0108       
0109       /// \brief Nucleon-Hyperon quasi-elastic cross sections
0110       virtual G4double NLToNS(Particle const * const p1, Particle const * const p2);
0111       virtual G4double NSToNL(Particle const * const p1, Particle const * const p2);
0112       virtual G4double NSToNS(Particle const * const p1, Particle const * const p2);
0113       
0114       /// \brief Nucleon-Kaon cross sections
0115       virtual G4double NKToNK(Particle const * const p1, Particle const * const p2);
0116       virtual G4double NKToNKpi(Particle const * const p1, Particle const * const p2);
0117       virtual G4double NKToNK2pi(Particle const * const p1, Particle const * const p2);
0118       
0119       /// \brief Nucleon-antiKaon cross sections
0120       virtual G4double NKbToNKb(Particle const * const p1, Particle const * const p2);
0121       virtual G4double NKbToSpi(Particle const * const p1, Particle const * const p2);
0122       virtual G4double NKbToLpi(Particle const * const p1, Particle const * const p2);
0123           virtual G4double p_kmToL_pz(Particle const * const p1, Particle const * const p2);
0124       virtual G4double NKbToS2pi(Particle const * const p1, Particle const * const p2);
0125       virtual G4double NKbToL2pi(Particle const * const p1, Particle const * const p2);
0126           virtual G4double p_kmToL_pp_pm(Particle const * const p1, Particle const * const p2);
0127       virtual G4double NKbToNKbpi(Particle const * const p1, Particle const * const p2);
0128       virtual G4double NKbToNKb2pi(Particle const * const p1, Particle const * const p2);
0129    
0130   protected:
0131       /// \brief Maximum number of outgoing pions in NN collisions
0132       static const G4int nMaxPiNN;
0133       
0134       /// \brief Maximum number of outgoing pions in piN collisions
0135       static const G4int nMaxPiPiN;
0136       
0137       /// \brief Horner coefficients for s11pz
0138       const HornerC7 s11pzHC;
0139       /// \brief Horner coefficients for s01pp
0140       const HornerC8 s01ppHC;
0141       /// \brief Horner coefficients for s01pz
0142       const HornerC4 s01pzHC;
0143       /// \brief Horner coefficients for s11pm
0144       const HornerC4 s11pmHC;
0145       /// \brief Horner coefficients for s12pm
0146       const HornerC5 s12pmHC;
0147       /// \brief Horner coefficients for s12pp
0148       const HornerC3 s12ppHC;
0149       /// \brief Horner coefficients for s12zz
0150       const HornerC4 s12zzHC;
0151       /// \brief Horner coefficients for s02pz
0152       const HornerC4 s02pzHC;
0153       /// \brief Horner coefficients for s02pm
0154       const HornerC6 s02pmHC;
0155       /// \brief Horner coefficients for s12mz
0156       const HornerC4 s12mzHC;
0157       
0158 
0159   };
0160 }
0161 
0162 #endif