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