]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - STEER/AliGlobalQADataMaker.cxx
1.The QA data created on demand according to the event species at filling time. 2...
[u/mrichter/AliRoot.git] / STEER / AliGlobalQADataMaker.cxx
index 13144c3f462e6c1c38a2a02bc239ad371d3826b6..79723d6626594244ef0fc99c66c68a217b6af001 100644 (file)
@@ -181,6 +181,10 @@ void AliGlobalQADataMaker::MakeESDs(AliESDEvent * event) {
   // This function fills the ESD QA histograms
   // as a part of global QA
   //-----------------------------------------------------------
+  // Check id histograms already created for this Event Specie
+  if ( ! GetESDsData(kClr0) )
+    InitESDs() ;
+
   const AliESDEvent *esd=event;
 
   Int_t ntrk=esd->GetNumberOfTracks() ; 
@@ -283,4 +287,4 @@ void AliGlobalQADataMaker::MakeESDs(AliESDEvent * event) {
        GetESDsData(kL0off)->Fill(mass);
   }
 
-}
+}
\ No newline at end of file