44 if(theDist == 0) {
return 0; }
48 multi =
G4int(mean+0.0001);
51 if ( theMassCode == 0 )
53 if (
G4int ( mean ) == mean )
67 theCurrentMultiplicity =
static_cast<G4int>(mean);
72 tmp = theDist->
Sample(anEnergy, theMassCode, theMass);
73 if(tmp != 0) { result->push_back(tmp); }
77 tmp = theDist->
Sample(anEnergy, theMassCode, theMass);
G4double GetY(G4double x)
G4long G4Poisson(G4double mean)
void SetNeutron(G4ReactionProduct *aNeutron)
G4double G4NeutronHPJENDLHEData::G4double result
void SetTarget(G4ReactionProduct *aTarget)
std::vector< G4ReactionProduct * > G4ReactionProductVector
G4ReactionProductVector * Sample(G4double anEnergy)
virtual G4ReactionProduct * Sample(G4double anEnergy, G4double massCode, G4double mass)=0
virtual void ClearHistories()