97 std::ifstream theData(filename, std::ios::in);
100 G4int infoType, dataType;
102 while (theData >> infoType)
129 G4cout <<
"G4FissionLibrary::Init: unknown data type"<<dataType<<
G4endl;
130 throw G4HadronicException(__FILE__, __LINE__,
"G4FissionLibrary::Init: unknown data type");
160 theNeutron.
Lorentz(theNeutron, -1*theTarget);
168 G4int nPrompt=0, gPrompt=0;
169 SampleMult(theTrack, &nPrompt, &gPrompt, eKinetic);
173 for(
G4int i=0; i<nPrompt; i++)
189 for(
G4int i=0; i<gPrompt; i++)
199 thePhoton->
Lorentz(*thePhoton, -1.*theTarget);
231 if(delayedNeutronMulti==0&&promptNeutronMulti==0) {
242 if (*nPrompt == -1) *nPrompt = 0;
244 if (*gPrompt == -1) *gPrompt = 0;
void SetNeutron(const G4ReactionProduct &aNeutron)
G4NeutronHPFinalState * New()
G4NeutronHPNames theNames
G4double getndircosu_(G4int *index)
void SetMomentum(const G4ThreeVector &momentum)
G4double GetTotalMomentum() const
void Lorentz(const G4ReactionProduct &p1, const G4ReactionProduct &p2)
CLHEP::Hep3Vector G4ThreeVector
void Init(G4double A, G4double Z, G4int M, G4String &dirName, G4String &)
G4double getneng_(G4int *index)
G4NeutronHPEnergyDistribution theDelayedNeutronEnDis
void Init(std::istream &aDataFile)
void SetKineticEnergy(const G4double en)
G4NeutronHPNeutronYield theFinalStateNeutrons
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()
G4NeutronHPDataUsed GetName(G4int A, G4int Z, G4String base, G4String rest, G4bool &active)
G4ParticleDefinition * GetDefinition() const
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)
G4ReactionProduct GetBiasedThermalNucleus(G4double aMass, G4ThreeVector aVelocity, G4double temp=-1) const
G4HadFinalState theResult
G4GLOB_DLL std::ostream G4cout
const G4ParticleDefinition * GetDefinition() const
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 getpdircosw_(G4int *index)
G4double GetKineticEnergy() const
G4double GetDelayed(G4double anEnergy)
G4double getpeng_(G4int *index)
G4bool InitMean(std::istream &aDataFile)
G4double getpdircosu_(G4int *index)
void genfissevt_(G4int *isotope, G4double *time, G4double *nubar, G4double *eng)
G4double GetPDGMass() const
G4double getpdircosv_(G4int *index)
void SetDefinition(G4ParticleDefinition *aParticleDefinition)
void Init(std::istream &theData)
G4double getndircosv_(G4int *index)
G4ThreeVector GetMomentum() const
G4double GetTemperature() const
void SetLocalEnergyDeposit(G4double aE)
void InitPrompt(std::istream &aDataFile)
const G4Material * GetMaterial() const
G4double getndircosw_(G4int *index)
void SetDefinition(const G4ParticleDefinition *aParticleDefinition)
G4double GetPrompt(G4double anEnergy)
G4NeutronHPAngular theNeutronAngularDis
void InitMean(std::istream &aDataFile)
void AddSecondary(G4DynamicParticle *aP)