//____________________________________________________________________________
AliTOFQADataMakerRec::AliTOFQADataMakerRec() :
- AliQADataMakerRec(AliQA::GetDetName(AliQA::kTOF), "TOF Quality Assurance Data Maker")
+ AliQADataMakerRec(AliQAv1::GetDetName(AliQAv1::kTOF), "TOF Quality Assurance Data Maker")
{
//
// ctor
h3->Sumw2() ;
Add2RecPointsList(h3, 3, expert) ;
- TH2F * h4 = new TH2F("hTOFRecPointsClusMap","RecPoints vs TOF eta-phi",183, -0.5, 182.5,865,-0.5,864.5) ;
+ TH2F * h4 = new TH2F("hTOFRecPointsClusMap","RecPoints vs TOF phi-eta",183, -0.5, 182.5,865,-0.5,864.5) ;
h4->Sumw2() ;
+ h4->GetXaxis()->SetTitle("2*strip+padz (eta)");
+ h4->GetYaxis()->SetTitle("48*sector+padx (phi)");
+
Add2RecPointsList(h4, 4, expert) ;
}
h3->Sumw2() ;
Add2ESDsList(h3, 3, expert) ;
- TH1F * h4 = new TH1F("hTOFESDsPID", "Fraction of matched TOF tracks with good PID glag", 100, 0., 1.) ;
+ TH1F * h4 = new TH1F("hTOFESDsPID", "Fraction of matched TOF tracks with good PID flag (%)", 101, 0., 101.) ;
h4->Sumw2() ;
Add2ESDsList(h4, 4, expert) ;
}
GetESDsData(0)->Fill(TMath::Log10(nentries)) ;
}
- if(ntof>0)GetESDsData(4)->Fill(ntofpid/ntof) ;
+ Float_t ratio = (Float_t)ntofpid/(Float_t)ntof*100.;
+ if(ntof>0)GetESDsData(4)->Fill(ratio) ;
}
}
//____________________________________________________________________________
-void AliTOFQADataMakerRec::EndOfDetectorCycle(AliQA::TASKINDEX_t task, TObjArray ** list)
+void AliTOFQADataMakerRec::EndOfDetectorCycle(AliQAv1::TASKINDEX_t task, TObjArray ** list)
{
//Detector specific actions at end of cycle
// do the QA checking
- AliQAChecker::Instance()->Run(AliQA::kTOF, task, list) ;
+ AliQAChecker::Instance()->Run(AliQAv1::kTOF, task, list) ;
}
//____________________________________________________________________________
void AliTOFQADataMakerRec::GetMapIndeces(Int_t* in , Int_t* out)