58 if ( products != NULL )
64 for (
G4int j = 0; j < int( products->size() ); j++ )
67 G4int jZ = (*products)[j].Z;
68 G4int jA = (*products)[j].A;
69 G4int jm = (*products)[j].m;
84 if ( jA == 1 && jZ == 1 )
89 else if ( jA == 1 && jZ == 0 )
111 G4ThreeVector p( (*products)[j].px*MeV , (*products)[j].py*MeV , (*products)[j].pz*MeV );
113 if ( p.mag() == 0 ) p = proj_p - psum;
void SetMomentum(const G4ThreeVector &momentum)
CLHEP::Hep3Vector G4ThreeVector
std::vector< G4GIDI_Product > * getOthersFinalState(double e_in, double temperature, double(*rng)(void *), void *rngState)
void SetStatusChange(G4HadFinalStateStatus aS)
G4int GetNucleusEncoding(G4int iZ, G4int iA, G4int iM)
std::map< G4int, G4LENDUsedTarget * > usedTarget_map
G4double GetKineticEnergy() const
static G4Proton * Proton()
static const double second
static G4Neutron * Neutron()
const G4LorentzVector & Get4Momentum() const
static G4IonTable * GetIonTable()
const G4Isotope * GetIsotope()
G4HadFinalState theParticleChange
G4double GetTemperature() const
const G4Material * GetMaterial() const
G4HadFinalState * ApplyYourself(const G4HadProjectile &aTrack, G4Nucleus &aTargetNucleus)
void SetDefinition(const G4ParticleDefinition *aParticleDefinition)
G4LENDManager * lend_manager
void AddSecondary(G4DynamicParticle *aP)