Import Geant4 3.0.0 source tree
This commit is contained in:
@@ -24,6 +24,7 @@ G4NeutronHPVector * G4NeutronHPPartial::GetY(G4double e1)
|
||||
if(X[i]>e1) break;
|
||||
}
|
||||
if(i==nData) i--;
|
||||
if(0==i) i=1;
|
||||
G4double x1,x2,y1,y2,y, off, slope;
|
||||
G4int i1=0, ib=0;
|
||||
G4double E1 = X[i-1];
|
||||
@@ -84,7 +85,7 @@ G4NeutronHPVector * G4NeutronHPPartial::GetY(G4double e1)
|
||||
if(i==0)
|
||||
{
|
||||
theBuff.SetInterpolationManager(data[0].GetInterpolationManager());
|
||||
for(G4int ii=0;ii<GetNEntries(0);i++)
|
||||
for(G4int ii=0;ii<GetNEntries(0);ii++)
|
||||
{
|
||||
theBuff.SetX(ii, GetX(0,ii));
|
||||
theBuff.SetY(ii, GetY(0,ii));
|
||||
|
||||
Reference in New Issue
Block a user