Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:58:22

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:   G4HadronPhysicsINCLXX
0030 //
0031 // Author: 2011 P. Kaitaniemi
0032 //
0033 // Modified:
0034 // 19.07.2017 A. Dotti: Refactor code, following FTFP_BERT
0035 // 22.05.2014 D. Mancusi: Extend INCL++ to 20 GeV
0036 // 19.03.2013 A.Ribon: Replace LEP with FTFP and BERT
0037 // 01.03.2013 D. Mancusi: Rename to G4HadronPhysicsINCLXX and introduce
0038 //                        parameters for FTFP and NeutronHP
0039 // 31.10.2012 A.Ribon: Use G4MiscBuilder
0040 // 27.11.2011 P.Kaitaniemi: Created using QGSP_INCL_ABLA as a template
0041 //
0042 //----------------------------------------------------------------------------
0043 //
0044 #ifndef G4HadronPhysicsINCLXX_h
0045 #define G4HadronPhysicsINCLXX_h 1
0046 
0047 #include "globals.hh"
0048 #include "G4ios.hh"
0049 
0050 #include "G4HadronPhysicsFTFP_BERT.hh"
0051 
0052 /**
0053  * Build hadronic physics using INCL++, high-energy models (QGSP or FTFP) and
0054  * possibly NeutronHP.
0055  *
0056  * @see G4INCLXXProtonBuilder
0057  * @see G4INCLXXNeutronBuilder
0058  * @see G4INCLXXPionBuilder
0059  * @see G4IonINCLXXBuilder
0060  */
0061 
0062 class G4HadronPhysicsINCLXX : public G4HadronPhysicsFTFP_BERT
0063 {
0064   public: 
0065     G4HadronPhysicsINCLXX(G4int verbose =1);
0066     G4HadronPhysicsINCLXX(const G4String& name, const G4bool quasiElastic=true, const G4bool neutronHP=false, const G4bool ftfp=false);
0067     virtual ~G4HadronPhysicsINCLXX();
0068 
0069     void ConstructProcess() override;
0070 
0071     void SetQuasiElastic(G4bool value) {QuasiElastic = value;}; 
0072 
0073     G4HadronPhysicsINCLXX(G4HadronPhysicsINCLXX &) = delete;
0074     G4HadronPhysicsINCLXX & operator =
0075     (const G4HadronPhysicsINCLXX &right) = delete;
0076 
0077   protected:
0078     void Neutron() override;
0079     void Proton() override;
0080     void Pion() override;
0081     void Kaon() override;
0082     void Others() override;
0083 
0084   private:
0085     G4bool withNeutronHP;
0086     G4bool withFTFP;
0087 };
0088 
0089 #endif
0090