QGSP_BERT_95.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 // Modified:
00031 //
00032 //---------------------------------------------------------------------------
00033 
00034 #include <iomanip>   
00035 
00036 #include "globals.hh"
00037 #include "G4ios.hh"
00038 #include "G4ProcessManager.hh"
00039 #include "G4ProcessVector.hh"
00040 #include "G4ParticleTypes.hh"
00041 #include "G4ParticleTable.hh"
00042 
00043 #include "G4Material.hh"
00044 #include "G4MaterialTable.hh"
00045 
00046 #include "G4DecayPhysics.hh"
00047 #include "G4EmStandardPhysics.hh"
00048 #include "G4EmQExtraPhysics.hh"
00049 #include "G4IonLHEPPhysics.hh"
00050 #include "G4QStoppingPhysics.hh"
00051 #include "G4HadronElasticPhysics.hh"
00052 #include "G4NeutronTrackingCut.hh"
00053 
00054 #include "G4DataQuestionaire.hh"
00055 #include "HadronPhysicsQGSP_BERT_95.hh"
00056 
00057 #include "G4WarnPLStatus.hh"
00058 
00059 
00060 template<class T> TQGSP_BERT_95<T>::TQGSP_BERT_95(G4int ver):  T()
00061 {
00062 
00063   G4DataQuestionaire it(photon);
00064   G4cout << "<<< Geant4 Physics List simulation engine: QGSP_BERT_95 3.4"<<G4endl;
00065   G4cout <<G4endl;
00066 
00067   this->defaultCutValue = 0.7*CLHEP::mm;  
00068   this->SetVerboseLevel(ver);
00069 
00070   G4WarnPLStatus obs;
00071   obs.Unsupported("QGSP_BERT_95", "QGSP_BERT");
00072 
00073   // EM Physics
00074   this->RegisterPhysics( new G4EmStandardPhysics(ver) );
00075 
00076   // Synchroton Radiation & GN Physics
00077   this->RegisterPhysics( new G4EmQExtraPhysics(ver) );
00078 
00079   // Decays
00080   this->RegisterPhysics( new G4DecayPhysics(ver) );
00081 
00082    // Hadron Elastic scattering
00083   this->RegisterPhysics( new G4HadronElasticPhysics(ver) );
00084 
00085   // Hadron Physics
00086   this->RegisterPhysics( new HadronPhysicsQGSP_BERT_95(ver) );
00087 
00088   // Stopping Physics
00089   this->RegisterPhysics( new G4QStoppingPhysics(ver) );
00090 
00091   // Ion Physics
00092   this->RegisterPhysics( new G4IonLHEPPhysics(ver) );
00093   
00094   // Neutron tracking cut
00095   this->RegisterPhysics( new G4NeutronTrackingCut(ver) );
00096 
00097 }
00098 
00099 template<class T> TQGSP_BERT_95<T>::~TQGSP_BERT_95()
00100 {
00101 }
00102 
00103 template<class T> void TQGSP_BERT_95<T>::SetCuts()
00104 {
00105   if (this->verboseLevel >1){
00106     G4cout << "QGSP_BERT_95::SetCuts:";
00107   }  
00108   //  " G4VUserPhysicsList::SetCutsWithDefault" method sets 
00109   //   the default cut value for all particle types 
00110 
00111   this->SetCutsWithDefault();   
00112   
00113 //  if (this->verboseLevel >0)
00114 //    G4VUserPhysicsList::DumpCutValuesTable();  
00115 }

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