return *this;
}
+//____________________________________________________________________________
+Int_t AliQADataMaker::Add2List(TH1 * hist, const Int_t index, TList * list)
+{
+ // Set histograms memory resident and add to the list
+ hist->SetDirectory(0) ;
+ TH1::AddDirectory(kFALSE);
+ list->AddAt(hist, index) ;
+ return list->LastIndex() ;
+}
+
//____________________________________________________________________________
void AliQADataMaker::EndOfCycle(AliQA::TASKINDEX task)
{
{
fESDsQAList = new TList() ;
InitESDs() ;
- return fRecPointsQAList ;
+ return fESDsQAList ;
break ;
}
}
protected:
- Int_t Add2List(TH1 * hist, const Int_t index, TList * list) { list->AddAt(hist, index) ; return list->LastIndex() ; }
+ Int_t Add2List(TH1 * hist, const Int_t index, TList * list) ;
virtual void EndOfDetectorCycle(AliQA::TASKINDEX, TList * ) {AliInfo("To be implemented by detectors");}
TObject * GetData(TList * list, const Int_t index) { return list->At(index) ; }
virtual void InitDigits() {AliInfo("To be implemented by detectors");}