3 #include "G4ParticleDefinition.hh"
4 #include "G4ProcessManager.hh"
5 #include "G4LossTableManager.hh"
6 #include "G4EmProcessOptions.hh"
7 #include "G4RegionStore.hh"
9 #include "G4ComptonScattering.hh"
10 #include "G4GammaConversion.hh"
11 #include "G4PhotoElectricEffect.hh"
13 #include "G4hMultipleScattering.hh"
14 #include "G4eMultipleScattering.hh"
15 #include "G4MscStepLimitType.hh"
16 #include "CMSUrbanMscModel93.hh"
18 #include "G4eIonisation.hh"
19 #include "G4eBremsstrahlung.hh"
20 #include "G4eplusAnnihilation.hh"
22 #include "G4SeltzerBergerModel95.hh"
23 #include "G4eBremsstrahlungRelModel95.hh"
25 #include "G4MuIonisation.hh"
26 #include "G4MuBremsstrahlung.hh"
27 #include "G4MuPairProduction.hh"
29 #include "G4hIonisation.hh"
30 #include "G4ionIonisation.hh"
31 #include "G4hBremsstrahlung.hh"
32 #include "G4hPairProduction.hh"
35 #include "G4Electron.hh"
36 #include "G4Positron.hh"
37 #include "G4MuonPlus.hh"
38 #include "G4MuonMinus.hh"
39 #include "G4TauMinus.hh"
40 #include "G4TauPlus.hh"
41 #include "G4PionPlus.hh"
42 #include "G4PionMinus.hh"
43 #include "G4KaonPlus.hh"
44 #include "G4KaonMinus.hh"
45 #include "G4BMesonMinus.hh"
46 #include "G4BMesonPlus.hh"
47 #include "G4DMesonMinus.hh"
48 #include "G4DMesonPlus.hh"
49 #include "G4Proton.hh"
50 #include "G4AntiProton.hh"
51 #include "G4SigmaMinus.hh"
52 #include "G4AntiSigmaMinus.hh"
53 #include "G4SigmaPlus.hh"
54 #include "G4AntiSigmaPlus.hh"
55 #include "G4XiMinus.hh"
56 #include "G4AntiXiMinus.hh"
57 #include "G4OmegaMinus.hh"
58 #include "G4AntiOmegaMinus.hh"
59 #include "G4LambdacPlus.hh"
60 #include "G4AntiLambdacPlus.hh"
61 #include "G4XicPlus.hh"
62 #include "G4AntiXicPlus.hh"
63 #include "G4Deuteron.hh"
64 #include "G4Triton.hh"
67 #include "G4GenericIon.hh"
70 G4VPhysicsConstructor(name),
verbose(ver), region(reg) {
71 G4LossTableManager::Instance();
81 G4Electron::Electron();
82 G4Positron::Positron();
83 G4MuonPlus::MuonPlus();
84 G4MuonMinus::MuonMinus();
85 G4TauMinus::TauMinusDefinition();
86 G4TauPlus::TauPlusDefinition();
89 G4PionPlus::PionPlusDefinition();
90 G4PionMinus::PionMinusDefinition();
91 G4KaonPlus::KaonPlusDefinition();
92 G4KaonMinus::KaonMinusDefinition();
93 G4DMesonMinus::DMesonMinusDefinition();
94 G4DMesonPlus::DMesonPlusDefinition();
95 G4BMesonMinus::BMesonMinusDefinition();
96 G4BMesonPlus::BMesonPlusDefinition();
100 G4AntiProton::AntiProton();
101 G4SigmaMinus::SigmaMinusDefinition();
102 G4AntiSigmaMinus::AntiSigmaMinusDefinition();
103 G4SigmaPlus::SigmaPlusDefinition();
104 G4AntiSigmaPlus::AntiSigmaPlusDefinition();
105 G4XiMinus::XiMinusDefinition();
106 G4AntiXiMinus::AntiXiMinusDefinition();
107 G4OmegaMinus::OmegaMinusDefinition();
108 G4AntiOmegaMinus::AntiOmegaMinusDefinition();
109 G4LambdacPlus::LambdacPlusDefinition();
110 G4AntiLambdacPlus::AntiLambdacPlusDefinition();
111 G4XicPlus::XicPlusDefinition();
112 G4AntiXicPlus::AntiXicPlusDefinition();
115 G4Deuteron::Deuteron();
119 G4GenericIon::GenericIonDefinition();
126 theParticleIterator->reset();
127 while( (*theParticleIterator)() ){
128 G4ParticleDefinition* particle = theParticleIterator->value();
129 G4ProcessManager* pmanager = particle->GetProcessManager();
130 G4String particleName = particle->GetParticleName();
132 G4cout <<
"### " << GetPhysicsName() <<
" instantiates for "
133 << particleName <<
" at " << particle << G4endl;
135 if (particleName ==
"gamma") {
137 pmanager->AddDiscreteProcess(
new G4PhotoElectricEffect);
138 pmanager->AddDiscreteProcess(
new G4ComptonScattering);
139 pmanager->AddDiscreteProcess(
new G4GammaConversion);
141 }
else if (particleName ==
"e-") {
143 G4eIonisation* eioni =
new G4eIonisation();
144 eioni->SetStepFunction(0.8, 1.0*mm);
145 G4eMultipleScattering* msc =
new G4eMultipleScattering;
146 msc->SetStepLimitType(fMinimal);
147 msc->AddEmModel(0,
new CMSUrbanMscModel93());
149 G4eBremsstrahlung* ebrem =
new G4eBremsstrahlung();
150 ebrem->SetEmModel(
new G4SeltzerBergerModel95(), 1);
151 ebrem->SetEmModel(
new G4eBremsstrahlungRelModel95(), 2);
152 ebrem->EmModel(2)->SetLowEnergyLimit(GeV);
154 pmanager->AddProcess(msc, -1, 1, 1);
155 pmanager->AddProcess(eioni, -1, 2, 2);
156 pmanager->AddProcess(ebrem, -1,-3, 3);
158 }
else if (particleName ==
"e+") {
160 G4eIonisation* eioni =
new G4eIonisation();
161 eioni->SetStepFunction(0.8, 1.0*mm);
162 G4eMultipleScattering* msc =
new G4eMultipleScattering;
163 msc->SetStepLimitType(fMinimal);
164 msc->AddEmModel(0,
new CMSUrbanMscModel93());
166 G4eBremsstrahlung* ebrem =
new G4eBremsstrahlung();
167 ebrem->SetEmModel(
new G4SeltzerBergerModel95(), 1);
168 ebrem->SetEmModel(
new G4eBremsstrahlungRelModel95(), 2);
169 ebrem->EmModel(2)->SetLowEnergyLimit(GeV);
171 pmanager->AddProcess(msc, -1, 1, 1);
172 pmanager->AddProcess(eioni, -1, 2, 2);
173 pmanager->AddProcess(ebrem, -1,-3, 3);
174 pmanager->AddProcess(
new G4eplusAnnihilation, 0,-1, 4);
176 }
else if (particleName ==
"mu+" ||
177 particleName ==
"mu-" ) {
179 pmanager->AddProcess(
new G4hMultipleScattering, -1, 1, 1);
180 pmanager->AddProcess(
new G4MuIonisation, -1, 2, 2);
181 pmanager->AddProcess(
new G4MuBremsstrahlung, -1,-3, 3);
182 pmanager->AddProcess(
new G4MuPairProduction, -1,-4, 4);
184 }
else if (particleName ==
"alpha" ||
185 particleName ==
"He3" ||
186 particleName ==
"GenericIon") {
188 pmanager->AddProcess(
new G4hMultipleScattering, -1, 1, 1);
189 pmanager->AddProcess(
new G4ionIonisation, -1, 2, 2);
191 }
else if (particleName ==
"pi+" ||
192 particleName ==
"kaon+" ||
193 particleName ==
"kaon-" ||
194 particleName ==
"proton" ||
195 particleName ==
"pi-" ) {
197 pmanager->AddProcess(
new G4hMultipleScattering, -1, 1, 1);
198 pmanager->AddProcess(
new G4hIonisation, -1, 2, 2);
199 pmanager->AddProcess(
new G4hBremsstrahlung(), -1,-3, 3);
200 pmanager->AddProcess(
new G4hPairProduction(), -1,-4, 4);
202 }
else if (particleName ==
"B+" ||
203 particleName ==
"B-" ||
204 particleName ==
"D+" ||
205 particleName ==
"D-" ||
206 particleName ==
"Ds+" ||
207 particleName ==
"Ds-" ||
208 particleName ==
"anti_lambda_c+" ||
209 particleName ==
"anti_omega-" ||
210 particleName ==
"anti_proton" ||
211 particleName ==
"anti_sigma_c+" ||
212 particleName ==
"anti_sigma_c++" ||
213 particleName ==
"anti_sigma+" ||
214 particleName ==
"anti_sigma-" ||
215 particleName ==
"anti_xi_c+" ||
216 particleName ==
"anti_xi-" ||
217 particleName ==
"deuteron" ||
218 particleName ==
"lambda_c+" ||
219 particleName ==
"omega-" ||
220 particleName ==
"sigma_c+" ||
221 particleName ==
"sigma_c++" ||
222 particleName ==
"sigma+" ||
223 particleName ==
"sigma-" ||
224 particleName ==
"tau+" ||
225 particleName ==
"tau-" ||
226 particleName ==
"triton" ||
227 particleName ==
"xi_c+" ||
228 particleName ==
"xi-" ) {
230 pmanager->AddProcess(
new G4hMultipleScattering, -1, 1, 1);
231 pmanager->AddProcess(
new G4hIonisation, -1, 2, 2);
237 G4EmProcessOptions opt;
241 opt.SetApplyCuts(
true);
245 opt.SetMinEnergy(100.*eV);
246 opt.SetMaxEnergy(10.*TeV);
247 opt.SetDEDXBinning(77);
248 opt.SetLambdaBinning(77);
CMSEmStandardPhysics95msc93(const G4String &name, G4int ver, std::string reg)
virtual ~CMSEmStandardPhysics95msc93()
virtual void ConstructParticle()
virtual void ConstructProcess()