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);
G4long G4Poisson(G4double mean)
std::vector< G4ReactionProduct * > G4ReactionProductVector
G4ReactionProductVector * Sample(G4double anEnergy)
G4double GetY(G4double x)
virtual G4ReactionProduct * Sample(G4double anEnergy, G4double massCode, G4double mass)=0
void SetNeutron(G4ReactionProduct *aNeutron)
void SetTarget(G4ReactionProduct *aTarget)
virtual void ClearHistories()