File indexing completed on 2025-02-23 09:22:42
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
0030
0031
0032 #include "PhysicsList.hh"
0033
0034 #include "BiasedRDPhysics.hh"
0035
0036 #include "G4DecayPhysics.hh"
0037 #include "G4EmExtraPhysics.hh"
0038 #include "G4EmParameters.hh"
0039 #include "G4EmStandardPhysics.hh"
0040 #include "G4HadronElasticPhysics.hh"
0041 #include "G4HadronInelasticQBBC.hh"
0042 #include "G4HadronPhysicsFTFP_BERT.hh"
0043 #include "G4HadronPhysicsINCLXX.hh"
0044 #include "G4IonElasticPhysics.hh"
0045 #include "G4IonINCLXXPhysics.hh"
0046 #include "G4IonPhysics.hh"
0047 #include "G4NuclideTable.hh"
0048 #include "G4SystemOfUnits.hh"
0049 #include "G4UnitsTable.hh"
0050
0051
0052
0053 #include "G4BaryonConstructor.hh"
0054 #include "G4BosonConstructor.hh"
0055 #include "G4IonConstructor.hh"
0056 #include "G4LeptonConstructor.hh"
0057 #include "G4MesonConstructor.hh"
0058 #include "G4ShortLivedConstructor.hh"
0059
0060
0061
0062 PhysicsList::PhysicsList()
0063 {
0064 G4int verb = 1;
0065 SetVerboseLevel(verb);
0066
0067
0068
0069
0070 G4NuclideTable::GetInstance()->SetThresholdOfHalfLife(0.1 * picosecond);
0071 G4NuclideTable::GetInstance()->SetLevelTolerance(1.0 * eV);
0072
0073
0074 RegisterPhysics(new G4EmStandardPhysics());
0075 G4EmParameters* param = G4EmParameters::Instance();
0076 param->SetAugerCascade(true);
0077 param->SetStepFunction(1., 1 * CLHEP::mm);
0078 param->SetStepFunctionMuHad(1., 1 * CLHEP::mm);
0079
0080
0081 RegisterPhysics(new G4DecayPhysics());
0082
0083
0084 RegisterPhysics(new BiasedRDPhysics());
0085
0086
0087 RegisterPhysics(new G4HadronElasticPhysics(verb));
0088
0089
0090 RegisterPhysics(new G4HadronPhysicsFTFP_BERT(verb));
0091
0092
0093
0094
0095 RegisterPhysics(new G4IonElasticPhysics(verb));
0096
0097
0098 RegisterPhysics(new G4IonPhysics(verb));
0099
0100
0101
0102 G4EmExtraPhysics* gnuc = new G4EmExtraPhysics(verb);
0103 gnuc->ElectroNuclear(false);
0104 gnuc->MuonNuclear(false);
0105 RegisterPhysics(gnuc);
0106 }
0107
0108
0109
0110 void PhysicsList::ConstructParticle()
0111 {
0112 G4BosonConstructor pBosonConstructor;
0113 pBosonConstructor.ConstructParticle();
0114
0115 G4LeptonConstructor pLeptonConstructor;
0116 pLeptonConstructor.ConstructParticle();
0117
0118 G4MesonConstructor pMesonConstructor;
0119 pMesonConstructor.ConstructParticle();
0120
0121 G4BaryonConstructor pBaryonConstructor;
0122 pBaryonConstructor.ConstructParticle();
0123
0124 G4IonConstructor pIonConstructor;
0125 pIonConstructor.ConstructParticle();
0126
0127 G4ShortLivedConstructor pShortLivedConstructor;
0128 pShortLivedConstructor.ConstructParticle();
0129 }
0130
0131
0132
0133 void PhysicsList::SetCuts()
0134 {
0135 SetCutValue(0 * mm, "proton");
0136 SetCutValue(10 * km, "e-");
0137 SetCutValue(10 * km, "e+");
0138 SetCutValue(10 * km, "gamma");
0139 }
0140
0141