added a magnetic proximity user function to the ASlibs

This commit is contained in:
nemu
2011-03-10 11:45:02 +00:00
parent 34e462e05f
commit d634a9286c
15 changed files with 1283 additions and 3 deletions

View File

@ -98,7 +98,7 @@ Double_t PNL_RgeHandler::GetRgeValue(const Int_t index, const Double_t dist)
} else {
rgeVal = fRgeDataList[index].stoppingAmplitude[distIdx] +
(fRgeDataList[index].stoppingAmplitude[distIdx+1] - fRgeDataList[index].stoppingAmplitude[distIdx]) *
(fRgeDataList[index].stoppingDistance[distIdx+1]-dist)/(fRgeDataList[index].stoppingDistance[distIdx+1]-fRgeDataList[index].stoppingDistance[distIdx]);
(dist-fRgeDataList[index].stoppingDistance[distIdx])/(fRgeDataList[index].stoppingDistance[distIdx+1]-fRgeDataList[index].stoppingDistance[distIdx]);
}
/*