Files
geant4/source/processes/hadronic/models/neutron_hp/include/G4NeutronHPNames.hh
T
2016-06-08 15:55:53 +02:00

42 lines
1.1 KiB
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: G4NeutronHPNames.hh,v 1.6 1999/12/15 14:53:13 gunter Exp $
// GEANT4 tag $Name: geant4-03-00 $
//
#ifndef G4NeutronHPNames_h
#define G4NeutronHPNames_h 1
#include "G4ios.hh"
#include "g4std/fstream"
#include "g4std/strstream"
#include <stdlib.h>
#include "globals.hh"
#include "G4NeutronHPDataUsed.hh"
class G4NeutronHPNames
{
public:
G4NeutronHPNames(){theMaxOffSet = 5;}
G4NeutronHPNames(G4int maxOffSet){theMaxOffSet = maxOffSet;}
~G4NeutronHPNames(){}
G4NeutronHPDataUsed GetName(G4int A, G4int Z, G4String base, G4String rest, G4bool & active);
G4String GetName(G4int i) { return theString[i]; }
void SetMaxOffSet(G4int anOffset) { theMaxOffSet = anOffset; }
private:
static const G4String theString[99];
G4int theMaxOffSet;
};
#endif