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: QGSP_BERT 00031 // 00032 // Author: 2002 J.P. Wellisch 00033 // 00034 // Modified: 00035 // 15.12.2005 G.Folger: migration to non static particles, rename components, 00036 // ordering of registrations 00037 // 08.06.2006 V.Ivanchenko: migration to CHIPS stopping 00038 // 15.06.2006 G.Folger: Migrate to HadronElasticPhysics using improved elastic 00039 // 26.04.2007 G.Folger: Enable quasielastic for QGS string model 00040 // 16.05.2007 V.Ivanchenko: rename EM builders 00041 // 04.06.2010 G.Folger: Use new ctor for builders 00042 // 16.08.2010 H.Kurashige: Remove inclusion of G4ParticleWithCuts 00043 // 16.10.2012 A.Ribon: Use new default stopping 00044 // 00045 //---------------------------------------------------------------------------- 00046 // 00047 00048 #include <iomanip> 00049 00050 #include "globals.hh" 00051 #include "G4ios.hh" 00052 #include "G4ProcessManager.hh" 00053 #include "G4ProcessVector.hh" 00054 #include "G4ParticleTypes.hh" 00055 #include "G4ParticleTable.hh" 00056 00057 #include "G4Material.hh" 00058 #include "G4MaterialTable.hh" 00059 00060 #include "G4DecayPhysics.hh" 00061 #include "G4EmStandardPhysics.hh" 00062 #include "G4EmExtraPhysics.hh" 00063 #include "G4IonPhysics.hh" 00064 #include "G4StoppingPhysics.hh" 00065 #include "G4HadronElasticPhysicsHP.hh" 00066 00067 #include "G4DataQuestionaire.hh" 00068 #include "HadronPhysicsQGSP_BERT_HP.hh" 00069 00070 template<class T> TQGSP_BERT_HP<T>::TQGSP_BERT_HP(G4int ver): T() 00071 { 00072 00073 G4DataQuestionaire it(photon, neutron); 00074 G4cout << "<<< Geant4 Physics List simulation engine: QGSP_BERT_HP 3.0"<<G4endl; 00075 G4cout <<G4endl<<G4endl; 00076 00077 this->defaultCutValue = 0.7*CLHEP::mm; 00078 this->SetVerboseLevel(ver); 00079 00080 // EM Physics 00081 this->RegisterPhysics( new G4EmStandardPhysics(ver) ); 00082 00083 // Synchroton Radiation & GN Physics 00084 this->RegisterPhysics( new G4EmExtraPhysics(ver) ); 00085 00086 // Decays 00087 this->RegisterPhysics( new G4DecayPhysics(ver) ); 00088 00089 // Hadron Elastic scattering 00090 this-> RegisterPhysics( new G4HadronElasticPhysicsHP(ver) ); 00091 00092 // Hadron Physics 00093 this->RegisterPhysics( new HadronPhysicsQGSP_BERT_HP(ver)); 00094 00095 // Stopping Physics 00096 this->RegisterPhysics( new G4StoppingPhysics(ver)); 00097 00098 // Ion Physics 00099 this->RegisterPhysics( new G4IonPhysics(ver)); 00100 00101 } 00102 00103 template<class T> TQGSP_BERT_HP<T>::~TQGSP_BERT_HP() 00104 { 00105 } 00106 00107 template<class T> void TQGSP_BERT_HP<T>::SetCuts() 00108 { 00109 if (this->verboseLevel >1){ 00110 G4cout << "QGSP_BERT_HP::SetCuts:"; 00111 } 00112 // " G4VUserPhysicsList::SetCutsWithDefault" method sets 00113 // the default cut value for all particle types 00114 00115 this->SetCutsWithDefault(); 00116 00117 // if (this->verboseLevel >0) 00118 // G4VUserPhysicsList::DumpCutValuesTable(); 00119 00120 00121 } 00122 00123 00124 00125 // 2002 by J.P. Wellisch