3 #include "G4EmParameters.hh" 4 #include "G4ParticleTable.hh" 6 #include "G4ParticleDefinition.hh" 7 #include "G4LossTableManager.hh" 8 #include "G4EmParameters.hh" 10 #include "G4ComptonScattering.hh" 11 #include "G4GammaConversion.hh" 12 #include "G4PhotoElectricEffect.hh" 13 #include "G4LivermorePhotoElectricModel.hh" 14 #include "G4KleinNishinaModel.hh" 16 #include "G4hMultipleScattering.hh" 17 #include "G4eMultipleScattering.hh" 18 #include "G4MuMultipleScattering.hh" 19 #include "G4CoulombScattering.hh" 20 #include "G4eCoulombScatteringModel.hh" 21 #include "G4WentzelVIModel.hh" 22 #include "G4UrbanMscModel.hh" 23 #include "G4GoudsmitSaundersonMscModel.hh" 24 #include "G4MscStepLimitType.hh" 26 #include "G4eIonisation.hh" 27 #include "G4eBremsstrahlung.hh" 28 #include "G4eplusAnnihilation.hh" 29 #include "G4Generator2BS.hh" 30 #include "G4SeltzerBergerModel.hh" 32 #include "G4MuIonisation.hh" 33 #include "G4MuBremsstrahlung.hh" 34 #include "G4MuPairProduction.hh" 36 #include "G4MuBremsstrahlungModel.hh" 37 #include "G4MuPairProductionModel.hh" 38 #include "G4hBremsstrahlungModel.hh" 39 #include "G4hPairProductionModel.hh" 40 #include "G4ePairProduction.hh" 42 #include "G4hIonisation.hh" 43 #include "G4ionIonisation.hh" 44 #include "G4hBremsstrahlung.hh" 45 #include "G4hPairProduction.hh" 46 #include "G4UAtomicDeexcitation.hh" 48 #include "G4NuclearStopping.hh" 51 #include "G4Electron.hh" 52 #include "G4Positron.hh" 53 #include "G4MuonPlus.hh" 54 #include "G4MuonMinus.hh" 55 #include "G4TauMinus.hh" 56 #include "G4TauPlus.hh" 57 #include "G4PionPlus.hh" 58 #include "G4PionMinus.hh" 59 #include "G4KaonPlus.hh" 60 #include "G4KaonMinus.hh" 61 #include "G4BMesonMinus.hh" 62 #include "G4BMesonPlus.hh" 63 #include "G4DMesonMinus.hh" 64 #include "G4DMesonPlus.hh" 65 #include "G4Proton.hh" 66 #include "G4AntiProton.hh" 67 #include "G4SigmaMinus.hh" 68 #include "G4AntiSigmaMinus.hh" 69 #include "G4SigmaPlus.hh" 70 #include "G4AntiSigmaPlus.hh" 71 #include "G4XiMinus.hh" 72 #include "G4AntiXiMinus.hh" 73 #include "G4OmegaMinus.hh" 74 #include "G4AntiOmegaMinus.hh" 75 #include "G4LambdacPlus.hh" 76 #include "G4AntiLambdacPlus.hh" 77 #include "G4XicPlus.hh" 78 #include "G4AntiXicPlus.hh" 79 #include "G4Deuteron.hh" 80 #include "G4Triton.hh" 83 #include "G4GenericIon.hh" 85 #include "G4PhysicsListHelper.hh" 86 #include "G4BuilderType.hh" 87 #include "G4RegionStore.hh" 88 #include "G4Region.hh" 90 #include "G4SystemOfUnits.hh" 93 G4EmParameters* param = G4EmParameters::Instance();
96 param->SetApplyCuts(
true);
97 param->SetLowestElectronEnergy(100 * eV);
98 param->SetStepFunction(0.8, 1 * CLHEP::mm);
99 param->SetUseMottCorrection(
true);
100 param->SetMscRangeFactor(0.2);
101 param->SetMscStepLimitType(fMinimal);
102 param->SetFluo(
true);
103 SetPhysicsType(bElectromagnetic);
114 G4Positron::Positron();
115 G4MuonPlus::MuonPlus();
116 G4MuonMinus::MuonMinus();
117 G4TauMinus::TauMinusDefinition();
118 G4TauPlus::TauPlusDefinition();
121 G4PionPlus::PionPlusDefinition();
122 G4PionMinus::PionMinusDefinition();
123 G4KaonPlus::KaonPlusDefinition();
124 G4KaonMinus::KaonMinusDefinition();
125 G4DMesonMinus::DMesonMinusDefinition();
126 G4DMesonPlus::DMesonPlusDefinition();
127 G4BMesonMinus::BMesonMinusDefinition();
128 G4BMesonPlus::BMesonPlusDefinition();
132 G4AntiProton::AntiProton();
133 G4SigmaMinus::SigmaMinusDefinition();
134 G4AntiSigmaMinus::AntiSigmaMinusDefinition();
135 G4SigmaPlus::SigmaPlusDefinition();
136 G4AntiSigmaPlus::AntiSigmaPlusDefinition();
137 G4XiMinus::XiMinusDefinition();
138 G4AntiXiMinus::AntiXiMinusDefinition();
139 G4OmegaMinus::OmegaMinusDefinition();
140 G4AntiOmegaMinus::AntiOmegaMinusDefinition();
141 G4LambdacPlus::LambdacPlusDefinition();
142 G4AntiLambdacPlus::AntiLambdacPlusDefinition();
143 G4XicPlus::XicPlusDefinition();
144 G4AntiXicPlus::AntiXicPlusDefinition();
147 G4Deuteron::Deuteron();
151 G4GenericIon::GenericIonDefinition();
156 G4cout <<
"### " << GetPhysicsName() <<
" Construct Processes " << G4endl;
163 G4PhysicsListHelper* ph = G4PhysicsListHelper::GetPhysicsListHelper();
166 G4MuBremsstrahlung* mub =
nullptr;
167 G4MuPairProduction* mup =
nullptr;
168 G4hBremsstrahlung* pib =
nullptr;
169 G4hPairProduction* pip =
nullptr;
170 G4hBremsstrahlung* kb =
nullptr;
171 G4hPairProduction*
kp =
nullptr;
172 G4hBremsstrahlung* pb =
nullptr;
173 G4hPairProduction*
pp =
nullptr;
174 G4ePairProduction* ee =
nullptr;
177 G4MuMultipleScattering* mumsc =
nullptr;
178 G4hMultipleScattering* pimsc =
nullptr;
179 G4hMultipleScattering* kmsc =
nullptr;
180 G4hMultipleScattering* hmsc =
nullptr;
183 G4CoulombScattering* muss =
nullptr;
184 G4CoulombScattering* piss =
nullptr;
185 G4CoulombScattering* kss =
nullptr;
188 G4double highEnergyLimit = 100 *
MeV;
191 G4NuclearStopping* pnuc =
nullptr;
193 G4Region* aRegion = G4RegionStore::GetInstance()->GetRegion(
"HcalRegion",
false);
194 G4Region* bRegion = G4RegionStore::GetInstance()->GetRegion(
"HGCalRegion",
false);
196 G4ParticleTable* table = G4ParticleTable::GetParticleTable();
199 G4ParticleDefinition* particle = table->FindParticle(
particleName);
202 G4PhotoElectricEffect* photo =
new G4PhotoElectricEffect();
203 photo->SetEmModel(
new G4LivermorePhotoElectricModel());
204 ph->RegisterProcess(photo, particle);
205 G4ComptonScattering* compt =
new G4ComptonScattering();
206 compt->SetEmModel(
new G4KleinNishinaModel());
207 ph->RegisterProcess(compt, particle);
208 ph->RegisterProcess(
new G4GammaConversion(), particle);
211 G4eIonisation* eioni =
new G4eIonisation();
213 G4eMultipleScattering*
msc =
new G4eMultipleScattering;
214 G4UrbanMscModel* msc1 =
new G4UrbanMscModel();
215 G4WentzelVIModel* msc2 =
new G4WentzelVIModel();
216 G4GoudsmitSaundersonMscModel* msc3 =
new G4GoudsmitSaundersonMscModel();
217 msc3->SetStepLimitType(fUseSafetyPlus);
218 msc3->SetRangeFactor(0.08);
220 msc1->SetHighEnergyLimit(highEnergyLimit);
221 msc2->SetLowEnergyLimit(highEnergyLimit);
222 msc3->SetHighEnergyLimit(highEnergyLimit);
223 msc3->SetLocked(
true);
224 msc->SetEmModel(msc1);
225 msc->SetEmModel(msc2);
226 msc->AddEmModel(-1, msc3, aRegion);
228 msc->AddEmModel(-1, msc3, bRegion);
230 G4eCoulombScatteringModel* ssm =
new G4eCoulombScatteringModel();
231 G4CoulombScattering* ss =
new G4CoulombScattering();
233 ss->SetMinKinEnergy(highEnergyLimit);
234 ssm->SetLowEnergyLimit(highEnergyLimit);
235 ssm->SetActivationLowEnergyLimit(highEnergyLimit);
238 G4eBremsstrahlung* brem =
new G4eBremsstrahlung();
239 G4SeltzerBergerModel* br1 =
new G4SeltzerBergerModel();
240 G4eBremsstrahlungRelModel* br2 =
new G4eBremsstrahlungRelModel();
241 br1->SetAngularDistribution(
new G4Generator2BS());
242 br2->SetAngularDistribution(
new G4Generator2BS());
243 brem->SetEmModel(br1);
244 brem->SetEmModel(br2);
245 br1->SetHighEnergyLimit(
GeV);
248 ee =
new G4ePairProduction();
251 ph->RegisterProcess(msc, particle);
252 ph->RegisterProcess(eioni, particle);
253 ph->RegisterProcess(brem, particle);
254 ph->RegisterProcess(ee, particle);
255 ph->RegisterProcess(ss, particle);
258 G4eIonisation* eioni =
new G4eIonisation();
260 G4eMultipleScattering*
msc =
new G4eMultipleScattering;
261 G4UrbanMscModel* msc1 =
new G4UrbanMscModel();
262 G4WentzelVIModel* msc2 =
new G4WentzelVIModel();
263 G4GoudsmitSaundersonMscModel* msc3 =
new G4GoudsmitSaundersonMscModel();
264 msc3->SetStepLimitType(fUseSafetyPlus);
265 msc3->SetRangeFactor(0.08);
267 msc1->SetHighEnergyLimit(highEnergyLimit);
268 msc2->SetLowEnergyLimit(highEnergyLimit);
269 msc3->SetHighEnergyLimit(highEnergyLimit);
270 msc3->SetLocked(
true);
271 msc->SetEmModel(msc1);
272 msc->SetEmModel(msc2);
273 msc->AddEmModel(-1, msc3, aRegion);
275 msc->AddEmModel(-1, msc3, bRegion);
277 G4eCoulombScatteringModel* ssm =
new G4eCoulombScatteringModel();
278 G4CoulombScattering* ss =
new G4CoulombScattering();
280 ss->SetMinKinEnergy(highEnergyLimit);
281 ssm->SetLowEnergyLimit(highEnergyLimit);
282 ssm->SetActivationLowEnergyLimit(highEnergyLimit);
285 G4eBremsstrahlung* brem =
new G4eBremsstrahlung();
286 G4SeltzerBergerModel* br1 =
new G4SeltzerBergerModel();
287 G4eBremsstrahlungRelModel* br2 =
new G4eBremsstrahlungRelModel();
288 br1->SetAngularDistribution(
new G4Generator2BS());
289 br2->SetAngularDistribution(
new G4Generator2BS());
290 brem->SetEmModel(br1);
291 brem->SetEmModel(br2);
292 br1->SetHighEnergyLimit(
GeV);
295 ee =
new G4ePairProduction();
298 ph->RegisterProcess(msc, particle);
299 ph->RegisterProcess(eioni, particle);
300 ph->RegisterProcess(brem, particle);
301 ph->RegisterProcess(
new G4eplusAnnihilation(), particle);
302 ph->RegisterProcess(ee, particle);
303 ph->RegisterProcess(ss, particle);
306 if (
nullptr == mub) {
307 mub =
new G4MuBremsstrahlung();
308 mup =
new G4MuPairProduction();
309 mumsc =
new G4MuMultipleScattering();
310 mumsc->SetEmModel(
new G4WentzelVIModel());
311 muss =
new G4CoulombScattering();
313 ph->RegisterProcess(mumsc, particle);
314 ph->RegisterProcess(
new G4MuIonisation(), particle);
315 ph->RegisterProcess(mub, particle);
316 ph->RegisterProcess(mup, particle);
317 ph->RegisterProcess(muss, particle);
321 pnuc =
new G4NuclearStopping();
324 ph->RegisterProcess(
new G4hMultipleScattering(), particle);
325 ph->RegisterProcess(
new G4ionIonisation(), particle);
326 ph->RegisterProcess(pnuc, particle);
329 if (
nullptr == hmsc) {
330 hmsc =
new G4hMultipleScattering(
"ionmsc");
333 pnuc =
new G4NuclearStopping();
335 ph->RegisterProcess(hmsc, particle);
336 ph->RegisterProcess(
new G4ionIonisation(), particle);
337 ph->RegisterProcess(pnuc, particle);
340 if (
nullptr == pib) {
341 pib =
new G4hBremsstrahlung();
342 pip =
new G4hPairProduction();
343 pimsc =
new G4hMultipleScattering();
344 pimsc->SetEmModel(
new G4WentzelVIModel());
345 piss =
new G4CoulombScattering();
347 ph->RegisterProcess(pimsc, particle);
348 ph->RegisterProcess(
new G4hIonisation(), particle);
349 ph->RegisterProcess(pib, particle);
350 ph->RegisterProcess(pip, particle);
351 ph->RegisterProcess(piss, particle);
355 kb =
new G4hBremsstrahlung();
356 kp =
new G4hPairProduction();
357 kmsc =
new G4hMultipleScattering();
358 kmsc->SetEmModel(
new G4WentzelVIModel());
359 kss =
new G4CoulombScattering();
361 ph->RegisterProcess(kmsc, particle);
362 ph->RegisterProcess(
new G4hIonisation(), particle);
363 ph->RegisterProcess(kb, particle);
364 ph->RegisterProcess(kp, particle);
365 ph->RegisterProcess(kss, particle);
369 pb =
new G4hBremsstrahlung();
370 pp =
new G4hPairProduction();
373 pnuc =
new G4NuclearStopping();
376 G4hMultipleScattering* pmsc =
new G4hMultipleScattering();
377 pmsc->SetEmModel(
new G4WentzelVIModel());
378 G4hIonisation* hIoni =
new G4hIonisation();
379 G4CoulombScattering*
pss =
new G4CoulombScattering();
381 ph->RegisterProcess(pmsc, particle);
382 ph->RegisterProcess(hIoni, particle);
383 ph->RegisterProcess(pb, particle);
384 ph->RegisterProcess(pp, particle);
385 ph->RegisterProcess(pss, particle);
397 if (
nullptr == hmsc) {
398 hmsc =
new G4hMultipleScattering(
"ionmsc");
400 ph->RegisterProcess(hmsc, particle);
401 ph->RegisterProcess(
new G4hIonisation(), particle);
405 pnuc->SetMaxKinEnergy(
MeV);
409 G4VAtomDeexcitation* de =
new G4UAtomicDeexcitation();
410 G4LossTableManager::Instance()->SetAtomDeexcitation(de);
const std::vector< G4String > & PartNames() const
std::pair< ALIstring, ALIstring > pss
void ConstructProcess() override
~CMSEmStandardPhysicsXS() override
CMSEmStandardPhysicsXS(G4int ver)
void ConstructParticle() override