Geant4 Cross Reference |
1 // 2 // ******************************************************************** 3 // * License and Disclaimer * 4 // * * 5 // * The Geant4 software is copyright of the Copyright Holders of * 6 // * the Geant4 Collaboration. It is provided under the terms and * 7 // * conditions of the Geant4 Software License, included in the file * 8 // * LICENSE and available at http://cern.ch/geant4/license . These * 9 // * include a list of copyright holders. * 10 // * * 11 // * Neither the authors of this software system, nor their employing * 12 // * institutes,nor the agencies providing financial support for this * 13 // * work make any representation or warranty, express or implied, * 14 // * regarding this software system or assume any liability for its * 15 // * use. Please see the license in the file LICENSE and URL above * 16 // * for the full disclaimer and the limitation of liability. * 17 // * * 18 // * This code implementation is the result of the scientific and * 19 // * technical work of the GEANT4 collaboration. * 20 // * By using, copying, modifying or distributing the software (or * 21 // * any work based on the software) you agree to acknowledge its * 22 // * use in resulting scientific publications, and indicate your * 23 // * acceptance of all terms of the Geant4 Software license. * 24 // ******************************************************************** 25 // 26 // 27 //--------------------------------------------------------------------------- 28 // 29 // ClassName: G4HadronPhysicsINCLXX 30 // 31 // Author: 2011 P. Kaitaniemi 32 // 33 // Modified: 34 // 19.07.2017 A. Dotti: Refactor code, following FTFP_BERT 35 // 22.05.2014 D. Mancusi: Extend INCL++ to 20 GeV 36 // 19.03.2013 A.Ribon: Replace LEP with FTFP and BERT 37 // 01.03.2013 D. Mancusi: Rename to G4HadronPhysicsINCLXX and introduce 38 // parameters for FTFP and NeutronHP 39 // 31.10.2012 A.Ribon: Use G4MiscBuilder 40 // 27.11.2011 P.Kaitaniemi: Created using QGSP_INCL_ABLA as a template 41 // 42 //---------------------------------------------------------------------------- 43 // 44 #ifndef G4HadronPhysicsINCLXX_h 45 #define G4HadronPhysicsINCLXX_h 1 46 47 #include "globals.hh" 48 #include "G4ios.hh" 49 50 #include "G4HadronPhysicsFTFP_BERT.hh" 51 52 /** 53 * Build hadronic physics using INCL++, high-energy models (QGSP or FTFP) and 54 * possibly NeutronHP. 55 * 56 * @see G4INCLXXProtonBuilder 57 * @see G4INCLXXNeutronBuilder 58 * @see G4INCLXXPionBuilder 59 * @see G4IonINCLXXBuilder 60 */ 61 62 class G4HadronPhysicsINCLXX : public G4HadronPhysicsFTFP_BERT 63 { 64 public: 65 G4HadronPhysicsINCLXX(G4int verbose =1); 66 G4HadronPhysicsINCLXX(const G4String& name, const G4bool quasiElastic=true, const G4bool neutronHP=false, const G4bool ftfp=false); 67 virtual ~G4HadronPhysicsINCLXX(); 68 69 void ConstructProcess() override; 70 71 void SetQuasiElastic(G4bool value) {QuasiElastic = value;}; 72 73 G4HadronPhysicsINCLXX(G4HadronPhysicsINCLXX &) = delete; 74 G4HadronPhysicsINCLXX & operator = 75 (const G4HadronPhysicsINCLXX &right) = delete; 76 77 protected: 78 void Neutron() override; 79 void Proton() override; 80 void Pion() override; 81 void Kaon() override; 82 void Others() override; 83 84 private: 85 G4bool withNeutronHP; 86 G4bool withFTFP; 87 }; 88 89 #endif 90 91