//
const Bool_t expert = kTRUE ;
- const Bool_t image = kTRUE ;
+ const Bool_t image = kTRUE ;
- TH1F * h0 = new TH1F("hTOFHits", "Number of TOF Hits;TOF hit number [10 power];Counts ",301, -1.02, 5.) ;
+ TH1F * h0 = new TH1F("hTOFHits", "Number of TOF Hits per event;TOF hit number;Counts ",101, -1., 100.) ;
h0->Sumw2() ;
Add2HitsList(h0, 0, !expert, image) ;
- TH1F * h1 = new TH1F("hTOFHitsTime", "Hits Time Spectrum in TOF (ns);Simulated TOF time [ns];Counts", 2000, 0., 200) ;
+ TH1F * h1 = new TH1F("hTOFHitsTime", "Hits Time Spectrum in TOF (ns);Simulated TOF time [ns];Counts", 25000, 0., 610.) ;
h1->Sumw2() ;
Add2HitsList(h1, 1, !expert, image) ;
- TH1F * h2 = new TH1F("hTOFHitsLength", "Length Spectrum in TOF (cm);Track length from primary vertex till hit TOF pad [cm];Counts", 500, 0., 500) ;
+ TH1F * h2 = new TH1F("hTOFHitsLength", "Length Spectrum in TOF (cm);Track length from primary vertex till hit TOF pad [cm];Counts", 700, 0., 700) ;
h2->Sumw2() ;
Add2HitsList(h2, 2, !expert, image) ;
h3->Sumw2() ;
h3->GetYaxis()->SetTitleOffset(1.15);
Add2HitsList(h3, 3, !expert, image) ;
+ //
+ ClonePerTrigClass(AliQAv1::kHITS); // this should be the last line
}
//____________________________________________________________________________
const Bool_t expert = kTRUE ;
const Bool_t image = kTRUE ;
- TH1F * h0 = new TH1F("hTOFDigits", "Number of TOF Digit;TOF digit number [10 power];Counts ",301, -1.02, 5.) ;
+ TH1F * h0 = new TH1F("hTOFDigits", "Number of TOF Digit per event;TOF digit number;Counts ",101, -1., 100.) ;
h0->Sumw2() ;
Add2DigitsList(h0, 0, !expert, image) ;
- TH1F * h1 = new TH1F("hTOFDigitsTime", "Digits Time Spectrum in TOF (ns);Digitized TOF time [ns];Counts", 2000, 0., 200) ;
+ TH1F * h1 = new TH1F("hTOFDigitsTime", "Digits Time Spectrum in TOF (ns);Digitized TOF time [ns];Counts", 25000, 0., 610.) ;
h1->Sumw2() ;
Add2DigitsList(h1, 1, !expert, image) ;
- TH1F * h2 = new TH1F("hTOFDigitsToT", "Digits ToT Spectrum in TOF (ns);Digitized TOF time [ns];Counts", 500, 0., 50) ;
+ TH1F * h2 = new TH1F("hTOFDigitsToT", "Digits ToT Spectrum in TOF (ns);Digitized ToT time [ns];Counts", 1000, 0., 48.8) ;
h2->Sumw2() ;
Add2DigitsList(h2, 2, !expert, image) ;
h3->Sumw2() ;
h3->GetYaxis()->SetTitleOffset(1.15);
Add2DigitsList(h3, 3, !expert, image) ;
-
+ //
+ ClonePerTrigClass(AliQAv1::kDIGITS); // this should be the last line
}
//____________________________________________________________________________
const Bool_t expert = kTRUE ;
const Bool_t image = kTRUE ;
- TH1F * h0 = new TH1F("hTOFSDigits", "Number of TOF SDigits;TOF sdigit number [10 power];Counts ",301, -1.02, 5.) ;
+ TH1F * h0 = new TH1F("hTOFSDigits", "Number of TOF SDigits per event;TOF sdigit number;Counts ",101, -1., 100.) ;
h0->Sumw2() ;
Add2SDigitsList(h0, 0, !expert, image) ;
- TH1F * h1 = new TH1F("hTOFSDigitsTime", "SDigits Time Spectrum in TOF (ns);SDigitized TOF time [ns];Counts", 2000, 0., 200) ;
+ TH1F * h1 = new TH1F("hTOFSDigitsTime", "SDigits Time Spectrum in TOF (ns);SDigitized TOF time [ns];Counts", 25000, 0., 610) ;
h1->Sumw2() ;
Add2SDigitsList(h1, 1, !expert, image) ;
h2->Sumw2() ;
h2->GetYaxis()->SetTitleOffset(1.15);
Add2SDigitsList(h2, 2, !expert, image) ;
-
+ //
+ ClonePerTrigClass(AliQAv1::kSDIGITS); // this should be the last line
}
//____________________________________________________________________________
Int_t nentries= fHitsArray->GetEntriesFast();
if(nentries<=0) {
- GetHitsData(0)->Fill(-1.) ;
+ FillHitsData(0,-1.) ;
} else{
- GetHitsData(0)->Fill(TMath::Log10(nentries)) ;
+ FillHitsData(0,nentries) ;
}
TIter next(fHitsArray) ;
AliTOFhitT0 * hit ;
while ( (hit = dynamic_cast<AliTOFhitT0 *>(next())) ) {
- GetHitsData(1)->Fill( hit->GetTof()*1.E9) ;//in ns
- GetHitsData(2)->Fill( hit->GetLen()) ;//in cm
+ FillHitsData(1, hit->GetTof()*1.E9) ;//in ns
+ FillHitsData(2, hit->GetLen()) ;//in cm
in[0] = hit->GetSector();
in[1] = hit->GetPlate();
in[3]= hit->GetPadx();
in[4]= hit->GetPadz();
GetMapIndeces(in,out);
- GetHitsData(3)->Fill( out[0],out[1]) ;//hit map
+ FillHitsData(3, out[0],out[1]) ;//hit map
}
}
MakeHits() ;
fHitsArray->Clear() ;
}
+ //
+ IncEvCountCycleHits();
+ IncEvCountTotalHits();
+ //
}
//____________________________________________________________________________
Int_t nentries=fDigitsArray->GetEntriesFast();
if(nentries<=0){
- GetDigitsData(0)->Fill(-1.) ;
+ FillDigitsData(0,-1.) ;
}else{
- GetDigitsData(0)->Fill(TMath::Log10(nentries)) ;
+ FillDigitsData(0,nentries) ;
}
TIter next(fDigitsArray) ;
AliTOFdigit * digit ;
while ( (digit = dynamic_cast<AliTOFdigit *>(next())) ) {
- GetDigitsData(1)->Fill( digit->GetTdc()*tdc2ns) ;//in ns
- GetDigitsData(2)->Fill( digit->GetToT()*tot2ns) ;//in ns
+ FillDigitsData(1, digit->GetTdc()*tdc2ns) ;//in ns
+ FillDigitsData(2, digit->GetToT()*tot2ns) ;//in ns
in[0] = digit->GetSector();
in[1] = digit->GetPlate();
in[3] = digit->GetPadx();
in[4]= digit->GetPadz();
GetMapIndeces(in,out);
- GetDigitsData(3)->Fill( out[0],out[1]) ;//digit map
+ FillDigitsData(3, out[0],out[1]) ;//digit map
}
}
AliError("TOF branch in Digit Tree not found") ;
return;
}
- branch->SetAddress(&fDigitsArray) ;
- branch->GetEntry(0) ;
- MakeDigits() ;
+ branch->SetAddress(&fDigitsArray);
+ branch->GetEntry(0);
+ MakeDigits();
+ //
+ IncEvCountCycleDigits();
+ IncEvCountTotalDigits();
+ //
}
//____________________________________________________________________________
Int_t nentries=fSDigitsArray->GetEntriesFast();
if(nentries<=0){
- GetSDigitsData(0)->Fill(-1.) ;
+ FillSDigitsData(0,-1.) ;
}else{
- GetSDigitsData(0)->Fill(TMath::Log10(nentries)) ;
+ FillSDigitsData(0,nentries) ;
}
TIter next(fSDigitsArray) ;
while ( (sdigit = dynamic_cast<AliTOFSDigit *>(next())) ) {
for(Int_t i=0;i<sdigit->GetNDigits();i++){
- GetSDigitsData(1)->Fill( sdigit->GetTdc(i)*tdc2ns) ;//in ns
+ FillSDigitsData(1, sdigit->GetTdc(i)*tdc2ns) ;//in ns
}
in[0] = sdigit->GetSector();
in[3] = sdigit->GetPadx();
in[4]= sdigit->GetPadz();
GetMapIndeces(in,out);
- GetSDigitsData(2)->Fill( out[0],out[1]) ;//sdigit map
+ FillSDigitsData(2, out[0],out[1]) ;//sdigit map
}
}
AliError("TOF branch in SDigit Tree not found") ;
return;
}
- branch->SetAddress(&fSDigitsArray) ;
- branch->GetEntry(0) ;
- MakeSDigits() ;
+ branch->SetAddress(&fSDigitsArray);
+ branch->GetEntry(0);
+ MakeSDigits();
+ //
+ IncEvCountCycleSDigits();
+ IncEvCountTotalSDigits();
+ //
}
//____________________________________________________________________________
{
//Detector specific actions at end of cycle
// do the QA checking
-
+ ResetEventTrigClasses();
AliQAChecker::Instance()->Run(AliQAv1::kTOF, task, list) ;
}
//____________________________________________________________________________