#include <G4HadronCaptureProcess.hh>
Inheritance diagram for G4HadronCaptureProcess:
Public Member Functions | |
G4HadronCaptureProcess (const G4String &processName="nCapture") | |
virtual | ~G4HadronCaptureProcess () |
virtual G4bool | IsApplicable (const G4ParticleDefinition &aParticleType) |
virtual void | ProcessDescription (std::ostream &outFile) const |
Definition at line 52 of file G4HadronCaptureProcess.hh.
G4HadronCaptureProcess::G4HadronCaptureProcess | ( | const G4String & | processName = "nCapture" |
) |
Definition at line 48 of file G4HadronCaptureProcess.cc.
References G4HadronicProcess::AddDataSet().
00048 : 00049 G4HadronicProcess(processName, fCapture) 00050 { 00051 G4HadronicProcess::AddDataSet(new G4HadronCaptureDataSet()); 00052 }
G4HadronCaptureProcess::~G4HadronCaptureProcess | ( | ) | [virtual] |
G4bool G4HadronCaptureProcess::IsApplicable | ( | const G4ParticleDefinition & | aParticleType | ) | [virtual] |
Reimplemented from G4VProcess.
Definition at line 60 of file G4HadronCaptureProcess.cc.
References G4Neutron::Neutron().
00061 { 00062 return (&aParticleType == G4Neutron::Neutron()); 00063 }
void G4HadronCaptureProcess::ProcessDescription | ( | std::ostream & | outFile | ) | const [virtual] |
Reimplemented from G4HadronicProcess.
Definition at line 65 of file G4HadronCaptureProcess.cc.
00066 { 00067 outFile << "This process handles the capture of neutrons by nuclei by\n" 00068 << "invoking one or more hadronic models and one or more hadronic\n" 00069 << "cross sections.\n"; 00070 }