82 AliInfo(
"In AliTPCQAChecker::Check");
86 AliWarning(Form(
"Checker for task %d not implement for the moment",index));
99 rv[specie] =
CheckRAW(specie, list[specie]);
101 rv[specie] =
CheckSIM(specie, list[specie]);
103 rv[specie] =
CheckREC(specie, list[specie]);
105 rv[specie] =
CheckESD(specie, list[specie]);
108 AliInfo(Form(
"Specie: %s. Task: %s. Value: %f",
121 AliInfo(
"In AliTPCQAChecker::CheckRAW");
126 TH1* hRawsOccupancyVsSector =
static_cast<TH1*
> 128 TH1* hRawsQmaxVsSector =
static_cast<TH1*
> 131 if (!hRawsOccupancyVsSector || !hRawsQmaxVsSector)
134 if(hRawsOccupancyVsSector->GetEntries()==0) {
138 Int_t nBinsX = hRawsOccupancyVsSector->GetNbinsX();
139 for(Int_t i = 1; i <= nBinsX; i++) {
141 if(hRawsOccupancyVsSector->GetBinContent(i)==0)
170 AliInfo(
"In AliTPCQAChecker::CheckSIM");
175 TH1* hDigits =
static_cast<TH1*
> 177 TH1* hHitsNhits =
static_cast<TH1*
> 179 TH1* hHitsElectrons =
static_cast<TH1*
> 181 TH1* hHitsRadius =
static_cast<TH1*
> 183 TH1* histHitsPrimPerCm =
static_cast<TH1*
> 185 TH1* histHitsElectronsPerCm =
static_cast<TH1*
> 193 if(hDigits->GetEntries()==0)
197 if (hHitsNhits && hHitsElectrons && hHitsRadius &&
198 histHitsPrimPerCm && histHitsElectronsPerCm) {
199 if (hHitsNhits->GetEntries()==0 || hHitsElectrons->GetEntries()==0 ||
200 hHitsRadius->GetEntries()==0 || histHitsPrimPerCm->GetEntries()==0 ||
201 histHitsElectronsPerCm->GetEntries()==0)
231 AliInfo(
"In AliTPCQAChecker::CheckREC");
236 TH1* hDigits =
static_cast<TH1*
> 238 TH1* hNclustersVsRow =
static_cast<TH1*
> 240 TH1* hQshort =
static_cast<TH1*
> 242 TH1* hQmedium =
static_cast<TH1*
> 244 TH1* hQlong =
static_cast<TH1*
> 249 (!hNclustersVsRow || !hQshort || !hQmedium || !hQlong))
252 if (hDigits && hDigits->GetEntries()==0)
255 if (hNclustersVsRow && hNclustersVsRow->GetEntries() < 1000) {
258 if (!hQshort || !hQlong || !hQlong)
260 if (hQshort->GetEntries()==0 || hQmedium->GetEntries()==0 ||
261 hQlong->GetEntries()==0)
279 AliInfo(
"In AliTPCQAChecker::CheckESD");
284 TH1* hESDclusters =
static_cast<TH1*
> 286 TH1* hESDratio =
static_cast<TH1*
> 288 TH1* hESDpt =
static_cast<TH1*
> 291 if (!hESDclusters || !hESDratio || !hESDpt)
303 AliInfo(
"In AliTPCQAChecker::Init");
326 AliInfo(
"In AliTPCQAChecker::SetQA");
335 AliInfo(Form(
"Fatal QA. Task: %s. Specie: %s",
345 AliInfo(Form(
"QA-Fatal. Task: %s. Specie: %s",
348 qa->
Set(AliQAv1::kFATAL, specie) ;
353 AliInfo(Form(
"QA-Error. Task: %s. Specie: %s",
356 qa->
Set(AliQAv1::kERROR, specie) ;
361 AliInfo(Form(
"QA-Warning. Task: %s. Specie: %s",
364 qa->
Set(AliQAv1::kWARNING, specie) ;
369 AliInfo(Form(
"QA-Info. Task: %s. Specie: %s",
372 qa->
Set(AliQAv1::kINFO, specie) ;
static const char * GetEventSpecieName(EventSpecie_t es)
Double_t CheckREC(Int_t specie, TObjArray *list)
#define AliWarning(message)
Checks implemented a la AliMUONQAChecker.
Double_t CheckSIM(Int_t specie, TObjArray *list)
Double_t CheckRAW(Int_t specie, TObjArray *list)
static const char * GetAliTaskName(ALITASK_t tsk)
void SetHiLo(Float_t *hiValue, Float_t *lowValue)
void Set(QABIT_t bit, AliRecoParam::EventSpecie_t es)
void Init(const AliQAv1::DETECTORINDEX_t det)
void SetQA(AliQAv1::ALITASK_t index, Double_t *value) const
Float_t * fLowTestValue
Entry in OCDB for the current detector.
virtual void Check(Double_t *test, AliQAv1::ALITASK_t, TObjArray **, const AliDetectorRecoParam *recoParam)
Double_t CheckESD(Int_t specie, TObjArray *list)
static AliQAv1 * Instance()