#include <G4NeutronHPPhotonXSection.hh>
G4NeutronHPPhotonXSection::G4NeutronHPPhotonXSection |
( |
| ) |
|
|
inline |
G4NeutronHPPhotonXSection::~G4NeutronHPPhotonXSection |
( |
| ) |
|
|
inline |
Definition at line 53 of file G4NeutronHPPhotonXSection.hh.
55 if(theExclusive!=0)
delete [] theExclusive;
56 if(theExShell != 0)
delete [] theExShell;
57 if(theExEnergy != 0)
delete [] theExEnergy;
58 if(theExFlag != 0)
delete [] theExFlag;
59 if(theExDisFlag != 0)
delete [] theExDisFlag;
void G4NeutronHPPhotonXSection::Init |
( |
std::istream & |
aDataFile | ) |
|
|
inline |
Definition at line 62 of file G4NeutronHPPhotonXSection.hh.
References G4NeutronHPVector::Init().
64 aDataFile >> nChannels >> targetMass;
67 aDataFile >> theIncEnergy>>theIncShell>>theIncFlag>>theIncDisFlag;
68 theaDataFileInclusive.Init(aDataFile, CLHEP::eV);
71 theExShell =
new G4double[nChannels];
72 theExEnergy =
new G4double[nChannels];
73 theExFlag =
new G4int[nChannels];
74 theExDisFlag =
new G4int[nChannels];
75 for(
G4int i=0; i<nChannels; i++)
77 aDataFile>>theExEnergy[i]>>theExShell[i]>>theExFlag[i]>>theExDisFlag[i];
78 theExclusive[i].
Init(aDataFile,CLHEP::eV);
void Init(std::istream &aDataFile, G4int total, G4double ux=1., G4double uy=1.)
The documentation for this class was generated from the following file: