almost no changes - checking in for alba

git-svn-id: file:///afs/psi.ch/project/sls_det_software/svn/slsDetectorSoftware@263 951219d9-93cf-4727-9268-0efd64621fa3
This commit is contained in:
bergamaschi
2012-09-20 08:57:44 +00:00
parent e0ad54dd46
commit d7bafd8072
6 changed files with 13 additions and 9 deletions

View File

@ -761,8 +761,11 @@ int getThresholdEnergy() {
}
#ifdef VERBOSE
//printf("module=%d gain=%f, offset=%f, dacu=%f\n",imod, myg, myo, detectorDacs[VTHRESH+imod*NDAC]);
#ifdef DACS_INT
printf("module=%d gain=%f, offset=%f, dacu=%d\n",imod, myg, myo,setDACRegister(VTHRESH,-1,imod));
#else
printf("module=%d gain=%f, offset=%f, dacu=%f\n",imod, myg, myo,setDACRegister(VTHRESH,-1,imod));
#endif
printf("Threshold energy of module %d is %d eV\n", imod, ethr);
#endif