130 G4Region* reg =
nullptr;
132 G4RegionStore* regStore = G4RegionStore::GetInstance();
133 reg = regStore->GetRegion(
region,
true);
136 G4ParticleTable* table = G4ParticleTable::GetParticleTable();
139 G4ParticleDefinition* particle = table->FindParticle(
particleName);
140 G4ProcessManager* pmanager = particle->GetProcessManager();
142 G4cout <<
"### " << GetPhysicsName() <<
" instantiates for " 147 pmanager->AddDiscreteProcess(
new G4PhotoElectricEffect);
148 pmanager->AddDiscreteProcess(
new G4ComptonScattering);
149 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, 2);
162 pmanager->AddProcess(
new G4eBremsstrahlung, -1,-3, 3);
168 G4eMultipleScattering* msc =
new G4eMultipleScattering;
169 msc->SetStepLimitType(fMinimal);
170 if (reg !=
nullptr) {
171 G4UrbanMscModel* msc_pos =
new G4UrbanMscModel();
172 msc_pos->SetRangeFactor(0.04);
173 msc->AddEmModel(0,msc_pos,reg);
175 pmanager->AddProcess(msc, -1, 1, 1);
176 pmanager->AddProcess(
new G4hhIonisation, -1, 2, 2);
177 pmanager->AddProcess(
new G4eBremsstrahlung, -1,-3, 3);
178 pmanager->AddProcess(
new G4eplusAnnihilation, 0,-1, 4);
183 pmanager->AddProcess(
new G4hMultipleScattering, -1, 1, 1);
184 pmanager->AddProcess(
new G4hhIonisation, -1, 2, 2);
185 pmanager->AddProcess(
new G4MuBremsstrahlung, -1,-3, 3);
186 pmanager->AddProcess(
new G4MuPairProduction, -1,-4, 4);
192 pmanager->AddProcess(
new G4hMultipleScattering, -1, 1, 1);
193 pmanager->AddProcess(
new G4hhIonisation, -1, 2, 2);
201 pmanager->AddProcess(
new G4hMultipleScattering, -1, 1, 1);
202 pmanager->AddProcess(
new G4hhIonisation, -1, 2, 2);
203 pmanager->AddProcess(
new G4hBremsstrahlung(), -1,-3, 3);
204 pmanager->AddProcess(
new G4hPairProduction(), -1,-4, 4);
234 pmanager->AddProcess(
new G4hMultipleScattering, -1, 1, 1);
235 pmanager->AddProcess(
new G4hhIonisation, -1, 2, 2);
const std::vector< G4String > & PartNames() const