Updated to use spectra
authorcholm <cholm@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 27 Jun 2011 14:17:41 +0000 (14:17 +0000)
committercholm <cholm@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 27 Jun 2011 14:17:41 +0000 (14:17 +0000)
FMD/scripts/ReadRaw.C

index aa72aee..47ee73e 100644 (file)
@@ -28,11 +28,12 @@ ReadRaw(const char* src=0, Int_t nEv=0, Int_t skip=0)
 
     std::cout << "Event # " << evCnt << std::endl;
 
-    AliFMDBoolMap read(0);
-    read.Reset(kFALSE);
     std::cout << "Read " << array->GetEntriesFast() << " digits" << std::endl;
   
 #if 0
+    AliFMDBoolMap read(0);
+    read.Reset(kFALSE);
+
     TIter next(array);
     AliFMDDigit* digit = 0;
     while ((digit = static_cast<AliFMDDigit*>(next()))) {