104 G4int infoType, dataType;
106 while (theData >> infoType)
133 G4cout <<
"G4FissionLibrary::Init: unknown data type"<<dataType<<
G4endl;
134 throw G4HadronicException(__FILE__, __LINE__,
"G4FissionLibrary::Init: unknown data type");
153 theNeutron.SetKineticEnergy(eKinetic);
167 theNeutron.Lorentz(theNeutron, -1*theTarget);
169 eKinetic = theNeutron.GetKineticEnergy();
175 G4int nPrompt=0, gPrompt=0;
176 SampleMult(theTrack, &nPrompt, &gPrompt, eKinetic);
180 for(
G4int i=0; i<nPrompt; i++)
196 for(
G4int i=0; i<gPrompt; i++)
206 thePhoton->
Lorentz(*thePhoton, -1.*theTarget);
239 if(delayedNeutronMulti==0&&promptNeutronMulti==0) {
243 if (
fe != 0)
delete fe;
247 if (
fe != 0)
delete fe;
251 if (*nPrompt == -1) *nPrompt = 0;
253 if (*gPrompt == -1) *gPrompt = 0;
static G4ParticleHPManager * GetInstance()
void SampleMult(const G4HadProjectile &theTrack, G4int *nPrompt, G4int *gPrompt, G4double eKinetic)
void InitPrompt(std::istream &aDataFile)
static constexpr double MeV
void SetKineticEnergy(G4double aEnergy)
G4ParticleHPPhotonDist theFinalStatePhotons
G4ParticleHPParticleYield theFinalStateNeutrons
void SetDefinition(const G4ParticleDefinition *aParticleDefinition)
void SetMomentum(const G4double x, const G4double y, const G4double z)
void Init(std::istream &aDataFile)
void AddSecondary(G4DynamicParticle *aP, G4int mod=-1)
const G4ParticleDefinition * GetDefinition() const
static constexpr double second
G4double GetPDGMass() const
void InitMean(std::istream &aDataFile)
void SetTarget(const G4ReactionProduct &aTarget)
void GetDataStream(G4String, std::istringstream &iss)
G4double getNeutronDircosu(G4int index)
G4double GetMean(G4double anEnergy)
void SetKineticEnergy(const G4double en)
G4double GetGlobalTime() const
const G4Material * GetMaterial() const
G4double GetDelayed(G4double anEnergy)
void SetProjectileRP(const G4ReactionProduct &anIncidentParticleRP)
G4ParticleHPEnergyDistribution thePromptNeutronEnDis
G4Cache< G4HadFinalState * > theResult
G4ParticleHPNames theNames
G4bool InitMean(std::istream &aDataFile)
G4ErrorTarget * theTarget
G4double GetTotalMomentum() const
double A(double temperature)
G4double getNeutronEnergy(G4int index)
void Init(G4double A, G4double Z, G4int M, G4String &dirName, G4String &, G4ParticleDefinition *)
G4ParticleHPFissionERelease theEnergyRelease
G4ThreeVector GetMomentum() const
G4double getPhotonDircosw(G4int index)
void InitDelayed(std::istream &aDataFile)
G4ParticleHPDataUsed GetName(G4int A, G4int Z, G4String base, G4String rest, G4bool &active)
G4HadFinalState * ApplyYourself(const G4HadProjectile &theTrack)
void Put(const value_type &val) const
const G4LorentzVector & Get4Momentum() const
G4double getPhotonEnergy(G4int index)
G4double GetKineticEnergy() const
G4double GetFragmentKinetic()
G4double GetPrompt(G4double anEnergy)
const G4ParticleDefinition * GetDefinition() const
static G4Neutron * Neutron()
G4ParticleHPAngular theNeutronAngularDis
G4ParticleHPEnergyDistribution theDelayedNeutronEnDis
void InitAngular(std::istream &aDataFile)
void SetMomentum(const G4ThreeVector &momentum)
void SetDefinition(const G4ParticleDefinition *aParticleDefinition)
G4GLOB_DLL std::ostream G4cout
void Init(std::istream &aDataFile)
G4double getPhotonDircosv(G4int index)
G4ParticleHPFinalState * New()
G4double getNeutronDircosw(G4int index)
G4double GetTotalMomentum() const
G4double getNeutronDircosv(G4int index)
void SetLocalEnergyDeposit(G4double aE)
G4double getPhotonDircosu(G4int index)
void Lorentz(const G4ReactionProduct &p1, const G4ReactionProduct &p2)
G4ReactionProduct GetBiasedThermalNucleus(G4double aMass, G4ThreeVector aVelocity, G4double temp=-1) const
void Init(std::istream &theData)
void SetStatusChange(G4HadFinalStateStatus aS)
G4double GetTemperature() const
void InitEnergies(std::istream &aDataFile)