bug correction: Init not called
[u/mrichter/AliRoot.git] / HBTAN / AliHBTAnalysis.cxx
index 92beb74cc31deb452237c2a401483554a2a0e799..cf2be767457fb995b4af7019162d1be764be4c4c 100644 (file)
@@ -234,6 +234,7 @@ void AliHBTAnalysis::Process(Option_t* option)
               "Coherency check not passed. Maybe change the option?\n");
         return;
       }
               "Coherency check not passed. Maybe change the option?\n");
         return;
       }
+    Init();
     if (nonid) ProcessTracksAndParticlesNonIdentAnal();
     else ProcessTracksAndParticles();
     return;
     if (nonid) ProcessTracksAndParticlesNonIdentAnal();
     else ProcessTracksAndParticles();
     return;
@@ -246,6 +247,7 @@ void AliHBTAnalysis::Process(Option_t* option)
        Error("Process","There is no data to analyze.");
        return;
      }
        Error("Process","There is no data to analyze.");
        return;
      }
+    Init();
     if (nonid) ProcessTracksNonIdentAnal();
     else ProcessTracks();
     return;
     if (nonid) ProcessTracksNonIdentAnal();
     else ProcessTracks();
     return;
@@ -258,6 +260,7 @@ void AliHBTAnalysis::Process(Option_t* option)
        Error("Process","There is no data to analyze.");
        return;
      }
        Error("Process","There is no data to analyze.");
        return;
      }
+    Init();
     if (nonid) ProcessParticlesNonIdentAnal();
     else ProcessParticles();
     return;
     if (nonid) ProcessParticlesNonIdentAnal();
     else ProcessParticles();
     return;