60 std::ifstream theData(filename, std::ios::in);
70 theData >> dummy>>dummy;
73 theXsection->
Init(theData, total, eV);
74 if (!(theData >> dummy))
82 theAngularDistribution.
Init(theData);
84 theData >> dummy >> dummy;
86 theEnergyDistribution.
Init(theData);
99 boosted.
Lorentz(theNeutron, theTarget);
104 for(i=0; i<nPrompt; i++)
111 for(i=0; i<nPrompt; i++)
118 for(i=0; i<nPrompt; i++)
124 for(i=0; i<nPrompt; i++)
129 aResult->push_back(it);
131 delete [] theNeutrons;
std::vector< G4DynamicParticle * > G4DynamicParticleVector
void SetDefinition(const G4ParticleDefinition *aParticleDefinition)
void SetMomentum(const G4ThreeVector &momentum)
void Init(std::ifstream &aDataFile)
void SampleAndUpdate(G4ReactionProduct &aNeutron)
void Init(std::ifstream &theData)
G4double Sample(G4double anEnergy, G4int &it)
G4NeutronHPNames theNames
void SetAZMs(G4double anA, G4double aZ, G4int aM, G4NeutronHPDataUsed used)
void Init(G4double A, G4double Z, G4int M, G4String &dirName, G4String &bit)
G4DynamicParticleVector * ApplyYourself(G4int Prompt)
G4NeutronHPDataUsed GetName(G4int A, G4int Z, G4String base, G4String rest, G4bool &active)
void Init(std::ifstream &aDataFile, G4int total, G4double ux=1., G4double uy=1.)
static G4Neutron * Neutron()
G4double GetKineticEnergy() const
void Lorentz(const G4ReactionProduct &p1, const G4ReactionProduct &p2)
void SetKineticEnergy(const G4double en)
void SetDefinition(G4ParticleDefinition *aParticleDefinition)