Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-08-31 09:11:24

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 //
0027 //---------------------------------------------------------------------------
0028 //
0029 // ClassName:   G4HadronPhysicsQGSP_BERT
0030 //
0031 // Author: 2002 J.P. Wellisch
0032 //
0033 // Modified:
0034 // 23.11.2005 G.Folger: migration to non static particles
0035 // 08.06.2006 V.Ivanchenko: remove stopping
0036 // 25.04.2007 G.Folger: Add quasielastic option, use this by default
0037 // 10.12.2007 G.Folger: Add projectilediffrative option for proton/neutron, off by default
0038 // 31.10.2012 A.Ribon: Use G4MiscBuilder
0039 // 19.03.2013 A.Ribon: Replace LEP with FTFP
0040 // 25.08.2020 V.Ivanchenko change design using G4HadProcess utility
0041 // 25.10.2025 V.Ivanchenko made this class to be base for QGSP family
0042 //
0043 //----------------------------------------------------------------------------
0044 //
0045 #ifndef G4HadronPhysicsQGSP_BERT_h
0046 #define G4HadronPhysicsQGSP_BERT_h 1
0047 
0048 #include "globals.hh"
0049 
0050 #include "G4VPhysicsConstructor.hh"
0051 
0052 class G4HadronPhysicsQGSP_BERT : public G4VPhysicsConstructor
0053 {
0054   public: 
0055     G4HadronPhysicsQGSP_BERT(G4int verbose =1);
0056     G4HadronPhysicsQGSP_BERT(const G4String& name, G4bool quasiElastic = true);
0057     ~G4HadronPhysicsQGSP_BERT() override = default;
0058 
0059     void ConstructParticle() override;
0060     void ConstructProcess() override;
0061 
0062     // copy constructor and hide assignment operator
0063     G4HadronPhysicsQGSP_BERT(G4HadronPhysicsQGSP_BERT &) = delete;
0064     G4HadronPhysicsQGSP_BERT & operator =
0065     (const G4HadronPhysicsQGSP_BERT &right) = delete;
0066 
0067   protected:
0068     void CreateModels();
0069     virtual void Neutron();
0070     virtual void Proton();
0071     virtual void PiK();
0072     virtual void Others();
0073     virtual void DumpBanner();
0074 
0075     G4double minQGSP_proton;
0076     G4double minQGSP_neutron;
0077     G4double minQGSP_pik;
0078     G4double minFTFP_proton;
0079     G4double minFTFP_neutron;
0080     G4double minFTFP_pik;
0081     G4double maxFTFP_proton;
0082     G4double maxFTFP_neutron;
0083     G4double maxFTFP_pik;
0084     G4double minBERT_proton{0.0};
0085     G4double minBERT_neutron{0.0};
0086     G4double minBERT_pik{0.0};
0087     G4double maxBERT_proton;
0088     G4double maxBERT_neutron;
0089     G4double maxBERT_pik;
0090     G4double maxBIC_proton{0.0};
0091     G4double maxBIC_neutron{0.0};
0092     G4double minBIC_neutron{0.0};
0093 
0094     G4bool QuasiElasticFTF{false}; // Use built-in quasi-elastic (not add-on)
0095     G4bool QuasiElasticQGS{true};  // For QGS, it must use it
0096 };
0097 
0098 #endif
0099