107 boosted.
Lorentz(*(fCache.
Get().theNeutronRP), *(fCache.
Get().theTarget));
111 std::vector<G4ReactionProduct> theNeutrons;
112 for (i = 0; i < nPrompt; i++) {
113 theNeutrons.emplace_back();
119 for (i = 0; i < nPrompt; i++) {
121 theNeutrons[i].SetKineticEnergy(theEnergyDistribution.
Sample(eKinetic, dummy));
125 for (i = 0; i < nPrompt; i++) {
130 for (i = 0; i < nPrompt; i++) {
133 it->SetMomentum(theNeutrons[i].GetMomentum());
134 aResult->push_back(it);
std::vector< G4DynamicParticle * > G4DynamicParticleVector
void SetDefinition(const G4ParticleDefinition *aParticleDefinition)
void Init(std::istream &aDataFile)
void SampleAndUpdate(G4ReactionProduct &anIncidentParticle)
void Init(std::istream &theData)
G4double Sample(G4double anEnergy, G4int &it)
void SetAZMs(G4ParticleHPDataUsed used)
G4ParticleHPNames theNames
G4DynamicParticleVector * ApplyYourself(G4int Prompt)
void Init(G4double A, G4double Z, G4int M, G4String &dirName, G4String &bit, G4ParticleDefinition *) override
void GetDataStream(const G4String &, std::istringstream &iss)
static G4ParticleHPManager * GetInstance()
G4ParticleHPDataUsed GetName(G4int A, G4int Z, const G4String &base, const G4String &rest, G4bool &active)
void Init(std::istream &aDataFile, G4int total, G4double ux=1., G4double uy=1.)