Import Geant4 0.0.0 source tree
This commit is contained in:
@@ -0,0 +1,62 @@
|
||||
// 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: G4NeutronHPLevel.hh,v 2.3 1998/11/07 11:21:22 hpw Exp $
|
||||
// GEANT4 tag $Name: geant4-00 $
|
||||
//
|
||||
#ifndef G4NeutronHPLevel_h
|
||||
#define G4NeutronHPLevel_h 1
|
||||
|
||||
#include "globals.hh"
|
||||
#include "G4ios.hh"
|
||||
#include <fstream.h>
|
||||
#include "G4DynamicParticleVector.hh"
|
||||
#include "Randomize.hh"
|
||||
#include "G4Gamma.hh"
|
||||
class G4NeutronHPGamma;
|
||||
|
||||
class G4NeutronHPLevel
|
||||
{
|
||||
public:
|
||||
|
||||
G4NeutronHPLevel()
|
||||
{
|
||||
nGammas = 0;
|
||||
theGammas = NULL;
|
||||
}
|
||||
|
||||
~G4NeutronHPLevel();
|
||||
|
||||
void SetNumberOfGammas(G4int aGammas);
|
||||
|
||||
void SetGamma(G4int i, G4NeutronHPGamma * aGamma);
|
||||
|
||||
G4DynamicParticleVector * GetDecayGammas();
|
||||
|
||||
inline void SetLevelEnergy(G4double anEnergy)
|
||||
{
|
||||
levelEnergy = anEnergy;
|
||||
}
|
||||
|
||||
inline G4double GetLevelEnergy()
|
||||
{
|
||||
return levelEnergy;
|
||||
}
|
||||
|
||||
G4double GetGammaEnergy(G4int i);
|
||||
|
||||
private:
|
||||
|
||||
G4double levelEnergy;
|
||||
|
||||
G4int nGammas;
|
||||
G4NeutronHPGamma ** theGammas;
|
||||
};
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user