FTFP_BERT_EMV.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: FTFP_BERT_EMV
00031 //
00032 // Author: 11 May 2009  V.Ivanchenko
00033 //   created from FTFP_BERT
00034 //
00035 // Modified:
00036 // 27.11.2009 G.Folger: Remove experimental status
00037 // 04.06.2010 G.Folger: Use new ctor for builders
00038 // 16.08.2010 H.Kurashige: Remove inclusion of G4ParticleWithCuts 
00039 // 16.10.2012 A.Ribon: Use new default stopping and ion physics
00040 //
00041 //----------------------------------------------------------------------------
00042 //
00043 #include <iomanip>   
00044 
00045 #include "globals.hh"
00046 #include "G4ios.hh"
00047 #include "G4ProcessManager.hh"
00048 #include "G4ProcessVector.hh"
00049 #include "G4ParticleTypes.hh"
00050 #include "G4ParticleTable.hh"
00051 
00052 #include "G4Material.hh"
00053 #include "G4MaterialTable.hh"
00054 
00055 #include "G4DecayPhysics.hh"
00056 #include "G4EmStandardPhysics_option1.hh"
00057 #include "G4EmExtraPhysics.hh"
00058 #include "G4IonPhysics.hh"
00059 #include "G4StoppingPhysics.hh"
00060 #include "G4HadronElasticPhysics.hh"
00061 #include "G4NeutronTrackingCut.hh"
00062 
00063 #include "G4DataQuestionaire.hh"
00064 #include "HadronPhysicsFTFP_BERT.hh"
00065 
00066 #include "G4WarnPLStatus.hh"
00067 
00068 
00069 template<class T> TFTFP_BERT_EMV<T>::TFTFP_BERT_EMV(G4int ver):  T()
00070 {
00071   // default cut value  (1.0mm) 
00072   // defaultCutValue = 1.0*CLHEP::mm;
00073   G4DataQuestionaire it(photon);
00074   G4cout << "<<< Geant4 Physics List simulation engine: FTFP_BERT_EMV 2.0"<<G4endl;
00075   G4cout <<G4endl;
00076   this->defaultCutValue = 0.7*CLHEP::mm;
00077   this->SetVerboseLevel(ver);
00078 
00079   G4WarnPLStatus factory;
00080   factory.OnlyFromFactory("FTFP_BERT_EMV","FTFP_BERT");
00081 
00082   // EM Physics
00083   this->RegisterPhysics( new G4EmStandardPhysics_option1(ver) );
00084 
00085   // Synchroton Radiation & GN Physics
00086   this->RegisterPhysics( new G4EmExtraPhysics(ver) );
00087 
00088   // Decays 
00089   this->RegisterPhysics( new G4DecayPhysics(ver) );
00090 
00091    // Hadron Elastic scattering
00092   this->RegisterPhysics( new G4HadronElasticPhysics(ver) );
00093 
00094    // Hadron Physics
00095   this->RegisterPhysics( new HadronPhysicsFTFP_BERT(ver));
00096 
00097   // Stopping Physics
00098   this->RegisterPhysics( new G4StoppingPhysics(ver) );
00099 
00100   // Ion Physics
00101   this->RegisterPhysics( new G4IonPhysics(ver));
00102   
00103   // Neutron tracking cut
00104   this->RegisterPhysics( new G4NeutronTrackingCut(ver));
00105 
00106 }
00107 
00108 template<class T> TFTFP_BERT_EMV<T>::~TFTFP_BERT_EMV()
00109 {
00110 }
00111 
00112 template<class T> void TFTFP_BERT_EMV<T>::SetCuts()
00113 {
00114   if (this->verboseLevel >1){
00115     G4cout << "FTFP_BERT_EMV::SetCuts:";
00116   }  
00117   //  " G4VUserPhysicsList::SetCutsWithDefault" method sets 
00118   //   the default cut value for all particle types 
00119 
00120   this->SetCutsWithDefault();   
00121  
00122 //  if (this->verboseLevel > 0)
00123 //    G4VUserPhysicsList::DumpCutValuesTable();  
00124 }

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