diff --git a/slsDetectorSoftware/slsDetector/slsDetector.cpp b/slsDetectorSoftware/slsDetector/slsDetector.cpp index c7b26a53d..f5aeed94c 100644 --- a/slsDetectorSoftware/slsDetector/slsDetector.cpp +++ b/slsDetectorSoftware/slsDetector/slsDetector.cpp @@ -1698,8 +1698,10 @@ slsDetectorDefs::detectorType slsDetector::getDetectorsType(int pos){ // readOutFlags roFlags; -int slsDetector::getTotalNumberOfChannels() { - cout << "total number of channels" << endl; +int slsDetector::getTotalNumberOfChannels() { +#ifdef VERBOSE + cout << "total number of channels" << endl; +#endif if(thisDetector->myDetectorType==JUNGFRAUCTB){ if (thisDetector->roFlags&DIGITAL_ONLY) thisDetector->nChan[X]=4; @@ -1718,8 +1720,10 @@ int slsDetector::getTotalNumberOfChannels() { thisDetector->nChans=thisDetector->nChan[X]; thisDetector->dataBytes=thisDetector->nChans*thisDetector->nChips*thisDetector->nMods*2*thisDetector->timerValue[SAMPLES_JCTB]; } else +#ifdef VERBOSE cout << "det type is "<< thisDetector->myDetectorType << endl; cout << "Total number of channels is "<< thisDetector->nChans*thisDetector->nChips*thisDetector->nMods << " data bytes is " << thisDetector->dataBytes << endl; +#endif return thisDetector->nChans*thisDetector->nChips*thisDetector->nMods; }; diff --git a/slsDetectorSoftware/slsDetector/slsDetectorUtils.cpp b/slsDetectorSoftware/slsDetector/slsDetectorUtils.cpp index b9fde9e1a..9c23a4249 100644 --- a/slsDetectorSoftware/slsDetector/slsDetectorUtils.cpp +++ b/slsDetectorSoftware/slsDetector/slsDetectorUtils.cpp @@ -304,14 +304,18 @@ int slsDetectorUtils::acquire(int delflag){ pthread_mutex_unlock(&mg);//cout << "unlock"<< endl; break; } +#ifdef VERBOSE cout << "Receiver started " << endl; +#endif pthread_mutex_unlock(&mg);//cout << "unlock"<< endl; } #ifdef VERBOSE cout << "Acquiring " << endl; #endif startAndReadAll(); +#ifdef VERBOSE cout << "detector finished " << endl; +#endif #ifdef VERBOSE cout << "returned! " << endl; #endif