QGSC_CHIPS.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: QGSC_CHIPS
00031 //
00032 // Author: 2009 M.Kosov (Development of the QGSC_QGSC physics list)
00033 //
00034 // Modified:
00035 // 27.11.2009 G.Folger: Mark as obsolete
00036 // 16.08.2010 H.Kurashige: Remove inclusion of G4ParticleWithCuts 
00037 // 16.10.2012 A.Ribon: Renamed the physics classes used
00038 //
00039 //-------------------------------------------------------------------------------
00040 //  Short description: In tis file the aim is to get rid of LHEP, use the
00041 //  QGSC model with the Energy Flow interface for CHIPS from E=0 for all
00042 //  hadrons and gradually substitute QGSC by the native CHIPS (G4QCollision)
00043 //  process starting from low energies (first nucleons, then mesons, after that
00044 //  hyperons and antibaryons). The present "QGSC" model at low energies is
00045 //  jus a temporary (far from ideal) interface to the CHIPS model. The nuclear
00046 //  fragmentation CHIPS algorithm is the same in both models, but the first
00047 //  interaction is temporary taken from the QGSC algorithm, which is not expected
00048 //  to work at low energies, but temporary can be used as an interface to CHIPS.
00049 //------------------------------------------------------------------------------
00050 #include <iomanip>   
00051 
00052 #include "globals.hh"
00053 #include "G4ios.hh"
00054 #include "G4ProcessManager.hh"
00055 #include "G4ProcessVector.hh"
00056 #include "G4ParticleTypes.hh"
00057 #include "G4ParticleTable.hh"
00058 
00059 #include "G4Material.hh"
00060 #include "G4MaterialTable.hh"
00061 
00062 #include "G4DecayPhysics.hh"
00063 #include "G4EmStandardPhysics.hh"
00064 #include "G4EmQExtraPhysics.hh"
00065 #include "G4IonLHEPPhysics.hh"
00066 #include "G4QCaptureAtRestPhysics.hh"
00067 #include "G4HadronQElasticPhysics.hh"
00068 #include "G4NeutronTrackingCut.hh"
00069 
00070 #include "G4DataQuestionaire.hh"
00071 #include "HadronPhysicsQGSC_CHIPS.hh"
00072 
00073 #include "G4WarnPLStatus.hh"
00074 
00075 
00076 template<class T> TQGSC_CHIPS<T>::TQGSC_CHIPS(G4int ver):  T()
00077 {
00078   G4DataQuestionaire it(photon);
00079   G4cout << "<<< Geant4 Physics List simulation engine: QGSC_CHIPS 1.1"<<G4endl;
00080   G4cout <<G4endl<<G4endl;
00081   // default cut value  (1.0 mm) 
00082   this->defaultCutValue = 0.7*CLHEP::mm;
00083   this->SetVerboseLevel(ver);
00084 
00085   G4WarnPLStatus obs;
00086   obs.Unsupported("QGSC_CHIPS", "FTFP_BERT");
00087 
00088   // EM Physics
00089   this->RegisterPhysics( new G4EmStandardPhysics(ver) );
00090 
00091   // Synchroton Radiation & GN Physics
00092   this->RegisterPhysics( new G4EmQExtraPhysics(ver) );
00093 
00094   // Decays
00095   this->RegisterPhysics( new G4DecayPhysics(ver) );
00096 
00097    // Hadron Elastic scattering, "CHIPS" version
00098   this-> RegisterPhysics( new G4HadronQElasticPhysics(ver) );
00099 
00100    // Hadron Physics, "CHIPS" version
00101   this->RegisterPhysics(  new HadronPhysicsQGSC_CHIPS(ver));
00102 
00103   // Stopping Physics, "CHIPS" version
00104   this->RegisterPhysics( new G4QCaptureAtRestPhysics(ver) );
00105 
00106   // Ion Physics
00107   this->RegisterPhysics( new G4IonLHEPPhysics(ver) );
00108   
00109   // Neutron tracking cut
00110   this->RegisterPhysics( new G4NeutronTrackingCut("Neutron tracking cut", ver) );
00111 
00112 }
00113 
00114 template<class T> TQGSC_CHIPS<T>::~TQGSC_CHIPS() {}
00115 
00116 template<class T> void TQGSC_CHIPS<T>::SetCuts()
00117 {
00118   if (this->verboseLevel >1) G4cout << "QGSC_CHIPS::SetCuts:";
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 

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