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 #include "G4ProcessManager.hh" >> 47 #include "G4ProcessVector.hh" >> 48 #include "G4ParticleTypes.hh" >> 49 #include "G4ParticleTable.hh" >> 50 >> 51 #include "G4Material.hh" >> 52 #include "G4MaterialTable.hh" 46 53 47 #include "G4DecayPhysics.hh" 54 #include "G4DecayPhysics.hh" 48 #include "G4EmStandardPhysics.hh" 55 #include "G4EmStandardPhysics.hh" 49 #include "G4EmExtraPhysics.hh" 56 #include "G4EmExtraPhysics.hh" 50 #include "G4IonPhysics.hh" 57 #include "G4IonPhysics.hh" 51 #include "G4StoppingPhysicsFritiofWithBinaryCa 58 #include "G4StoppingPhysicsFritiofWithBinaryCascade.hh" 52 #include "G4HadronElasticPhysics.hh" 59 #include "G4HadronElasticPhysics.hh" 53 #include "G4NeutronTrackingCut.hh" 60 #include "G4NeutronTrackingCut.hh" 54 61 55 #include "FTF_BIC.hh" 62 #include "FTF_BIC.hh" 56 #include "G4HadronPhysicsFTF_BIC.hh" 63 #include "G4HadronPhysicsFTF_BIC.hh" 57 64 58 #include "G4WarnPLStatus.hh" 65 #include "G4WarnPLStatus.hh" 59 66 60 FTF_BIC::FTF_BIC(G4int ver) 67 FTF_BIC::FTF_BIC(G4int ver) 61 { 68 { 62 if(ver > 0) { << 69 // default cut value (1.0mm) 63 G4cout << "<<< Geant4 Physics List simulat << 70 // defaultCutValue = 1.0*CLHEP::mm; 64 G4cout <<G4endl; << 71 65 G4WarnPLStatus exp; << 72 G4cout << "<<< Geant4 Physics List simulation engine: FTF_BIC"<<G4endl; 66 exp.Experimental("FTF_BIC"); << 73 G4cout <<G4endl; 67 } << 68 74 69 defaultCutValue = 0.7*CLHEP::mm; 75 defaultCutValue = 0.7*CLHEP::mm; 70 SetVerboseLevel(ver); 76 SetVerboseLevel(ver); >> 77 >> 78 G4WarnPLStatus exp; >> 79 exp.Experimental("FTF_BIC"); 71 80 72 // EM Physics 81 // EM Physics 73 RegisterPhysics( new G4EmStandardPhysics(ver 82 RegisterPhysics( new G4EmStandardPhysics(ver) ); 74 83 75 // Synchroton Radiation & GN Physics 84 // Synchroton Radiation & GN Physics 76 RegisterPhysics( new G4EmExtraPhysics(ver) ) 85 RegisterPhysics( new G4EmExtraPhysics(ver) ); 77 86 78 // Decays 87 // Decays 79 RegisterPhysics( new G4DecayPhysics(ver) ); 88 RegisterPhysics( new G4DecayPhysics(ver) ); 80 89 81 // Hadron Elastic scattering 90 // Hadron Elastic scattering 82 RegisterPhysics( new G4HadronElasticPhysics 91 RegisterPhysics( new G4HadronElasticPhysics(ver) ); 83 92 84 // Hadron Physics 93 // Hadron Physics 85 RegisterPhysics( new G4HadronPhysicsFTF_BIC 94 RegisterPhysics( new G4HadronPhysicsFTF_BIC(ver)); 86 95 87 // Stopping Physics 96 // Stopping Physics 88 RegisterPhysics( new G4StoppingPhysicsFritio 97 RegisterPhysics( new G4StoppingPhysicsFritiofWithBinaryCascade(ver) ); 89 98 90 // Ion Physics 99 // Ion Physics 91 RegisterPhysics( new G4IonPhysics(ver)); 100 RegisterPhysics( new G4IonPhysics(ver)); 92 101 93 // Neutron tracking cut 102 // Neutron tracking cut 94 RegisterPhysics( new G4NeutronTrackingCut(ve 103 RegisterPhysics( new G4NeutronTrackingCut(ver)); 95 104 96 // Neutron cross sections 105 // Neutron cross sections 97 //AR-31Oct2012 RegisterPhysics( new G4Neutro 106 //AR-31Oct2012 RegisterPhysics( new G4NeutronCrossSectionXS(ver) ); 98 107 99 } 108 } 100 109 101 110 102 111