#include <G4NeutronHPNPInelasticFS.hh>
Inheritance diagram for G4NeutronHPNPInelasticFS:
Public Member Functions | |
G4NeutronHPNPInelasticFS () | |
~G4NeutronHPNPInelasticFS () | |
void | Init (G4double A, G4double Z, G4int M, G4String &dirName, G4String &aFSType) |
G4HadFinalState * | ApplyYourself (const G4HadProjectile &theTrack) |
G4NeutronHPFinalState * | New () |
Definition at line 41 of file G4NeutronHPNPInelasticFS.hh.
G4NeutronHPNPInelasticFS::G4NeutronHPNPInelasticFS | ( | ) | [inline] |
G4NeutronHPNPInelasticFS::~G4NeutronHPNPInelasticFS | ( | ) | [inline] |
G4HadFinalState * G4NeutronHPNPInelasticFS::ApplyYourself | ( | const G4HadProjectile & | theTrack | ) | [virtual] |
Implements G4NeutronHPInelasticBaseFS.
Definition at line 34 of file G4NeutronHPNPInelasticFS.cc.
References G4NeutronHPInelasticBaseFS::BaseApply(), G4Neutron::Neutron(), G4Proton::Proton(), and G4NeutronHPFinalState::theResult.
00035 { 00036 // these are the particle types in the final state 00037 00038 G4ParticleDefinition * theDefs[2]; 00039 theDefs[0] = G4Neutron::Neutron(); 00040 theDefs[1] = G4Proton::Proton(); 00041 00042 // fill the final state 00043 G4NeutronHPInelasticBaseFS::BaseApply(theTrack, theDefs, 2); 00044 00045 // return the result 00046 return &theResult; 00047 }
void G4NeutronHPNPInelasticFS::Init | ( | G4double | A, | |
G4double | Z, | |||
G4int | M, | |||
G4String & | dirName, | |||
G4String & | aFSType | |||
) | [virtual] |
Reimplemented from G4NeutronHPInelasticBaseFS.
Definition at line 50 of file G4NeutronHPNPInelasticFS.cc.
References G4NeutronHPInelasticBaseFS::Init(), and G4NeutronHPInelasticBaseFS::InitGammas().
00051 { 00052 G4NeutronHPInelasticBaseFS::Init(A, Z, M, dirName, aFSType); 00053 G4double ResidualA = A-1; 00054 G4double ResidualZ = Z-1; 00055 G4NeutronHPInelasticBaseFS::InitGammas(ResidualA, ResidualZ); 00056 }
G4NeutronHPFinalState* G4NeutronHPNPInelasticFS::New | ( | ) | [inline, virtual] |
Implements G4NeutronHPInelasticBaseFS.
Definition at line 49 of file G4NeutronHPNPInelasticFS.hh.
00050 { 00051 G4NeutronHPNPInelasticFS * theNew = new G4NeutronHPNPInelasticFS; 00052 return theNew; 00053 }