43 lines
940 B
C++
43 lines
940 B
C++
// This code implementation is the intellectual property of
|
|
// neutron_hp -- header file
|
|
// J.P. Wellisch, Nov-1996
|
|
// A prototype of the low energy neutron transport model.
|
|
//
|
|
// 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: G4VNeutronHPEDis.hh,v 1.4 1999/12/15 14:53:14 gunter Exp $
|
|
// GEANT4 tag $Name: geant4-03-00 $
|
|
//
|
|
#ifndef G4VNeutronHPEDis_h
|
|
#define G4VNeutronHPEDis_h 1
|
|
|
|
#include "globals.hh"
|
|
#include "G4NeutronHPVector.hh"
|
|
#include "Randomize.hh"
|
|
#include "G4ios.hh"
|
|
#include "g4std/fstream"
|
|
|
|
class G4VNeutronHPEDis
|
|
{
|
|
public:
|
|
G4VNeutronHPEDis()
|
|
{
|
|
}
|
|
virtual ~G4VNeutronHPEDis()
|
|
{
|
|
}
|
|
|
|
virtual void Init(G4std::ifstream & theData) = 0;
|
|
|
|
virtual G4double GetFractionalProbability(G4double anEnergy) = 0;
|
|
|
|
virtual G4double Sample(G4double anEnergy) = 0;
|
|
|
|
private:
|
|
|
|
};
|
|
|
|
#endif
|