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

Generated on Mon May 27 17:47:35 2013 for Geant4 by  doxygen 1.4.7