4 #include "G4EmParameters.hh" 5 #include "G4ParticleTable.hh" 7 #include "G4ParticleDefinition.hh" 8 #include "G4LossTableManager.hh" 9 #include "G4EmParameters.hh" 11 #include "G4ComptonScattering.hh" 12 #include "G4GammaConversion.hh" 13 #include "G4PhotoElectricEffect.hh" 14 #include "G4LivermorePhotoElectricModel.hh" 15 #include "G4KleinNishinaModel.hh" 17 #include "G4hMultipleScattering.hh" 18 #include "G4eMultipleScattering.hh" 19 #include "G4MuMultipleScattering.hh" 20 #include "G4CoulombScattering.hh" 21 #include "G4eCoulombScatteringModel.hh" 22 #include "G4WentzelVIModel.hh" 23 #include "G4UrbanMscModel.hh" 25 #include "G4eIonisation.hh" 26 #include "G4eBremsstrahlung.hh" 27 #include "G4eplusAnnihilation.hh" 29 #include "G4MuIonisation.hh" 30 #include "G4MuBremsstrahlung.hh" 31 #include "G4MuPairProduction.hh" 33 #include "G4hIonisation.hh" 34 #include "G4ionIonisation.hh" 35 #include "G4hBremsstrahlung.hh" 36 #include "G4hPairProduction.hh" 37 #include "G4UAtomicDeexcitation.hh" 40 #include "G4Electron.hh" 41 #include "G4Positron.hh" 42 #include "G4MuonPlus.hh" 43 #include "G4MuonMinus.hh" 44 #include "G4TauMinus.hh" 45 #include "G4TauPlus.hh" 46 #include "G4PionPlus.hh" 47 #include "G4PionMinus.hh" 48 #include "G4KaonPlus.hh" 49 #include "G4KaonMinus.hh" 50 #include "G4BMesonMinus.hh" 51 #include "G4BMesonPlus.hh" 52 #include "G4DMesonMinus.hh" 53 #include "G4DMesonPlus.hh" 54 #include "G4Proton.hh" 55 #include "G4AntiProton.hh" 56 #include "G4SigmaMinus.hh" 57 #include "G4AntiSigmaMinus.hh" 58 #include "G4SigmaPlus.hh" 59 #include "G4AntiSigmaPlus.hh" 60 #include "G4XiMinus.hh" 61 #include "G4AntiXiMinus.hh" 62 #include "G4OmegaMinus.hh" 63 #include "G4AntiOmegaMinus.hh" 64 #include "G4LambdacPlus.hh" 65 #include "G4AntiLambdacPlus.hh" 66 #include "G4XicPlus.hh" 67 #include "G4AntiXicPlus.hh" 68 #include "G4Deuteron.hh" 69 #include "G4Triton.hh" 72 #include "G4GenericIon.hh" 74 #include "G4PhysicsListHelper.hh" 75 #include "G4BuilderType.hh" 76 #include "G4RegionStore.hh" 77 #include "G4Region.hh" 79 #include "G4SystemOfUnits.hh" 82 G4VPhysicsConstructor(
"CMSEmStandardXS_opt1"),
verbose(ver) {
83 G4EmParameters* param = G4EmParameters::Instance();
86 param->SetApplyCuts(
true);
87 param->SetMscRangeFactor(0.2);
88 param->SetMscStepLimitType(fMinimal);
89 SetPhysicsType(bElectromagnetic);
100 G4Positron::Positron();
101 G4MuonPlus::MuonPlus();
102 G4MuonMinus::MuonMinus();
103 G4TauMinus::TauMinusDefinition();
104 G4TauPlus::TauPlusDefinition();
107 G4PionPlus::PionPlusDefinition();
108 G4PionMinus::PionMinusDefinition();
109 G4KaonPlus::KaonPlusDefinition();
110 G4KaonMinus::KaonMinusDefinition();
111 G4DMesonMinus::DMesonMinusDefinition();
112 G4DMesonPlus::DMesonPlusDefinition();
113 G4BMesonMinus::BMesonMinusDefinition();
114 G4BMesonPlus::BMesonPlusDefinition();
118 G4AntiProton::AntiProton();
119 G4SigmaMinus::SigmaMinusDefinition();
120 G4AntiSigmaMinus::AntiSigmaMinusDefinition();
121 G4SigmaPlus::SigmaPlusDefinition();
122 G4AntiSigmaPlus::AntiSigmaPlusDefinition();
123 G4XiMinus::XiMinusDefinition();
124 G4AntiXiMinus::AntiXiMinusDefinition();
125 G4OmegaMinus::OmegaMinusDefinition();
126 G4AntiOmegaMinus::AntiOmegaMinusDefinition();
127 G4LambdacPlus::LambdacPlusDefinition();
128 G4AntiLambdacPlus::AntiLambdacPlusDefinition();
129 G4XicPlus::XicPlusDefinition();
130 G4AntiXicPlus::AntiXicPlusDefinition();
133 G4Deuteron::Deuteron();
137 G4GenericIon::GenericIonDefinition();
143 G4cout <<
"### " << GetPhysicsName() <<
" Construct Processes " << G4endl;
150 G4PhysicsListHelper* ph = G4PhysicsListHelper::GetPhysicsListHelper();
153 G4MuBremsstrahlung* mub =
nullptr;
154 G4MuPairProduction* mup =
nullptr;
155 G4hBremsstrahlung* pib =
nullptr;
156 G4hPairProduction* pip =
nullptr;
157 G4hBremsstrahlung* kb =
nullptr;
158 G4hPairProduction*
kp =
nullptr;
159 G4hBremsstrahlung* pb =
nullptr;
160 G4hPairProduction*
pp =
nullptr;
163 G4MuMultipleScattering* mumsc=
nullptr;
164 G4hMultipleScattering* pimsc=
nullptr;
165 G4hMultipleScattering* kmsc =
nullptr;
166 G4hMultipleScattering* pmsc =
nullptr;
167 G4hMultipleScattering* hmsc =
nullptr;
170 G4double highEnergyLimit = 100*
MeV;
173 G4RegionStore::GetInstance()->GetRegion(
"HcalRegion",
false);
175 G4RegionStore::GetInstance()->GetRegion(
"HGCalRegion",
false);
177 G4ParticleTable* table = G4ParticleTable::GetParticleTable();
180 G4ParticleDefinition* particle = table->FindParticle(
particleName);
184 G4PhotoElectricEffect* photo =
new G4PhotoElectricEffect();
185 photo->SetEmModel(
new G4LivermorePhotoElectricModel());
186 ph->RegisterProcess(photo, particle);
187 G4ComptonScattering* compt =
new G4ComptonScattering();
188 compt->SetEmModel(
new G4KleinNishinaModel());
189 ph->RegisterProcess(compt, particle);
190 ph->RegisterProcess(
new G4GammaConversion(), particle);
194 G4eIonisation* eioni =
new G4eIonisation();
195 eioni->SetStepFunction(0.8, 1.0*mm);
197 G4eMultipleScattering*
msc =
new G4eMultipleScattering;
198 msc->SetStepLimitType(fMinimal);
199 G4UrbanMscModel* msc1 =
new G4UrbanMscModel();
200 G4WentzelVIModel* msc2 =
new G4WentzelVIModel();
201 G4UrbanMscModel* msc3 =
new G4UrbanMscModel();
202 msc3->SetLocked(
true);
203 msc1->SetHighEnergyLimit(highEnergyLimit);
204 msc2->SetLowEnergyLimit(highEnergyLimit);
205 msc3->SetHighEnergyLimit(highEnergyLimit);
206 msc->AddEmModel(0, msc1);
207 msc->AddEmModel(0, msc2);
208 msc->AddEmModel(-1, msc3, aRegion);
209 if (bRegion) msc->AddEmModel(-1, msc3, bRegion);
211 G4eCoulombScatteringModel* ssm =
new G4eCoulombScatteringModel();
212 G4CoulombScattering* ss =
new G4CoulombScattering();
214 ss->SetMinKinEnergy(highEnergyLimit);
215 ssm->SetLowEnergyLimit(highEnergyLimit);
216 ssm->SetActivationLowEnergyLimit(highEnergyLimit);
218 ph->RegisterProcess(msc, particle);
219 ph->RegisterProcess(eioni, particle);
220 ph->RegisterProcess(
new G4eBremsstrahlung(), particle);
221 ph->RegisterProcess(ss, particle);
225 G4eIonisation* eioni =
new G4eIonisation();
226 eioni->SetStepFunction(0.8, 1.0*mm);
228 G4eMultipleScattering*
msc =
new G4eMultipleScattering;
229 msc->SetStepLimitType(fMinimal);
230 G4UrbanMscModel* msc1 =
new G4UrbanMscModel();
231 G4WentzelVIModel* msc2=
new G4WentzelVIModel();
232 G4UrbanMscModel* msc3 =
new G4UrbanMscModel();
233 msc1->SetHighEnergyLimit(highEnergyLimit);
234 msc2->SetLowEnergyLimit(highEnergyLimit);
235 msc3->SetHighEnergyLimit(highEnergyLimit);
236 msc3->SetLocked(
true);
237 msc->AddEmModel(0, msc1);
238 msc->AddEmModel(0, msc2);
239 msc->AddEmModel(-1, msc3, aRegion);
240 if (bRegion) msc->AddEmModel(-1, msc3, bRegion);
242 G4eCoulombScatteringModel* ssm =
new G4eCoulombScatteringModel();
243 G4CoulombScattering* ss =
new G4CoulombScattering();
245 ss->SetMinKinEnergy(highEnergyLimit);
246 ssm->SetLowEnergyLimit(highEnergyLimit);
247 ssm->SetActivationLowEnergyLimit(highEnergyLimit);
249 ph->RegisterProcess(msc, particle);
250 ph->RegisterProcess(eioni, particle);
251 ph->RegisterProcess(
new G4eBremsstrahlung(), particle);
252 ph->RegisterProcess(
new G4eplusAnnihilation(), particle);
253 ph->RegisterProcess(ss, particle);
259 mub =
new G4MuBremsstrahlung();
260 mup =
new G4MuPairProduction();
261 mumsc =
new G4MuMultipleScattering();
262 mumsc->SetEmModel(
new G4WentzelVIModel());
264 ph->RegisterProcess(mumsc, particle);
265 ph->RegisterProcess(
new G4MuIonisation(), particle);
266 ph->RegisterProcess(mub, particle);
267 ph->RegisterProcess(mup, particle);
268 ph->RegisterProcess(
new G4CoulombScattering(), particle);
273 ph->RegisterProcess(
new G4hMultipleScattering(), particle);
274 ph->RegisterProcess(
new G4ionIonisation(), particle);
278 if(
nullptr == hmsc) {
279 hmsc =
new G4hMultipleScattering(
"ionmsc");
281 ph->RegisterProcess(hmsc, particle);
282 ph->RegisterProcess(
new G4ionIonisation(), particle);
288 pib =
new G4hBremsstrahlung();
289 pip =
new G4hPairProduction();
290 pimsc =
new G4hMultipleScattering();
291 pimsc->SetEmModel(
new G4WentzelVIModel());
293 ph->RegisterProcess(pimsc, particle);
294 ph->RegisterProcess(
new G4hIonisation(), particle);
295 ph->RegisterProcess(pib, particle);
296 ph->RegisterProcess(pip, particle);
297 ph->RegisterProcess(
new G4CoulombScattering(), particle);
303 kb =
new G4hBremsstrahlung();
304 kp =
new G4hPairProduction();
305 kmsc =
new G4hMultipleScattering();
306 kmsc->SetEmModel(
new G4WentzelVIModel());
308 ph->RegisterProcess(kmsc, particle);
309 ph->RegisterProcess(
new G4hIonisation(), particle);
310 ph->RegisterProcess(kb, particle);
311 ph->RegisterProcess(kp, particle);
312 ph->RegisterProcess(
new G4CoulombScattering(), particle);
318 pb =
new G4hBremsstrahlung();
319 pp =
new G4hPairProduction();
321 pmsc =
new G4hMultipleScattering();
322 pmsc->SetEmModel(
new G4WentzelVIModel());
323 ph->RegisterProcess(pmsc, particle);
324 ph->RegisterProcess(
new G4hIonisation(), particle);
325 ph->RegisterProcess(pb, particle);
326 ph->RegisterProcess(pp, particle);
327 ph->RegisterProcess(
new G4CoulombScattering(), particle);
360 if(
nullptr == hmsc) {
361 hmsc =
new G4hMultipleScattering(
"ionmsc");
363 ph->RegisterProcess(hmsc, particle);
364 ph->RegisterProcess(
new G4hIonisation(), particle);
369 G4VAtomDeexcitation* de =
new G4UAtomicDeexcitation();
370 G4LossTableManager::Instance()->SetAtomDeexcitation(de);
const std::vector< G4String > & PartNames() const
void ConstructProcess() override
~CMSEmStandardPhysicsXS() override
CMSEmStandardPhysicsXS(G4int ver)
void ConstructParticle() override