list = fRecPointsQAList ;
else if ( task == AliQA::kESDS )
list = fESDsQAList ;
-
+
+ DefaultEndOfDetectorCycle(task) ;
EndOfDetectorCycle(task, list) ;
- TDirectory * subDir = fDetectorDir->GetDirectory(AliQA::GetTaskName(task)) ;
+ TDirectory * subDir = 0x0 ;
+ if (fDetectorDir)
+ subDir = fDetectorDir->GetDirectory(AliQA::GetTaskName(task)) ;
if ( subDir ) {
subDir->cd() ;
- list->Write() ;
+ if (list)
+ list->Write() ;
}
}
fOutput->Close() ;
fOutput = AliQA::GetQADataFile(GetName(), fRun, fCurrentCycle) ;
}
- AliDebug(1, Form(" Run %d Cycle %d task %s file %s",
+ AliInfo(Form(" Run %d Cycle %d task %s file %s",
fRun, fCurrentCycle, AliQA::GetTaskName(task).Data(), fOutput->GetName() )) ;
fDetectorDir = fOutput->GetDirectory(GetDetectorDirName()) ;
list = fRecPointsQAList ;
else if ( task == AliQA::kESDS )
list = fESDsQAList ;
-
- TIter next(list) ;
- TH1 * h ;
- while ( (h = dynamic_cast<TH1 *>(next())) )
- h->Reset() ;
+
+// Should be the choice of detectors
+// TIter next(list) ;
+// TH1 * h ;
+// while ( (h = dynamic_cast<TH1 *>(next())) )
+// h->Reset() ;
StartOfDetectorCycle() ;
}