133 G4Region* reg =
nullptr;
135 G4RegionStore* regStore = G4RegionStore::GetInstance();
136 reg = regStore->GetRegion(
region,
false);
139 G4ParticleTable*
table = G4ParticleTable::GetParticleTable();
143 G4ProcessManager* pmanager = particle->GetProcessManager();
148 pmanager->AddDiscreteProcess(
new G4PhotoElectricEffect);
149 pmanager->AddDiscreteProcess(
new G4ComptonScattering);
150 pmanager->AddDiscreteProcess(
new G4GammaConversion);
153 G4eMultipleScattering* msc =
new G4eMultipleScattering;
154 msc->SetStepLimitType(fMinimal);
155 if (reg !=
nullptr) {
156 G4UrbanMscModel* msc_el =
new G4UrbanMscModel();
157 msc_el->SetRangeFactor(0.04);
158 msc->AddEmModel(0, msc_el, reg);
160 pmanager->AddProcess(msc, -1, 1, -1);
161 pmanager->AddProcess(
new G4hhIonisation, -1, 2, 1);
162 pmanager->AddProcess(
new G4eBremsstrahlung, -1, -3, 2);
165 G4eMultipleScattering* msc =
new G4eMultipleScattering;
166 msc->SetStepLimitType(fMinimal);
167 if (reg !=
nullptr) {
168 G4UrbanMscModel* msc_pos =
new G4UrbanMscModel();
169 msc_pos->SetRangeFactor(0.04);
170 msc->AddEmModel(0, msc_pos, reg);
172 pmanager->AddProcess(msc, -1, 1, -1);
173 pmanager->AddProcess(
new G4hhIonisation, -1, 2, -1);
174 pmanager->AddProcess(
new G4eBremsstrahlung, -1, -3, 1);
175 pmanager->AddProcess(
new G4eplusAnnihilation, 0, -1, 2);
178 pmanager->AddProcess(
new G4hMultipleScattering, -1, 1, -1);
179 pmanager->AddProcess(
new G4hhIonisation, -1, 2, -1);
180 pmanager->AddProcess(
new G4MuBremsstrahlung, -1, -3, 1);
181 pmanager->AddProcess(
new G4MuPairProduction, -1, -4, 2);
184 pmanager->AddProcess(
new G4hMultipleScattering, -1, 1, -1);
185 pmanager->AddProcess(
new G4hhIonisation, -1, 2, -1);
189 pmanager->AddProcess(
new G4hMultipleScattering, -1, 1, -1);
190 pmanager->AddProcess(
new G4hhIonisation, -1, 2, -1);
191 pmanager->AddProcess(
new G4hBremsstrahlung(), -1, -3, 1);
192 pmanager->AddProcess(
new G4hPairProduction(), -1, -4, 2);
194 }
else if (particle->GetPDGCharge() != 0.0) {
195 pmanager->AddProcess(
new G4hMultipleScattering, -1, 1, -1);
196 pmanager->AddProcess(
new G4hhIonisation, -1, 2, -1);