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->SetStepFunction(0.8, 1*CLHEP::mm);
88 param->SetMscRangeFactor(0.2);
89 param->SetMscStepLimitType(fMinimal);
91 SetPhysicsType(bElectromagnetic);
102 G4Positron::Positron();
103 G4MuonPlus::MuonPlus();
104 G4MuonMinus::MuonMinus();
105 G4TauMinus::TauMinusDefinition();
106 G4TauPlus::TauPlusDefinition();
109 G4PionPlus::PionPlusDefinition();
110 G4PionMinus::PionMinusDefinition();
111 G4KaonPlus::KaonPlusDefinition();
112 G4KaonMinus::KaonMinusDefinition();
113 G4DMesonMinus::DMesonMinusDefinition();
114 G4DMesonPlus::DMesonPlusDefinition();
115 G4BMesonMinus::BMesonMinusDefinition();
116 G4BMesonPlus::BMesonPlusDefinition();
120 G4AntiProton::AntiProton();
121 G4SigmaMinus::SigmaMinusDefinition();
122 G4AntiSigmaMinus::AntiSigmaMinusDefinition();
123 G4SigmaPlus::SigmaPlusDefinition();
124 G4AntiSigmaPlus::AntiSigmaPlusDefinition();
125 G4XiMinus::XiMinusDefinition();
126 G4AntiXiMinus::AntiXiMinusDefinition();
127 G4OmegaMinus::OmegaMinusDefinition();
128 G4AntiOmegaMinus::AntiOmegaMinusDefinition();
129 G4LambdacPlus::LambdacPlusDefinition();
130 G4AntiLambdacPlus::AntiLambdacPlusDefinition();
131 G4XicPlus::XicPlusDefinition();
132 G4AntiXicPlus::AntiXicPlusDefinition();
135 G4Deuteron::Deuteron();
139 G4GenericIon::GenericIonDefinition();
145 G4cout <<
"### " << GetPhysicsName() <<
" Construct Processes " << G4endl;
152 G4PhysicsListHelper* ph = G4PhysicsListHelper::GetPhysicsListHelper();
155 G4MuBremsstrahlung* mub =
nullptr;
156 G4MuPairProduction* mup =
nullptr;
157 G4hBremsstrahlung* pib =
nullptr;
158 G4hPairProduction* pip =
nullptr;
159 G4hBremsstrahlung* kb =
nullptr;
160 G4hPairProduction*
kp =
nullptr;
161 G4hBremsstrahlung* pb =
nullptr;
162 G4hPairProduction*
pp =
nullptr;
165 G4MuMultipleScattering* mumsc =
nullptr;
166 G4hMultipleScattering* pimsc =
nullptr;
167 G4hMultipleScattering* kmsc =
nullptr;
168 G4hMultipleScattering* pmsc =
nullptr;
169 G4hMultipleScattering* hmsc =
nullptr;
172 G4CoulombScattering* muss =
nullptr;
173 G4CoulombScattering* piss =
nullptr;
174 G4CoulombScattering* kss =
nullptr;
175 G4CoulombScattering*
pss =
nullptr;
178 G4double highEnergyLimit = 100*
MeV;
181 G4RegionStore::GetInstance()->GetRegion(
"HcalRegion",
false);
183 G4RegionStore::GetInstance()->GetRegion(
"HGCalRegion",
false);
185 G4ParticleTable* table = G4ParticleTable::GetParticleTable();
188 G4ParticleDefinition* particle = table->FindParticle(
particleName);
192 G4PhotoElectricEffect* photo =
new G4PhotoElectricEffect();
193 photo->SetEmModel(
new G4LivermorePhotoElectricModel());
194 ph->RegisterProcess(photo, particle);
195 G4ComptonScattering* compt =
new G4ComptonScattering();
196 compt->SetEmModel(
new G4KleinNishinaModel());
197 ph->RegisterProcess(compt, particle);
198 ph->RegisterProcess(
new G4GammaConversion(), particle);
202 G4eIonisation* eioni =
new G4eIonisation();
204 G4eMultipleScattering*
msc =
new G4eMultipleScattering;
205 G4UrbanMscModel* msc1 =
new G4UrbanMscModel();
206 G4WentzelVIModel* msc2 =
new G4WentzelVIModel();
207 G4UrbanMscModel* msc3 =
new G4UrbanMscModel();
208 msc3->SetLocked(
true);
209 msc1->SetHighEnergyLimit(highEnergyLimit);
210 msc2->SetLowEnergyLimit(highEnergyLimit);
211 msc3->SetHighEnergyLimit(highEnergyLimit);
212 msc->SetEmModel(msc1);
213 msc->SetEmModel(msc2);
214 msc->AddEmModel(-1, msc3, aRegion);
215 if (bRegion) msc->AddEmModel(-1, msc3, bRegion);
217 G4eCoulombScatteringModel* ssm =
new G4eCoulombScatteringModel();
218 G4CoulombScattering* ss =
new G4CoulombScattering();
220 ss->SetMinKinEnergy(highEnergyLimit);
221 ssm->SetLowEnergyLimit(highEnergyLimit);
222 ssm->SetActivationLowEnergyLimit(highEnergyLimit);
224 ph->RegisterProcess(msc, particle);
225 ph->RegisterProcess(eioni, particle);
226 ph->RegisterProcess(
new G4eBremsstrahlung(), particle);
227 ph->RegisterProcess(ss, particle);
231 G4eIonisation* eioni =
new G4eIonisation();
233 G4eMultipleScattering*
msc =
new G4eMultipleScattering;
234 G4UrbanMscModel* msc1 =
new G4UrbanMscModel();
235 G4WentzelVIModel* msc2=
new G4WentzelVIModel();
236 G4UrbanMscModel* msc3 =
new G4UrbanMscModel();
237 msc1->SetHighEnergyLimit(highEnergyLimit);
238 msc2->SetLowEnergyLimit(highEnergyLimit);
239 msc3->SetHighEnergyLimit(highEnergyLimit);
240 msc3->SetLocked(
true);
241 msc->SetEmModel(msc1);
242 msc->SetEmModel(msc2);
243 msc->AddEmModel(-1, msc3, aRegion);
244 if (bRegion) msc->AddEmModel(-1, msc3, bRegion);
246 G4eCoulombScatteringModel* ssm =
new G4eCoulombScatteringModel();
247 G4CoulombScattering* ss =
new G4CoulombScattering();
249 ss->SetMinKinEnergy(highEnergyLimit);
250 ssm->SetLowEnergyLimit(highEnergyLimit);
251 ssm->SetActivationLowEnergyLimit(highEnergyLimit);
253 ph->RegisterProcess(msc, particle);
254 ph->RegisterProcess(eioni, particle);
255 ph->RegisterProcess(
new G4eBremsstrahlung(), particle);
256 ph->RegisterProcess(
new G4eplusAnnihilation(), particle);
257 ph->RegisterProcess(ss, particle);
263 mub =
new G4MuBremsstrahlung();
264 mup =
new G4MuPairProduction();
265 mumsc =
new G4MuMultipleScattering();
266 mumsc->SetEmModel(
new G4WentzelVIModel());
267 muss =
new G4CoulombScattering();
269 ph->RegisterProcess(mumsc, particle);
270 ph->RegisterProcess(
new G4MuIonisation(), particle);
271 ph->RegisterProcess(mub, particle);
272 ph->RegisterProcess(mup, particle);
273 ph->RegisterProcess(muss, particle);
278 ph->RegisterProcess(
new G4hMultipleScattering(), particle);
279 ph->RegisterProcess(
new G4ionIonisation(), particle);
283 if(
nullptr == hmsc) {
284 hmsc =
new G4hMultipleScattering(
"ionmsc");
286 ph->RegisterProcess(hmsc, particle);
287 ph->RegisterProcess(
new G4ionIonisation(), particle);
293 pib =
new G4hBremsstrahlung();
294 pip =
new G4hPairProduction();
295 pimsc =
new G4hMultipleScattering();
296 pimsc->SetEmModel(
new G4WentzelVIModel());
297 piss =
new G4CoulombScattering();
299 ph->RegisterProcess(pimsc, particle);
300 ph->RegisterProcess(
new G4hIonisation(), particle);
301 ph->RegisterProcess(pib, particle);
302 ph->RegisterProcess(pip, particle);
303 ph->RegisterProcess(piss, particle);
309 kb =
new G4hBremsstrahlung();
310 kp =
new G4hPairProduction();
311 kmsc =
new G4hMultipleScattering();
312 kmsc->SetEmModel(
new G4WentzelVIModel());
313 kss =
new G4CoulombScattering();
315 ph->RegisterProcess(kmsc, particle);
316 ph->RegisterProcess(
new G4hIonisation(), particle);
317 ph->RegisterProcess(kb, particle);
318 ph->RegisterProcess(kp, particle);
319 ph->RegisterProcess(kss, particle);
325 pb =
new G4hBremsstrahlung();
326 pp =
new G4hPairProduction();
327 pmsc =
new G4hMultipleScattering();
329 pmsc->SetEmModel(
new G4WentzelVIModel());
330 pss =
new G4CoulombScattering();
332 ph->RegisterProcess(pmsc, particle);
333 ph->RegisterProcess(
new G4hIonisation(), particle);
334 ph->RegisterProcess(pb, particle);
335 ph->RegisterProcess(pp, particle);
336 ph->RegisterProcess(pss, particle);
369 if(
nullptr == hmsc) {
370 hmsc =
new G4hMultipleScattering(
"ionmsc");
372 ph->RegisterProcess(hmsc, particle);
373 ph->RegisterProcess(
new G4hIonisation(), particle);
378 G4VAtomDeexcitation* de =
new G4UAtomicDeexcitation();
379 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