QGSP_BIC.icc

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

Generated on Mon May 27 17:50:32 2013 for Geant4 by  doxygen 1.4.7