Warnings fixed
authormrodrigu <mrodrigu@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 14 Apr 2011 03:18:37 +0000 (03:18 +0000)
committermrodrigu <mrodrigu@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 14 Apr 2011 03:18:37 +0000 (03:18 +0000)
ACORDE/AliACORDEDataDCS.cxx
ACORDE/AliACORDERawReader.h

index 757a17f..093c84d 100644 (file)
@@ -40,7 +40,11 @@ AliACORDEDataDCS::AliACORDEDataDCS():
         fFunc(0),
        fIsProcessed(kFALSE)
 {
-       for(int i=0;i<kNHistos;i++) fHv[i]=0x0;
+       for(int i=0;i<kNHistos;i++) 
+       {
+               fHv[i]=0x0;
+               fMean[i] = fWidth[i] = 0.0;
+       }
         
 }
 
@@ -143,7 +147,7 @@ void AliACORDEDataDCS::ProcessData(TMap& aliasMap)
 
                if(aliasArr->GetEntries()<2)
                 {
-                       AliError(Form("Alias %s has just %d entries!",
+               AliError(Form("Alias %s has just %d entries!",
                                        fAliasNames[j].Data(),aliasArr->GetEntries()));
                        continue;
                }
index 6bcec40..b92c6db 100755 (executable)
@@ -21,7 +21,10 @@ class AliACORDERawReader : public TTask {
 //AliACORDERawReader(AliRawReader *rawReader,Bool_t isOnline = kTRUE) ;
 
   virtual  ~AliACORDERawReader();
-  AliACORDERawReader(const AliACORDERawReader& o): TTask(o),fRawReader(0),fData(NULL),fPosition(0),fIsOnline(kFALSE),fDataSize(0) {}
+  AliACORDERawReader(const AliACORDERawReader& o): TTask(o),fRawReader(0),fData(NULL),fPosition(0),fIsOnline(kFALSE),fDataSize(0)
+{
+       fWord[0] = fWord[1] = fWord[2] = fWord[3] = 0;
+}
   
   AliACORDERawReader& operator=(const AliACORDERawReader&) { return *this; }