109 lines
3.7 KiB
C++
109 lines
3.7 KiB
C++
//
|
|
// ********************************************************************
|
|
// * DISCLAIMER *
|
|
// * *
|
|
// * The following disclaimer summarizes all the specific disclaimers *
|
|
// * of contributors to this software. The specific disclaimers,which *
|
|
// * govern, are listed with their locations in: *
|
|
// * http://cern.ch/geant4/license *
|
|
// * *
|
|
// * Neither the authors of this software system, nor their employing *
|
|
// * institutes,nor the agencies providing financial support for this *
|
|
// * work make any representation or warranty, express or implied, *
|
|
// * regarding this software system or assume any liability for its *
|
|
// * use. *
|
|
// * *
|
|
// * This code implementation is the intellectual property of the *
|
|
// * GEANT4 collaboration. *
|
|
// * By copying, distributing or modifying the Program (or any work *
|
|
// * based on the Program) you indicate your acceptance of this *
|
|
// * statement, and all its terms. *
|
|
// ********************************************************************
|
|
//
|
|
//
|
|
// $Id: G4NeutronHPFSFissionFS.hh,v 1.6 2002/12/12 19:18:12 gunter Exp $
|
|
// GEANT4 tag $Name: geant4-05-00 $
|
|
//
|
|
#ifndef G4NeutronHPFSFissionFS_h
|
|
#define G4NeutronHPFSFissionFS_h 1
|
|
|
|
#include "globals.hh"
|
|
#include "G4Track.hh"
|
|
#include "G4DynamicParticleVector.hh"
|
|
#include "G4NeutronHPFinalState.hh"
|
|
#include "G4NeutronHPNames.hh"
|
|
#include "G4NeutronHPNeutronYield.hh"
|
|
#include "G4NeutronHPVector.hh"
|
|
#include "G4NeutronHPFissionERelease.hh"
|
|
#include "G4NeutronHPEnergyDistribution.hh"
|
|
#include "G4NeutronHPPhotonDist.hh"
|
|
#include "G4NeutronHPAngular.hh"
|
|
|
|
class G4NeutronHPFSFissionFS : public G4NeutronHPFinalState
|
|
{
|
|
public:
|
|
|
|
G4NeutronHPFSFissionFS(){ hasXsec = true; }
|
|
~G4NeutronHPFSFissionFS(){}
|
|
|
|
void Init (G4double A, G4double Z, G4String & dirName, G4String & aFSType);
|
|
|
|
G4DynamicParticleVector * ApplyYourself(G4int Prompt, G4int delayed, G4double *decayconst);
|
|
|
|
G4NeutronHPFinalState * New()
|
|
{
|
|
G4NeutronHPFSFissionFS * theNew = new G4NeutronHPFSFissionFS;
|
|
return theNew;
|
|
}
|
|
|
|
inline G4double GetMass(){ return targetMass; }
|
|
|
|
void SampleNeutronMult(G4int&all,
|
|
G4int&Prompt,
|
|
G4int&delayed,
|
|
G4double energy,
|
|
G4int off);
|
|
|
|
inline void SetNeutron(const G4ReactionProduct & aNeutron)
|
|
{
|
|
theNeutron = aNeutron;
|
|
theNeutronAngularDis.SetNeutron(aNeutron);
|
|
}
|
|
|
|
inline void SetTarget(const G4ReactionProduct & aTarget)
|
|
{
|
|
theTarget = aTarget;
|
|
theNeutronAngularDis.SetTarget(aTarget);
|
|
}
|
|
|
|
G4DynamicParticleVector * GetPhotons();
|
|
|
|
inline G4NeutronHPFissionERelease * GetEnergyRelease()
|
|
{
|
|
return &theEnergyRelease;
|
|
}
|
|
|
|
private:
|
|
|
|
G4ParticleChange * ApplyYourself(const G4Track & theTrack) { return NULL; }
|
|
|
|
G4double targetMass;
|
|
|
|
G4NeutronHPNeutronYield theFinalStateNeutrons;
|
|
G4NeutronHPEnergyDistribution thePromptNeutronEnDis;
|
|
G4NeutronHPEnergyDistribution theDelayedNeutronEnDis;
|
|
G4NeutronHPAngular theNeutronAngularDis;
|
|
|
|
G4NeutronHPPhotonDist theFinalStatePhotons;
|
|
G4NeutronHPFissionERelease theEnergyRelease;
|
|
|
|
G4ReactionProduct theNeutron;
|
|
G4ReactionProduct theTarget;
|
|
|
|
private:
|
|
|
|
G4NeutronHPNames theNames;
|
|
|
|
};
|
|
#endif
|