100 std::istringstream theData(std::ios::in);
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);
166 theNeutron.Lorentz(theNeutron, -1*theTarget);
168 eKinetic = theNeutron.GetKineticEnergy();
174 G4int nPrompt=0, gPrompt=0;
175 SampleMult(theTrack, &nPrompt, &gPrompt, eKinetic);
179 for(
G4int i=0; i<nPrompt; i++)
195 for(
G4int i=0; i<gPrompt; i++)
205 thePhoton->
Lorentz(*thePhoton, -1.*theTarget);
238 if(delayedNeutronMulti==0&&promptNeutronMulti==0) {
242 if (
fe != 0)
delete fe;
246 if (
fe != 0)
delete fe;
250 if (*nPrompt == -1) *nPrompt = 0;
252 if (*gPrompt == -1) *gPrompt = 0;
void SetNeutron(const G4ReactionProduct &aNeutron)
G4NeutronHPFinalState * New()
G4NeutronHPNames theNames
void SetMomentum(const G4ThreeVector &momentum)
G4double GetTotalMomentum() const
void Lorentz(const G4ReactionProduct &p1, const G4ReactionProduct &p2)
G4Cache< G4HadFinalState * > theResult
CLHEP::Hep3Vector G4ThreeVector
void Init(G4double A, G4double Z, G4int M, G4String &dirName, G4String &)
G4NeutronHPEnergyDistribution theDelayedNeutronEnDis
void Init(std::istream &aDataFile)
void SetKineticEnergy(const G4double en)
G4NeutronHPNeutronYield theFinalStateNeutrons
static G4NeutronHPManager * GetInstance()
void InitDelayed(std::istream &aDataFile)
void SetMomentum(const G4double x, const G4double y, const G4double z)
G4NeutronHPFissionERelease theEnergyRelease
void SetTarget(const G4ReactionProduct &aTarget)
G4NeutronHPEnergyDistribution thePromptNeutronEnDis
G4double GetFragmentKinetic()
void GetDataStream(G4String, std::istringstream &iss)
G4double getPhotonEnergy(G4int index)
G4NeutronHPDataUsed GetName(G4int A, G4int Z, G4String base, G4String rest, G4bool &active)
void SetDefinition(const G4ParticleDefinition *aParticleDefinition)
G4double getNeutronEnergy(G4int index)
G4double GetTotalMomentum() const
G4double GetMean(G4double anEnergy)
void SetStatusChange(G4HadFinalStateStatus aS)
void SampleMult(const G4HadProjectile &theTrack, G4int *nPrompt, G4int *gPrompt, G4double eKinetic)
void InitAngular(std::istream &aDataFile)
const G4ParticleDefinition * GetDefinition() const
G4ReactionProduct GetBiasedThermalNucleus(G4double aMass, G4ThreeVector aVelocity, G4double temp=-1) const
G4GLOB_DLL std::ostream G4cout
const G4ParticleDefinition * GetDefinition() const
G4double getNeutronDircosu(G4int index)
G4NeutronHPPhotonDist theFinalStatePhotons
G4double GetKineticEnergy() const
G4double GetGlobalTime() const
G4ErrorTarget * theTarget
void InitEnergies(std::istream &aDataFile)
static const double second
void Init(std::istream &aDataFile)
static G4Neutron * Neutron()
static const G4double A[nN]
const G4LorentzVector & Get4Momentum() const
void SetKineticEnergy(G4double aEnergy)
G4HadFinalState * ApplyYourself(const G4HadProjectile &theTrack)
G4double GetDelayed(G4double anEnergy)
G4bool InitMean(std::istream &aDataFile)
G4double GetPDGMass() const
G4double getNeutronDircosv(G4int index)
G4double getPhotonDircosv(G4int index)
void Init(std::istream &theData)
G4ThreeVector GetMomentum() const
G4double GetTemperature() const
void SetLocalEnergyDeposit(G4double aE)
void InitPrompt(std::istream &aDataFile)
G4double getPhotonDircosu(G4int index)
const G4Material * GetMaterial() const
void AddSecondary(G4DynamicParticle *aP, G4int mod=-1)
void SetDefinition(const G4ParticleDefinition *aParticleDefinition)
G4double GetPrompt(G4double anEnergy)
G4NeutronHPAngular theNeutronAngularDis
void Put(const value_type &val) const
void InitMean(std::istream &aDataFile)
G4double getNeutronDircosw(G4int index)
G4double getPhotonDircosw(G4int index)