Correction to the last commit
authorcvetan <cvetan@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 16 Nov 2009 11:13:17 +0000 (11:13 +0000)
committercvetan <cvetan@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 16 Nov 2009 11:13:17 +0000 (11:13 +0000)
VZERO/VZEROda.cxx

index 551c004..cda344a 100755 (executable)
@@ -208,8 +208,8 @@ int main(int argc, char **argv) {
           AliRawReader *rawReader = new AliRawReaderDate((void*)event);
   
           AliVZERORawStream* rawStream  = new AliVZERORawStream(rawReader); 
-          if (rawStream.Next()) {      
-             for(Int_t i=0; i<64; i++) {
+          if (rawStream->Next()) {     
+           for(Int_t i=0; i<64; i++) {
                Int_t nFlag = 0;
                for(Int_t j=kClockMin; j <= kClockMax; j++) {  // Check flags on clock range used for pedestal calculation
                   if((rawStream->GetBBFlag(i,j)) || (rawStream->GetBGFlag(i,j))) nFlag++;