40 for(i=0;i<nEnergy;i++)
43 if(theAngular[i].GetEnergy()>anEnergy)
break;
51 result = theAngular[0].
Sample(anEnergy, massCode, targetMass,
52 theAngularRep, theInterpolation);
69 result = theAngular[it].
Sample(anEnergy, massCode, targetMass,
70 theAngularRep, theInterpolation);
80 if(currentMeanEnergy<-1)
82 throw G4HadronicException(__FILE__, __LINE__,
"G4NeutronHPContEnergyAngular: Logical error in Product class");
86 result = currentMeanEnergy;
88 currentMeanEnergy = -2;
96 if ( theAngular!= NULL )
98 for (
G4int i = 0 ; i< nEnergy ; i++ )
G4ReactionProduct * GetNeutron()
G4double MeanEnergyOfThisInteraction()
G4double G4NeutronHPJENDLHEData::G4double result
void SetTarget(G4ReactionProduct *aTarget)
G4ReactionProduct * Sample(G4double anEnergy, G4double massCode, G4double mass, G4int angularRep, G4int interpol)
void SetPrimary(G4ReactionProduct *aPrimary)
G4ReactionProduct * GetTarget()
void SetTargetCode(G4double aTargetCode)
G4double MeanEnergyOfThisInteraction()
G4ReactionProduct * Sample(G4double anEnergy, G4double massCode, G4double mass)