28 #ifndef G4NeutronHPEnAngCorrelation_h
29 #define G4NeutronHPEnAngCorrelation_h 1
47 theTotalMeanEnergy = -1.;
51 if(theProducts!=0)
delete [] theProducts;
54 inline void Init(std::istream & aDataFile)
57 aDataFile>>targetMass>>frameFlag>>nProducts;
59 for(
G4int i=0; i<nProducts; i++)
61 theProducts[i].
Init(aDataFile);
72 for(
G4int i=0;i<nProducts;i++)theProducts[i].
SetTarget(&theTarget);
77 theNeutron = aNeutron;
91 return theTotalMeanEnergy;
void SetTarget(G4ReactionProduct &aTarget)
G4double GetTotalMeanEnergy()
G4ReactionProduct * SampleOne(G4double anEnergy)
std::vector< G4ReactionProduct * > G4ReactionProductVector
void Init(std::istream &aDataFile)
void SetNeutron(G4ReactionProduct &aNeutron)
~G4NeutronHPEnAngCorrelation()
G4NeutronHPEnAngCorrelation()
G4ReactionProductVector * Sample(G4double anEnergy)
void Init(std::istream &aDataFile)