call of endofcycle common to detectors and global
authorschutz <schutz@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 26 Nov 2009 23:44:53 +0000 (23:44 +0000)
committerschutz <schutz@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 26 Nov 2009 23:44:53 +0000 (23:44 +0000)
STEER/AliReconstruction.cxx

index 51b3ae3..e182c96 100644 (file)
@@ -2019,21 +2019,9 @@ void AliReconstruction::SlaveTerminate()
   }
 
   // End of cycle for the in-loop  
-  if (fRunQA) 
-    AliQAManager::QAManager()->EndOfCycle() ;
-  
-  if (fRunGlobalQA) {
-    AliQADataMaker *qadm = AliQAManager::QAManager()->GetQADataMaker(AliQAv1::kGLOBAL);
-    if (qadm) {
-      if (IsInTasks(AliQAv1::kRECPOINTS)) 
-        qadm->EndOfCycle(AliQAv1::kRECPOINTS);
-      if (IsInTasks(AliQAv1::kESDS)) 
-        qadm->EndOfCycle(AliQAv1::kESDS);
-      qadm->Finish();
-    }
-  }
 
   if (fRunQA || fRunGlobalQA) {
+    AliQAManager::QAManager()->EndOfCycle() ;
     if (fInput &&
        !fProofOutputLocation.IsNull() &&
        fProofOutputArchive.IsNull() &&