mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-05-02 19:00:05 +02:00
insignificant details
This commit is contained in:
parent
b8c86f7e83
commit
0511242846
@ -5015,7 +5015,7 @@ int slsDetector::setRateCorrection(double t){
|
|||||||
int fnum=F_SET_RATE_CORRECT;
|
int fnum=F_SET_RATE_CORRECT;
|
||||||
int ret=FAIL;
|
int ret=FAIL;
|
||||||
char mess[1000]="";
|
char mess[1000]="";
|
||||||
int64_t arg = t/**1e9*/;
|
int64_t arg = t;
|
||||||
int64_t retval = -1;
|
int64_t retval = -1;
|
||||||
#ifdef VERBOSE
|
#ifdef VERBOSE
|
||||||
std::cout<< "Setting Rate Correction to " << arg << endl;
|
std::cout<< "Setting Rate Correction to " << arg << endl;
|
||||||
@ -5036,11 +5036,11 @@ int slsDetector::setRateCorrection(double t){
|
|||||||
if(t < 0)
|
if(t < 0)
|
||||||
thisDetector->tDead = -1;
|
thisDetector->tDead = -1;
|
||||||
else
|
else
|
||||||
thisDetector->tDead = (double)retval/*/(double)1e9*/;
|
thisDetector->tDead = (double)retval;
|
||||||
}
|
}
|
||||||
else{
|
else{
|
||||||
thisDetector->correctionMask&=~(1<<RATE_CORRECTION);
|
thisDetector->correctionMask&=~(1<<RATE_CORRECTION);
|
||||||
thisDetector->tDead = (double)retval/*/(double)1e9*/;
|
thisDetector->tDead = (double)retval;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user