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 G4INCLCrossSectionsAntiparticles.hh
0039  * \brief Multipion, mesonic Resonances, strange cross sections and antinucleon as projectile
0040  *
0041  * \date 31st March 2023
0042  * \author Demid Zharenov
0043  */
0044 
0045 #ifndef G4INCLCROSSSECTIONSANTIPARTICLES_HH
0046 #define G4INCLCROSSSECTIONSANTIPARTICLES_HH
0047 
0048 #include "G4INCLCrossSectionsStrangeness.hh"
0049 #include "G4INCLConfig.hh"
0050 //#include <limits>
0051 
0052 namespace G4INCL {
0053   /// \brief Multipion, mesonic Resonances and strange cross sections
0054 
0055 //  class CrossSectionsAntiparticles : public CrossSectionsMultiPionsAndResonances {
0056   class CrossSectionsAntiparticles : public CrossSectionsStrangeness {
0057     public:
0058       CrossSectionsAntiparticles();
0059       
0060       /// \brief second new total particle-particle cross section
0061       virtual G4double total(Particle const * const p1, Particle const * const p2);
0062      
0063       /// \brief old elastic particle-particle cross section
0064       virtual G4double elastic(Particle const * const p1, Particle const * const p2);
0065     
0066       /// \brief Nucleon-AntiNucleon to Nucleon-AntiNucleon cross sections
0067       virtual G4double NNbarElastic(Particle const* const p1, Particle const* const p2);
0068       virtual G4double NNbarCEX(Particle const* const p1, Particle const* const p2);
0069 
0070       virtual G4double NNbarToLLbar(Particle const * const p1, Particle const * const p2);
0071       
0072       /// \brief Nucleon-AntiNucleon to Nucleon-AntiNucleon + pions cross sections
0073       virtual G4double NNbarToNNbarpi(Particle const* const p1, Particle const* const p2);
0074       virtual G4double NNbarToNNbar2pi(Particle const* const p1, Particle const* const p2);
0075       virtual G4double NNbarToNNbar3pi(Particle const* const p1, Particle const* const p2);
0076      
0077       /// \brief Nucleon-AntiNucleon total annihilation cross sections
0078       virtual G4double NNbarToAnnihilation(Particle const* const p1, Particle const* const p2);
0079          
0080   protected:
0081       /// \brief Maximum number of outgoing pions in NN collisions
0082       static const G4int nMaxPiNN;
0083       
0084       /// \brief Maximum number of outgoing pions in piN collisions
0085       static const G4int nMaxPiPiN;
0086       
0087       /// \brief Horner coefficients for s11pz
0088       const HornerC7 s11pzHC;
0089       /// \brief Horner coefficients for s01pp
0090       const HornerC8 s01ppHC;
0091       /// \brief Horner coefficients for s01pz
0092       const HornerC4 s01pzHC;
0093       /// \brief Horner coefficients for s11pm
0094       const HornerC4 s11pmHC;
0095       /// \brief Horner coefficients for s12pm
0096       const HornerC5 s12pmHC;
0097       /// \brief Horner coefficients for s12pp
0098       const HornerC3 s12ppHC;
0099       /// \brief Horner coefficients for s12zz
0100       const HornerC4 s12zzHC;
0101       /// \brief Horner coefficients for s02pz
0102       const HornerC4 s02pzHC;
0103       /// \brief Horner coefficients for s02pm
0104       const HornerC6 s02pmHC;
0105       /// \brief Horner coefficients for s12mz
0106       const HornerC4 s12mzHC;
0107       
0108   };
0109 }
0110 
0111 #endif