29#ifndef G4NeutronHPPhotonXSection_h
30#define G4NeutronHPPhotonXSection_h 1
39#include "G4VNeutronVector.hh"
56 if(theExclusive!=0)
delete [] theExclusive;
57 if(theExShell != 0)
delete [] theExShell;
58 if(theExEnergy != 0)
delete [] theExEnergy;
59 if(theExFlag != 0)
delete [] theExFlag;
60 if(theExDisFlag != 0)
delete [] theExDisFlag;
63 inline void Init(std::ifstream & aDataFile)
65 aDataFile >> nChannels >> targetMass;
68 aDataFile >> theIncEnergy>>theIncShell>>theIncFlag>>theIncDisFlag;
69 theaDataFileInclusive.Init(aDataFile, CLHEP::eV);
72 theExShell =
new G4double[nChannels];
73 theExEnergy =
new G4double[nChannels];
74 theExFlag =
new G4int[nChannels];
75 theExDisFlag =
new G4int[nChannels];
76 for(
G4int i=0; i<nChannels; i++)
78 aDataFile>>theExEnergy[i]>>theExShell[i]>>theExFlag[i]>>theExDisFlag[i];
79 theExclusive[i].
Init(aDataFile,CLHEP::eV);
102 G4int * theExDisFlag;
~G4NeutronHPPhotonXSection()
G4NeutronHPPhotonXSection()
G4double Sample(G4double anEnergy)
void Init(std::ifstream &aDataFile)
void Init(std::ifstream &aDataFile, G4int total, G4double ux=1., G4double uy=1.)