File indexing completed on 2026-04-05 07:50:50
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018
0019
0020
0021
0022
0023
0024
0025
0026
0027
0028
0029 #include "PhysicsList.hh"
0030
0031 #include "BiasedRDPhysics.hh"
0032
0033 #include "G4DecayPhysics.hh"
0034 #include "G4EmExtraPhysics.hh"
0035 #include "G4EmParameters.hh"
0036 #include "G4EmStandardPhysics.hh"
0037 #include "G4HadronElasticPhysics.hh"
0038 #include "G4HadronInelasticQBBC.hh"
0039 #include "G4HadronPhysicsFTFP_BERT.hh"
0040 #include "G4HadronPhysicsINCLXX.hh"
0041 #include "G4IonElasticPhysics.hh"
0042 #include "G4IonINCLXXPhysics.hh"
0043 #include "G4IonPhysics.hh"
0044 #include "G4NuclideTable.hh"
0045 #include "G4SystemOfUnits.hh"
0046 #include "G4UnitsTable.hh"
0047
0048
0049
0050 #include "G4BaryonConstructor.hh"
0051 #include "G4BosonConstructor.hh"
0052 #include "G4IonConstructor.hh"
0053 #include "G4LeptonConstructor.hh"
0054 #include "G4MesonConstructor.hh"
0055 #include "G4ShortLivedConstructor.hh"
0056
0057
0058
0059 PhysicsList::PhysicsList()
0060 {
0061 G4int verb = 1;
0062 SetVerboseLevel(verb);
0063
0064
0065
0066
0067 G4NuclideTable::GetInstance()->SetThresholdOfHalfLife(0.1 * picosecond);
0068 G4NuclideTable::GetInstance()->SetLevelTolerance(1.0 * eV);
0069
0070
0071 RegisterPhysics(new G4EmStandardPhysics());
0072 G4EmParameters* param = G4EmParameters::Instance();
0073 param->SetAugerCascade(true);
0074 param->SetStepFunction(1., 1 * CLHEP::mm);
0075 param->SetStepFunctionMuHad(1., 1 * CLHEP::mm);
0076
0077
0078 RegisterPhysics(new G4DecayPhysics());
0079
0080
0081 RegisterPhysics(new BiasedRDPhysics());
0082
0083
0084 RegisterPhysics(new G4HadronElasticPhysics(verb));
0085
0086
0087 RegisterPhysics(new G4HadronPhysicsFTFP_BERT(verb));
0088
0089
0090
0091
0092 RegisterPhysics(new G4IonElasticPhysics(verb));
0093
0094
0095 RegisterPhysics(new G4IonPhysics(verb));
0096
0097
0098
0099 G4EmExtraPhysics* gnuc = new G4EmExtraPhysics(verb);
0100 gnuc->ElectroNuclear(false);
0101 gnuc->MuonNuclear(false);
0102 RegisterPhysics(gnuc);
0103 }
0104
0105
0106
0107 void PhysicsList::ConstructParticle()
0108 {
0109 G4BosonConstructor pBosonConstructor;
0110 pBosonConstructor.ConstructParticle();
0111
0112 G4LeptonConstructor pLeptonConstructor;
0113 pLeptonConstructor.ConstructParticle();
0114
0115 G4MesonConstructor pMesonConstructor;
0116 pMesonConstructor.ConstructParticle();
0117
0118 G4BaryonConstructor pBaryonConstructor;
0119 pBaryonConstructor.ConstructParticle();
0120
0121 G4IonConstructor pIonConstructor;
0122 pIonConstructor.ConstructParticle();
0123
0124 G4ShortLivedConstructor pShortLivedConstructor;
0125 pShortLivedConstructor.ConstructParticle();
0126 }
0127
0128
0129
0130 void PhysicsList::SetCuts()
0131 {
0132 SetCutValue(0 * mm, "proton");
0133 SetCutValue(10 * km, "e-");
0134 SetCutValue(10 * km, "e+");
0135 SetCutValue(10 * km, "gamma");
0136 }
0137
0138