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