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