Geant4 Cross Reference |
1 // 1 // 2 // ******************************************* 2 // ******************************************************************** 3 // * License and Disclaimer 3 // * License and Disclaimer * 4 // * 4 // * * 5 // * The Geant4 software is copyright of th 5 // * The Geant4 software is copyright of the Copyright Holders of * 6 // * the Geant4 Collaboration. It is provided 6 // * the Geant4 Collaboration. It is provided under the terms and * 7 // * conditions of the Geant4 Software License 7 // * conditions of the Geant4 Software License, included in the file * 8 // * LICENSE and available at http://cern.ch/ 8 // * LICENSE and available at http://cern.ch/geant4/license . These * 9 // * include a list of copyright holders. 9 // * include a list of copyright holders. * 10 // * 10 // * * 11 // * Neither the authors of this software syst 11 // * Neither the authors of this software system, nor their employing * 12 // * institutes,nor the agencies providing fin 12 // * institutes,nor the agencies providing financial support for this * 13 // * work make any representation or warran 13 // * work make any representation or warranty, express or implied, * 14 // * regarding this software system or assum 14 // * regarding this software system or assume any liability for its * 15 // * use. Please see the license in the file 15 // * use. Please see the license in the file LICENSE and URL above * 16 // * for the full disclaimer and the limitatio 16 // * for the full disclaimer and the limitation of liability. * 17 // * 17 // * * 18 // * This code implementation is the result 18 // * This code implementation is the result of the scientific and * 19 // * technical work of the GEANT4 collaboratio 19 // * technical work of the GEANT4 collaboration. * 20 // * By using, copying, modifying or distri 20 // * By using, copying, modifying or distributing the software (or * 21 // * any work based on the software) you ag 21 // * any work based on the software) you agree to acknowledge its * 22 // * use in resulting scientific publicati 22 // * use in resulting scientific publications, and indicate your * 23 // * acceptance of all terms of the Geant4 Sof 23 // * acceptance of all terms of the Geant4 Software license. * 24 // ******************************************* 24 // ******************************************************************** 25 // 25 // 26 // 26 // 27 //-------------------------------------------- 27 //--------------------------------------------------------------------------- 28 // 28 // 29 // ClassName: FTF_BIC 29 // ClassName: FTF_BIC 30 // 30 // 31 // Author: 2007 Gunter Folger 31 // Author: 2007 Gunter Folger 32 // 32 // 33 // Modified: 33 // Modified: 34 // 19.06.2008 G.Folger: don't use chips quasie 34 // 19.06.2008 G.Folger: don't use chips quasielastic in FTF 35 // 04.06.2010 G.Folger: Use new ctor for build 35 // 04.06.2010 G.Folger: Use new ctor for builders 36 // 16.08.2010 H.Kurashige: Remove inclusion of 36 // 16.08.2010 H.Kurashige: Remove inclusion of G4ParticleWithCuts 37 // 16.10.2012 A.Ribon: Use new default stoppin 37 // 16.10.2012 A.Ribon: Use new default stopping and ion physics 38 // 06.08.2019 A.Ribon: Use the new G4StoppingP 38 // 06.08.2019 A.Ribon: Use the new G4StoppingPhysicsFritiofWithBinaryCascade 39 // 39 // 40 //-------------------------------------------- 40 //---------------------------------------------------------------------------- 41 // 41 // 42 #include <iomanip> 42 #include <iomanip> 43 43 44 #include "globals.hh" 44 #include "globals.hh" 45 #include "G4ios.hh" 45 #include "G4ios.hh" 46 46 47 #include "G4DecayPhysics.hh" 47 #include "G4DecayPhysics.hh" 48 #include "G4EmStandardPhysics.hh" 48 #include "G4EmStandardPhysics.hh" 49 #include "G4EmExtraPhysics.hh" 49 #include "G4EmExtraPhysics.hh" 50 #include "G4IonPhysics.hh" 50 #include "G4IonPhysics.hh" 51 #include "G4StoppingPhysicsFritiofWithBinaryCa 51 #include "G4StoppingPhysicsFritiofWithBinaryCascade.hh" 52 #include "G4HadronElasticPhysics.hh" 52 #include "G4HadronElasticPhysics.hh" 53 #include "G4NeutronTrackingCut.hh" 53 #include "G4NeutronTrackingCut.hh" 54 54 55 #include "FTF_BIC.hh" 55 #include "FTF_BIC.hh" 56 #include "G4HadronPhysicsFTF_BIC.hh" 56 #include "G4HadronPhysicsFTF_BIC.hh" 57 57 58 #include "G4WarnPLStatus.hh" 58 #include "G4WarnPLStatus.hh" 59 59 60 FTF_BIC::FTF_BIC(G4int ver) 60 FTF_BIC::FTF_BIC(G4int ver) 61 { 61 { 62 if(ver > 0) { 62 if(ver > 0) { 63 G4cout << "<<< Geant4 Physics List simulat 63 G4cout << "<<< Geant4 Physics List simulation engine: FTF_BIC"<<G4endl; 64 G4cout <<G4endl; 64 G4cout <<G4endl; 65 G4WarnPLStatus exp; 65 G4WarnPLStatus exp; 66 exp.Experimental("FTF_BIC"); 66 exp.Experimental("FTF_BIC"); 67 } 67 } 68 68 69 defaultCutValue = 0.7*CLHEP::mm; 69 defaultCutValue = 0.7*CLHEP::mm; 70 SetVerboseLevel(ver); 70 SetVerboseLevel(ver); 71 71 72 // EM Physics 72 // EM Physics 73 RegisterPhysics( new G4EmStandardPhysics(ver 73 RegisterPhysics( new G4EmStandardPhysics(ver) ); 74 74 75 // Synchroton Radiation & GN Physics 75 // Synchroton Radiation & GN Physics 76 RegisterPhysics( new G4EmExtraPhysics(ver) ) 76 RegisterPhysics( new G4EmExtraPhysics(ver) ); 77 77 78 // Decays 78 // Decays 79 RegisterPhysics( new G4DecayPhysics(ver) ); 79 RegisterPhysics( new G4DecayPhysics(ver) ); 80 80 81 // Hadron Elastic scattering 81 // Hadron Elastic scattering 82 RegisterPhysics( new G4HadronElasticPhysics 82 RegisterPhysics( new G4HadronElasticPhysics(ver) ); 83 83 84 // Hadron Physics 84 // Hadron Physics 85 RegisterPhysics( new G4HadronPhysicsFTF_BIC 85 RegisterPhysics( new G4HadronPhysicsFTF_BIC(ver)); 86 86 87 // Stopping Physics 87 // Stopping Physics 88 RegisterPhysics( new G4StoppingPhysicsFritio 88 RegisterPhysics( new G4StoppingPhysicsFritiofWithBinaryCascade(ver) ); 89 89 90 // Ion Physics 90 // Ion Physics 91 RegisterPhysics( new G4IonPhysics(ver)); 91 RegisterPhysics( new G4IonPhysics(ver)); 92 92 93 // Neutron tracking cut 93 // Neutron tracking cut 94 RegisterPhysics( new G4NeutronTrackingCut(ve 94 RegisterPhysics( new G4NeutronTrackingCut(ver)); 95 95 96 // Neutron cross sections 96 // Neutron cross sections 97 //AR-31Oct2012 RegisterPhysics( new G4Neutro 97 //AR-31Oct2012 RegisterPhysics( new G4NeutronCrossSectionXS(ver) ); 98 98 99 } 99 } 100 100 101 101 102 102