Geant4 Cross Reference |
1 // 2 // ******************************************************************** 3 // * License and Disclaimer * 4 // * * 5 // * The Geant4 software is copyright of the Copyright Holders of * 6 // * the Geant4 Collaboration. It is provided under the terms and * 7 // * conditions of the Geant4 Software License, included in the file * 8 // * LICENSE and available at http://cern.ch/geant4/license . These * 9 // * include a list of copyright holders. * 10 // * * 11 // * Neither the authors of this software system, nor their employing * 12 // * institutes,nor the agencies providing financial support for this * 13 // * work make any representation or warranty, express or implied, * 14 // * regarding this software system or assume any liability for its * 15 // * use. Please see the license in the file LICENSE and URL above * 16 // * for the full disclaimer and the limitation of liability. * 17 // * * 18 // * This code implementation is the result of the scientific and * 19 // * technical work of the GEANT4 collaboration. * 20 // * By using, copying, modifying or distributing the software (or * 21 // * any work based on the software) you agree to acknowledge its * 22 // * use in resulting scientific publications, and indicate your * 23 // * acceptance of all terms of the Geant4 Software license. * 24 // ******************************************************************** 25 // 26 // 27 //--------------------------------------------------------------------------- 28 // 29 // ClassName: FTFP_BERT_TRV 30 // 31 // Author: 2009 John Apostolakis 32 // 33 // created from FTFP_BERT - simple variant changing inelastic thresholds 34 // 35 // Modified: 36 // 16.08.2010 H.Kurashige: Remove inclusion of G4ParticleWithCuts 37 // 18.10.2011 A.Ribon: Replace CHIPS with FTF/Preco for nuclear capture 38 // at rest of anti-protons. 39 // 27.07.2012 A.Ribon: Use the new class G4BertiniAndFritiofStoppingPhysics 40 // 16.10.2012 A.Ribon: Renamed the physics classes used 41 // 05.06.2014 A.Ribon: Use (temporary) G4HadronHElasticPhysics 42 // 08.01.2015 A.Ribon: Switch on low-mass diffraction dissociation 43 // 44 //---------------------------------------------------------------------------- 45 // 46 #include <iomanip> 47 48 #include "globals.hh" 49 #include "G4ios.hh" 50 51 #include "G4DecayPhysics.hh" 52 #include "G4EmStandardPhysics.hh" 53 #include "G4EmStandardPhysicsGS.hh" 54 #include "G4EmExtraPhysics.hh" 55 #include "G4IonPhysics.hh" 56 #include "G4StoppingPhysics.hh" 57 #include "G4HadronHElasticPhysics.hh" 58 #include "G4NeutronTrackingCut.hh" 59 60 #include "G4HadronPhysicsFTFP_BERT_TRV.hh" 61 #include "FTFP_BERT_TRV.hh" 62 63 #include "G4WarnPLStatus.hh" 64 65 #include "G4EmParameters.hh" 66 67 68 FTFP_BERT_TRV::FTFP_BERT_TRV(G4int ver) 69 { 70 if(ver > 0) { 71 G4cout << "<<< Geant4 Physics List simulation engine: FTFP_BERT_TRV "<<G4endl; 72 G4cout <<G4endl; 73 G4WarnPLStatus exp; 74 exp.Experimental("FTFP_BERT_TRV"); 75 } 76 defaultCutValue = 0.7*CLHEP::mm; 77 SetVerboseLevel(ver); 78 79 // EM Physics 80 G4EmStandardPhysicsGS* gsPhysics = new G4EmStandardPhysicsGS( ver ); 81 G4EmParameters::Instance()->SetMscStepLimitType( fUseSafety ); 82 RegisterPhysics( gsPhysics ); 83 84 // Synchroton Radiation & GN Physics 85 RegisterPhysics( new G4EmExtraPhysics(ver) ); 86 87 // Decays 88 RegisterPhysics( new G4DecayPhysics(ver) ); 89 90 // Hadron Elastic scattering 91 RegisterPhysics( new G4HadronHElasticPhysics(ver, true) ); 92 93 // Hadron Physics 94 RegisterPhysics( new G4HadronPhysicsFTFP_BERT_TRV(ver)); 95 96 // Stopping Physics 97 RegisterPhysics( new G4StoppingPhysics(ver) ); 98 99 // Ion Physics 100 RegisterPhysics( new G4IonPhysics(ver)); 101 102 // Neutron tracking cut 103 RegisterPhysics( new G4NeutronTrackingCut(ver)); 104 105 } 106 107