]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - TOF/AliTOFMerger.cxx
added function for drawing histograms one by one; added function for loading histogra...
[u/mrichter/AliRoot.git] / TOF / AliTOFMerger.cxx
index ec789c67f65c148c88fd8faf4160fe277ae6cb07..80f2115b53b1fc87af12c491a2c7c2b5d5756bcc 100644 (file)
@@ -44,6 +44,11 @@ ClassImp(AliTOFMerger)
     fEvNrBgr = 0;
     fMerge =kDigitize;
     fFnBgr   = 0;
+    fDigits = 0;
+    fSDigits =0;
+    fFnBgr = 0;
+    fFnSig = 0;
+    fBgrFile = 0;
 }
 
 //------------------------------------------------------------------------
@@ -168,9 +173,9 @@ void AliTOFMerger::ReadWriteDigit(Int_t iEvNum)
 
        vol[0] = tofsdigit->GetSector();
        vol[1] = tofsdigit->GetPlate();
-       vol[2] = tofsdigit->GetPadx();
-       vol[3] = tofsdigit->GetPadz();
-       vol[4] = tofsdigit->GetStrip();
+       vol[2] = tofsdigit->GetStrip();
+       vol[3] = tofsdigit->GetPadx();
+       vol[4] = tofsdigit->GetPadz();
 
        digit[0] = tofsdigit->GetTdc();
        digit[1] = tofsdigit->GetAdc();