#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 20 of file CMSThermalNeutrons.cc.
References ecalTB2006H4_GenSimDigiReco_cfg::G4cout, and findQualityFiles::size.
23 G4cout <<
"### " << GetPhysicsName() <<
" Construct Processes " << G4endl;
25 G4Neutron*
part = G4Neutron::Neutron();
26 G4HadronicProcess* hpel = FindElasticProcess(part);
28 G4cout <<
"### " << GetPhysicsName()
29 <<
" WARNING: Fail to add thermal neutron scattering" << G4endl;
33 G4int ni = (hpel->GetHadronicInteractionList()).
size();
35 G4cout <<
"### " << GetPhysicsName()
36 <<
" WARNING: Fail to add thermal neutron scattering - Nint= " 40 (hpel->GetHadronicInteractionList())[ni-1]->SetMinEnergy(4*CLHEP::eV);
42 hpel->RegisterMe(
new G4ParticleHPThermalScattering());
43 hpel->AddDataSet(
new G4ParticleHPThermalScatteringData());
G4int CMSThermalNeutrons::verbose |
|
private |