- Added makefile_slinux

- Changed mesure to be a silver bullet
This commit is contained in:
koennecke
2005-03-03 13:54:22 +00:00
parent 000bb7b4a8
commit 835177dc0a
7 changed files with 137 additions and 68 deletions

View File

@@ -538,7 +538,7 @@
} else {
SCWrite(pCon,"ERROR: lbank value not found!",eError);
}
if (var1)
if (lbank == 1)
{
lData = GetHistogramPointer(self->pHistogram1,pCon);
if(!lData)
@@ -549,7 +549,7 @@
return;
}
}
if (var2)
if (mbank == 1)
{
mData = GetHistogramPointer(self->pHistogram2,pCon);
if(!mData)
@@ -567,7 +567,7 @@
} else {
SCWrite(pCon,"ERROR: ubank value not found!",eError);
}
if (var3)
if (ubank == 1)
{
uData = GetHistogramPointer(self->pHistogram3,pCon);
if(!uData)
@@ -725,6 +725,7 @@
/* calculate elastic peak position */
NXDupdate(pDict,"bank","bank1");
mData = getFMBankPointer(MIDDLE);
iDet = getFMdim(MIDDLE);
if(mData)
{
lSum = (long *)malloc(iTime *sizeof(long));