/home/bes3soft/bes3soft/Boss/7.0.2/dist/7.0.2/Simulation/G4Svc/G4Svc-00-01-52/Physics_src/ExN01PhysicsList.cxx

Go to the documentation of this file.
00001 // This code implementation is the intellectual property of
00002 // the GEANT4 collaboration.
00003 //
00004 // By copying, distributing or modifying the Program (or any work
00005 // based on the Program) you indicate your acceptance of this statement,
00006 // and all its terms.
00007 //
00008 // $Id: ExN01PhysicsList.cxx,v 1.1.1.1 2004/09/28 05:16:53 liwd Exp $
00009 // GEANT4 tag $Name: G4Svc-00-01-52 $
00010 //
00011 // 
00012 
00013 #include "Physics/ExN01PhysicsList.hh"
00014 #include "G4ParticleTypes.hh"
00015 
00016 
00017 ExN01PhysicsList::ExN01PhysicsList()
00018 {;}
00019 
00020 ExN01PhysicsList::~ExN01PhysicsList()
00021 {;}
00022 
00023 void ExN01PhysicsList::ConstructParticle()
00024 {
00025   // In this method, static member functions should be called
00026   // for all particles which you want to use.
00027   // This ensures that objects of these particle types will be
00028   // created in the program. 
00029 
00030   G4Geantino::GeantinoDefinition();
00031 }
00032 
00033 void ExN01PhysicsList::ConstructProcess()
00034 {
00035   // Define transportation process
00036 
00037   AddTransportation();
00038 }
00039 
00040 void ExN01PhysicsList::SetCuts()
00041 {
00042   // uppress error messages even in case e/gamma/proton do not exist            
00043   G4int temp = GetVerboseLevel();                                                SetVerboseLevel(0);                                                           
00044   //  " G4VUserPhysicsList::SetCutsWithDefault" method sets 
00045   //   the default cut value for all particle types 
00046   SetCutsWithDefault();   
00047 
00048   // Retrieve verbose level
00049   SetVerboseLevel(temp);  
00050 }
00051 

Generated on Tue Nov 29 23:14:33 2016 for BOSS_7.0.2 by  doxygen 1.4.7