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: HadronPhysicsQGSP_BERT_NOLEP 00031 // 00032 // Author: 2008 G.Folger 00033 // created from HadronPhysicsQGSP_BERT 00034 // Modified: 00035 // 15.10.2005 G.Folger: first version 00036 // 31.10.2012 A.Ribon: Use G4MiscBuilder 00037 // 00038 //---------------------------------------------------------------------------- 00039 // 00040 #ifndef HadronPhysicsQGSP_BERT_NOLEP_h 00041 #define HadronPhysicsQGSP_BERT_NOLEP_h 1 00042 00043 #include "globals.hh" 00044 #include "G4ios.hh" 00045 00046 #include "G4VPhysicsConstructor.hh" 00047 #include "G4MiscBuilder.hh" 00048 00049 #include "G4PiKBuilder.hh" 00050 #include "G4QGSPPiKBuilder.hh" 00051 #include "G4BertiniPiKBuilder.hh" 00052 00053 #include "G4ProtonBuilder.hh" 00054 #include "G4QGSPProtonBuilder.hh" 00055 #include "G4BertiniProtonBuilder.hh" 00056 00057 #include "G4NeutronBuilder.hh" 00058 #include "G4LEPNeutronBuilder.hh" 00059 #include "G4QGSPNeutronBuilder.hh" 00060 #include "G4BertiniNeutronBuilder.hh" 00061 00062 class HadronPhysicsQGSP_BERT_NOLEP : public G4VPhysicsConstructor 00063 { 00064 public: 00065 HadronPhysicsQGSP_BERT_NOLEP(G4int verbose =1); 00066 HadronPhysicsQGSP_BERT_NOLEP(const G4String& name, G4bool quasiElastic=true); 00067 virtual ~HadronPhysicsQGSP_BERT_NOLEP(); 00068 00069 public: 00070 virtual void ConstructParticle(); 00071 virtual void ConstructProcess(); 00072 00073 void SetQuasiElastic(G4bool value) {QuasiElastic = value;}; 00074 void SetProjectileDiffraction(G4bool value) {ProjectileDiffraction = value;}; 00075 00076 private: 00077 void CreateModels(); 00078 G4NeutronBuilder * theNeutrons; 00079 G4LEPNeutronBuilder * theLEPNeutron; 00080 G4QGSPNeutronBuilder * theQGSPNeutron; 00081 G4BertiniNeutronBuilder * theBertiniNeutron; 00082 00083 G4PiKBuilder * thePiK; 00084 G4QGSPPiKBuilder * theQGSPPiK; 00085 G4BertiniPiKBuilder * theBertiniPiK; 00086 00087 G4ProtonBuilder * thePro; 00088 G4QGSPProtonBuilder * theQGSPPro; 00089 G4BertiniProtonBuilder * theBertiniPro; 00090 00091 G4MiscBuilder * theMisc; 00092 00093 G4bool QuasiElastic; 00094 G4bool ProjectileDiffraction; 00095 }; 00096 00097 #endif 00098