00001 // 00002 // ******************************************************************** 00003 // * License and Disclaimer * 00004 // * * 00005 // * The Geant4 software is copyright of the Copyright Holders of * 00006 // * the Geant4 Collaboration. It is provided under the terms and * 00007 // * conditions of the Geant4 Software License, included in the file * 00008 // * LICENSE and available at http://cern.ch/geant4/license . These * 00009 // * include a list of copyright holders. * 00010 // * * 00011 // * Neither the authors of this software system, nor their employing * 00012 // * institutes,nor the agencies providing financial support for this * 00013 // * work make any representation or warranty, express or implied, * 00014 // * regarding this software system or assume any liability for its * 00015 // * use. Please see the license in the file LICENSE and URL above * 00016 // * for the full disclaimer and the limitation of liability. * 00017 // * * 00018 // * This code implementation is the result of the scientific and * 00019 // * technical work of the GEANT4 collaboration. * 00020 // * By using, copying, modifying or distributing the software (or * 00021 // * any work based on the software) you agree to acknowledge its * 00022 // * use in resulting scientific publications, and indicate your * 00023 // * acceptance of all terms of the Geant4 Software license. * 00024 // ******************************************************************** 00025 // 00026 // $Id$ 00027 // 00028 //--------------------------------------------------------------------------- 00029 // 00030 // ClassName: HadronPhysicsLHEP 00031 // 00032 // Author: 2002 J.P. Wellisch 00033 // 00034 // Modified: 00035 // 21.11.2005 G.Folger: don't keep processes as data members, but new these 00036 // 16.10.2012 A.Ribon: renamed stopping builder 00037 // 00038 //---------------------------------------------------------------------------- 00039 // 00040 #ifndef HadronPhysicsLHEP_h 00041 #define HadronPhysicsLHEP_h 1 00042 00043 #include "globals.hh" 00044 #include "G4ios.hh" 00045 00046 #include "G4VPhysicsConstructor.hh" 00047 #include "G4LHEPStoppingHadronBuilder.hh" 00048 #include "G4MiscLHEPBuilder.hh" 00049 00050 #include "G4LHEPPiKBuilder.hh" 00051 #include "G4PiKBuilder.hh" 00052 00053 #include "G4ProtonBuilder.hh" 00054 #include "G4LHEPProtonBuilder.hh" 00055 00056 #include "G4NeutronBuilder.hh" 00057 #include "G4LHEPNeutronBuilder.hh" 00058 00059 class HadronPhysicsLHEP : public G4VPhysicsConstructor 00060 { 00061 public: 00062 HadronPhysicsLHEP(G4int verbose =1); 00063 HadronPhysicsLHEP(const G4String& name); 00064 virtual ~HadronPhysicsLHEP(); 00065 00066 public: 00067 virtual void ConstructParticle(); 00068 virtual void ConstructProcess(); 00069 00070 private: 00071 void CreateModels(); 00072 G4NeutronBuilder * theNeutrons; 00073 G4LHEPNeutronBuilder * theLHEPNeutron; 00074 00075 G4PiKBuilder * thePiK; 00076 G4LHEPPiKBuilder * theLHEPPiK; 00077 00078 G4ProtonBuilder * thePro; 00079 G4LHEPProtonBuilder * theLHEPPro; 00080 00081 G4MiscLHEPBuilder * theMiscLHEP; 00082 G4LHEPStoppingHadronBuilder * theStoppingHadron; 00083 }; 00084 00085 // 2002 by J.P. Wellisch 00086 00087 #endif 00088