30 #ifndef G4NeutronHPContAngularPar_h
31 #define G4NeutronHPContAngularPar_h 1
48 currentMeanEnergy = -2;
53 if(theAngular!=0)
delete [] theAngular;
56 void Init(std::istream & aDataFile);
65 thePrimary = aPrimary;
77 theManager.
Init(theInterpolation, nEnergies);
84 nDiscreteEnergies = store1.nDiscreteEnergies;
85 nAngularParameters = store1.nAngularParameters;
86 nEnergies = store1.nEnergies;
87 theManager = store1.theManager;
89 if(theAngular != 0)
delete [] theAngular;
93 for(i=0; i<nEnergies; i++)
96 for(ii=0; ii<nAngularParameters; ii++)
102 store1.theEnergy, store2.theEnergy,
113 if(currentMeanEnergy<-1)
120 result = currentMeanEnergy;
122 currentMeanEnergy = -2;
134 G4int nDiscreteEnergies;
136 G4int nAngularParameters;
G4double MeanEnergyOfThisInteraction()
void SetValue(G4int i, G4double y)
void SetInterpolation(G4int theInterpolation)
void SetLabel(G4double aLabel)
void Init(G4int aScheme, G4int aRange)
G4NeutronHPContAngularPar()
G4double G4NeutronHPJENDLHEData::G4double result
void SetTarget(G4ReactionProduct *aTarget)
G4double Interpolate(G4InterpolationScheme aScheme, G4double x, G4double x1, G4double x2, G4double y1, G4double y2) const
~G4NeutronHPContAngularPar()
G4ReactionProduct * Sample(G4double anEnergy, G4double massCode, G4double mass, G4int angularRep, G4int interpol)
void SetPrimary(G4ReactionProduct *aPrimary)
void SetTargetCode(G4double aTargetCode)
void Init(std::istream &aDataFile)
G4double GetValue(G4int i)
const XML_Char int const XML_Char * value
void Merge(G4double anEnergy, G4InterpolationScheme &aScheme, G4NeutronHPContAngularPar &store1, G4NeutronHPContAngularPar &store2)