#include <CMSThermalNeutrons.h>
Definition at line 7 of file CMSThermalNeutrons.h.
CMSThermalNeutrons::CMSThermalNeutrons |
( |
G4int |
ver | ) |
|
CMSThermalNeutrons::~CMSThermalNeutrons |
( |
| ) |
|
|
override |
void CMSThermalNeutrons::ConstructProcess |
( |
| ) |
|
|
override |
Definition at line 18 of file CMSThermalNeutrons.cc.
References ecalTB2006H4_GenSimDigiReco_cfg::G4cout, and findQualityFiles::size.
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());
G4int CMSThermalNeutrons::verbose |
|
private |