Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-04-05 07:50:08

0001 // ********************************************************************
0002 // * License and Disclaimer                                           *
0003 // *                                                                  *
0004 // * The  Geant4 software  is  copyright of the Copyright Holders  of *
0005 // * the Geant4 Collaboration.  It is provided  under  the terms  and *
0006 // * conditions of the Geant4 Software License,  included in the file *
0007 // * LICENSE and available at  http://cern.ch/geant4/license .  These *
0008 // * include a list of copyright holders.                             *
0009 // *                                                                  *
0010 // * Neither the authors of this software system, nor their employing *
0011 // * institutes,nor the agencies providing financial support for this *
0012 // * work  make  any representation or  warranty, express or implied, *
0013 // * regarding  this  software system or assume any liability for its *
0014 // * use.  Please see the license in the file  LICENSE  and URL above *
0015 // * for the full disclaimer and the limitation of liability.         *
0016 // *                                                                  *
0017 // * This  code  implementation is the result of  the  scientific and *
0018 // * technical work of the GEANT4 collaboration.                      *
0019 // * By using,  copying,  modifying or  distributing the software (or *
0020 // * any work based  on the software)  you  agree  to acknowledge its *
0021 // * use  in  resulting  scientific  publications,  and indicate your *
0022 // * acceptance of all terms of the Geant4 Software license.          *
0023 // ********************************************************************
0024 //
0025 /// \file HadronPhysicsCRMC_FTFP_BERT.hh
0026 /// \brief Definition of the HadronPhysicsCRMC_FTFP_BERT class
0027 
0028 //---------------------------------------------------------------------------
0029 //
0030 // ClassName: HadronPhysicsCRMC_FTFP_BERT
0031 //
0032 // Author:    2018 Alberto Ribon
0033 //
0034 // This is a variant of HadronPhysicsFTFP_BERT whereby CRMC is used
0035 // for modeling final-state for pion- , kaon- , proton- and neutron-
0036 // nuclear inelastic interactions at very high energies.
0037 // For other hadron projectile types (e.g. hyperons, antinucleons and
0038 // antihyperons) the usual FTFP_BERT approach is used at all energies.
0039 // The inelastic hadronic cross sections are, for all hadron projectiles
0040 // and energies, the usual ones (exactly as in FTFP_BERT).
0041 //
0042 // Modified:
0043 // -  18-May-2021 Alberto Ribon : Migrated to newer physics constructor
0044 //                                and used the latest Geant4-CRMC interface.
0045 //
0046 //----------------------------------------------------------------------------
0047 //
0048 #ifndef HadronPhysicsCRMC_FTFP_BERT_h
0049 #define HadronPhysicsCRMC_FTFP_BERT_h 1
0050 
0051 #include "G4HadronPhysicsFTFP_BERT.hh"
0052 
0053 class HadronPhysicsCRMC_FTFP_BERT : public G4HadronPhysicsFTFP_BERT
0054 {
0055   public:
0056     HadronPhysicsCRMC_FTFP_BERT(G4int verbose = 1);
0057     HadronPhysicsCRMC_FTFP_BERT(const G4String& name, G4bool quasiElastic = false);
0058     ~HadronPhysicsCRMC_FTFP_BERT() override;
0059 
0060     // copy constructor and hide assignment operator
0061     HadronPhysicsCRMC_FTFP_BERT(HadronPhysicsCRMC_FTFP_BERT&) = delete;
0062     HadronPhysicsCRMC_FTFP_BERT& operator=(const HadronPhysicsCRMC_FTFP_BERT& right) = delete;
0063 
0064   protected:
0065     virtual void Neutron() override;
0066     virtual void Proton() override;
0067     virtual void Pion() override;
0068     virtual void Kaon() override;
0069 
0070   private:
0071     G4int fModel;  // 0:EPOS-LHC, 1:EPOS-1.99, 2:QGSJET:01, 6:SIBYLL-2.3,
0072     static const std::array<std::string, 13>
0073       fModelNames;  // 7:QGSJETII-04, 11:QGSJETII-03, 12:DPMJET-3.06
0074     G4double fMinCRMC;
0075     G4double fMaxFTFP;
0076 };
0077 
0078 #endif