3 #include "G4ParticleDefinition.hh"
4 #include "G4ProcessManager.hh"
5 #include "G4HadronicProcess.hh"
7 #include "G4ParticleHPThermalScattering.hh"
8 #include "G4ParticleHPThermalScatteringData.hh"
10 #include "G4BuilderType.hh"
12 #include "G4SystemOfUnits.hh"
20 G4cout <<
"### " << GetPhysicsName() <<
" Construct Processes " << G4endl;
22 G4Neutron*
part = G4Neutron::Neutron();
23 G4HadronicProcess* hpel = FindElasticProcess(
part);
25 G4cout <<
"### " << GetPhysicsName() <<
" WARNING: Fail to add thermal neutron scattering" << G4endl;
29 G4int ni = (hpel->GetHadronicInteractionList()).
size();
31 G4cout <<
"### " << GetPhysicsName() <<
" WARNING: Fail to add thermal neutron scattering - Nint= " << ni << G4endl;
34 (hpel->GetHadronicInteractionList())[ni - 1]->SetMinEnergy(4 * CLHEP::eV);
36 hpel->RegisterMe(
new G4ParticleHPThermalScattering());
37 hpel->AddDataSet(
new G4ParticleHPThermalScatteringData());