52 std::vector<G4GIDI_Product>* products = aTarget->
getOthersFinalState( ke*MeV, temp, NULL, NULL );
53 if ( products != NULL )
59 for (
G4int j = 0; j < int( products->size() ); j++ )
62 G4int jZ = (*products)[j].Z;
63 G4int jA = (*products)[j].A;
74 if ( jA == 1 && jZ == 1 )
79 else if ( jA == 1 && jZ == 0 )
101 G4ThreeVector p( (*products)[j].px*MeV , (*products)[j].py*MeV , (*products)[j].pz*MeV );
103 if ( p.
mag() == 0 ) p = proj_p - psum;
void SetDefinition(const G4ParticleDefinition *aParticleDefinition)
void SetMomentum(const G4ThreeVector &momentum)
std::vector< G4GIDI_Product > * getOthersFinalState(double e_in, double temperature, double(*rng)(void *), void *rngState)
void SetStatusChange(G4HadFinalStateStatus aS)
void AddSecondary(G4DynamicParticle *aP)
const G4Material * GetMaterial() const
G4double GetKineticEnergy() const
const G4LorentzVector & Get4Momentum() const
G4HadFinalState theParticleChange
G4HadFinalState * ApplyYourself(const G4HadProjectile &aTrack, G4Nucleus &aTargetNucleus)
G4int GetNucleusEncoding(G4int iZ, G4int iA)
std::map< G4int, G4LENDUsedTarget * > usedTarget_map
G4LENDManager * lend_manager
G4double GetTemperature() const
static G4Neutron * Neutron()
G4ParticleDefinition * FindIon(G4int atomicNumber, G4int atomicMass, G4double excitationEnergy)
static G4ParticleTable * GetParticleTable()
static G4Proton * Proton()