71 G4Region* reg =
nullptr;
73 G4RegionStore* regStore = G4RegionStore::GetInstance();
74 reg = regStore->GetRegion(
region,
false);
77 G4ParticleTable*
table = G4ParticleTable::GetParticleTable();
81 G4ProcessManager* pmanager = particle->GetProcessManager();
86 pmanager->AddDiscreteProcess(
new G4PhotoElectricEffect);
87 pmanager->AddDiscreteProcess(
new G4ComptonScattering);
88 pmanager->AddDiscreteProcess(
new G4GammaConversion);
91 G4eMultipleScattering* msc =
new G4eMultipleScattering;
92 msc->SetStepLimitType(fMinimal);
94 G4UrbanMscModel* msc_el =
new G4UrbanMscModel();
95 msc_el->SetRangeFactor(0.04);
96 msc->AddEmModel(0, msc_el, reg);
98 pmanager->AddProcess(msc, -1, 1, -1);
99 pmanager->AddProcess(
new G4hhIonisation, -1, 2, 1);
100 pmanager->AddProcess(
new G4eBremsstrahlung, -1, -3, 2);
103 G4eMultipleScattering* msc =
new G4eMultipleScattering;
104 msc->SetStepLimitType(fMinimal);
105 if (reg !=
nullptr) {
106 G4UrbanMscModel* msc_pos =
new G4UrbanMscModel();
107 msc_pos->SetRangeFactor(0.04);
108 msc->AddEmModel(0, msc_pos, reg);
110 pmanager->AddProcess(msc, -1, 1, -1);
111 pmanager->AddProcess(
new G4hhIonisation, -1, 2, -1);
112 pmanager->AddProcess(
new G4eBremsstrahlung, -1, -3, 1);
113 pmanager->AddProcess(
new G4eplusAnnihilation, 0, -1, 2);
116 pmanager->AddProcess(
new G4hMultipleScattering, -1, 1, -1);
117 pmanager->AddProcess(
new G4hhIonisation, -1, 2, -1);
118 pmanager->AddProcess(
new G4MuBremsstrahlung, -1, -3, 1);
119 pmanager->AddProcess(
new G4MuPairProduction, -1, -4, 2);
122 pmanager->AddProcess(
new G4hMultipleScattering, -1, 1, -1);
123 pmanager->AddProcess(
new G4hhIonisation, -1, 2, -1);
127 pmanager->AddProcess(
new G4hMultipleScattering, -1, 1, -1);
128 pmanager->AddProcess(
new G4hhIonisation, -1, 2, -1);
129 pmanager->AddProcess(
new G4hBremsstrahlung(), -1, -3, 1);
130 pmanager->AddProcess(
new G4hPairProduction(), -1, -4, 2);
132 }
else if (particle->GetPDGCharge() != 0.0) {
133 pmanager->AddProcess(
new G4hMultipleScattering, -1, 1, -1);
134 pmanager->AddProcess(
new G4hhIonisation, -1, 2, -1);