31#ifndef G4NeutronHPContAngularPar_h
32#define G4NeutronHPContAngularPar_h 1
49 currentMeanEnergy = -2;
54 if(theAngular!=0)
delete [] theAngular;
57 void Init(std::ifstream & aDataFile);
66 thePrimary = aPrimary;
78 theManager.
Init(theInterpolation, nEnergies);
85 nDiscreteEnergies = store1.nDiscreteEnergies;
86 nAngularParameters = store1.nAngularParameters;
87 nEnergies = store1.nEnergies;
88 theManager = store1.theManager;
90 if(theAngular != 0)
delete [] theAngular;
94 for(i=0; i<nEnergies; i++)
97 for(ii=0; ii<nAngularParameters; ii++)
103 store1.theEnergy, store2.theEnergy,
114 if(currentMeanEnergy<-1)
121 result = currentMeanEnergy;
123 currentMeanEnergy = -2;
135 G4int nDiscreteEnergies;
137 G4int nAngularParameters;
void Init(G4int aScheme, G4int aRange)
G4ReactionProduct * Sample(G4double anEnergy, G4double massCode, G4double mass, G4int angularRep, G4int interpol)
~G4NeutronHPContAngularPar()
void Init(std::ifstream &aDataFile)
G4double MeanEnergyOfThisInteraction()
void SetTarget(G4ReactionProduct *aTarget)
void SetPrimary(G4ReactionProduct *aPrimary)
G4NeutronHPContAngularPar()
void SetInterpolation(G4int theInterpolation)
void SetTargetCode(G4double aTargetCode)
void Merge(G4double anEnergy, G4InterpolationScheme &aScheme, G4NeutronHPContAngularPar &store1, G4NeutronHPContAngularPar &store2)
G4double Interpolate(G4InterpolationScheme aScheme, G4double x, G4double x1, G4double x2, G4double y1, G4double y2) const
void SetLabel(G4double aLabel)
void SetValue(G4int i, G4double y)
G4double GetValue(G4int i)