2 /**************************************************************************
3 * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5 * Author: The ALICE Off-line Project. *
6 * Contributors are mentioned in the code where appropriate. *
8 * Permission to use, copy, modify and distribute this software and its *
9 * documentation strictly for non-commercial purposes is hereby granted *
10 * without fee, provided that the above copyright notice appears in all *
11 * copies and that both the copyright notice and this permission notice *
12 * appear in the supporting documentation. The authors make no claims *
13 * about the suitability of this software for any purpose. It is *
14 * provided "as is" without express or implied warranty. *
15 **************************************************************************/
16 /* $Id: AliQAv1.cxx 31503 2009-03-16 11:01:16Z schutz $ */
18 //////////////////////////////////////////////////////////////////////////////
20 // Quality Assurance Object//_________________________________________________________________________
21 // Quality Assurance object. The QA status is held in one word per detector,
22 // each bit corresponds to a different status.
23 // bit 0-3 : QA raised during simulation (RAW)
24 // bit 4-7 : QA raised during simulation (SIM)
25 // bit 8-11 : QA raised during reconstruction (REC)
26 // bit 12-15 : QA raised during ESD checking (ESD)
27 // bit 16-19 : QA raised during analysis (ANA)
28 // Each of the 4 bits corresponds to a severity level of increasing importance
29 // from lower to higher bit (INFO, WARNING, ERROR, FATAL)
31 //*-- Yves Schutz CERN, July 2007
32 //////////////////////////////////////////////////////////////////////////////
36 // --- ROOT system ---
42 // --- Standard library ---
44 // --- AliRoot header files ---
50 AliQAv1 * AliQAv1::fgQA = 0x0 ;
51 TFile * AliQAv1::fgQADataFile = 0x0 ;
52 TString AliQAv1::fgQADataFileName = "QA" ; // will transform into Det.QA.run.root
53 TFile * AliQAv1::fgQARefFile = 0x0 ;
54 TString AliQAv1::fgQARefDirName = "" ;
55 TString AliQAv1::fgQARefFileName = "QA.root" ;
56 TFile * AliQAv1::fgQAResultFile = 0x0 ;
57 TString AliQAv1::fgQAResultDirName = "" ;
58 TString AliQAv1::fgQAResultFileName = "QA.root" ;
59 TString AliQAv1::fgDetNames[] = {"ITS", "TPC", "TRD", "TOF", "PHOS", "HMPID", "EMCAL", "MUON", "FMD",
60 "ZDC", "PMD", "T0", "VZERO", "ACORDE", "HLT", "Global", "CORR"} ;
61 TString AliQAv1::fgGRPPath = "GRP/GRP/Data" ;
62 TString AliQAv1::fgTaskNames[] = {"Raws", "Hits", "SDigits", "Digits", "DigitsR", "RecPoints", "TrackSegments", "RecParticles", "ESDs"} ;
63 TString AliQAv1::fgModeNames[] = {"", "Sim", "Rec"} ;
64 const TString AliQAv1::fgkLabLocalFile = "file://" ;
65 const TString AliQAv1::fgkLabLocalOCDB = "local://" ;
66 const TString AliQAv1::fgkLabAliEnOCDB = "alien://" ;
67 const TString AliQAv1::fgkRefFileName = "QA.root" ;
68 const TString AliQAv1::fgkQAName = "QA" ;
69 const TString AliQAv1::fgkQACorrNtName = "CorrQA" ;
70 const TString AliQAv1::fgkRefOCDBDirName = "QA" ;
71 TString AliQAv1::fgRefDataDirName = "" ;
72 const TString AliQAv1::fgkQARefOCDBDefault = "alien://folder=/alice/QA/20" ;
73 const TString AliQAv1::fgkExpert = "Expert" ;
74 const UInt_t AliQAv1::fgkExpertBit = 0x40000 ;
75 const UInt_t AliQAv1::fgkQABit = 0x80000 ;
76 const UInt_t AliQAv1::fgkImageBit = 0x100000 ;
77 const Int_t AliQAv1::fgkQADebugLevel = 99 ;
78 const TString AliQAv1::fImageFileName = "QAImage" ;
79 const TString AliQAv1::fImageFileFormat = "ps" ;
80 const UShort_t AliQAv1::fgkMaxQAObjects = 10000 ;
82 //____________________________________________________________________________
86 fNEventSpecies(AliRecoParam::kNSpecies),
87 fLengthQA(fNdet*fNEventSpecies),
88 fQA(new ULong_t[fLengthQA]),
91 fEventSpecie(AliRecoParam::kDefault),
92 fEventSpecies(new Bool_t[fNEventSpecies])
94 // default constructor
95 memset(fQA,0,fLengthQA*sizeof(ULong_t));
96 memset(fEventSpecies,kFALSE,fNEventSpecies*sizeof(Bool_t));
99 //____________________________________________________________________________
100 AliQAv1::AliQAv1(const AliQAv1& qa) :
103 fNEventSpecies(qa.fNEventSpecies),
104 fLengthQA(qa.fLengthQA),
105 fQA(new ULong_t[fLengthQA]),
108 fEventSpecie(qa.fEventSpecie),
109 fEventSpecies(new Bool_t[fNEventSpecies])
112 memcpy(fQA,qa.fQA,fLengthQA*sizeof(ULong_t));
113 memcpy(fEventSpecies,qa.fEventSpecies,fNEventSpecies*sizeof(Bool_t));
116 //_____________________________________________________________________________
117 AliQAv1& AliQAv1::operator = (const AliQAv1& qa)
119 // assignment operator
121 TNamed::operator=(qa);
123 fNEventSpecies = qa.fNEventSpecies;
124 fLengthQA = qa.fLengthQA;
126 if(fQA) delete [] fQA;
127 fQA = new ULong_t[fLengthQA];
128 memcpy(fQA,qa.fQA,fLengthQA*sizeof(ULong_t));
132 fEventSpecie = qa.fEventSpecie;
133 if(fEventSpecies) delete [] fEventSpecies;
134 fEventSpecies = new Bool_t[fNEventSpecies];
135 memcpy(fEventSpecies,qa.fEventSpecies,fNEventSpecies*sizeof(Bool_t));
140 //_______________________________________________________________
141 AliQAv1::AliQAv1(const Int_t qalength, ULong_t * qa, const Int_t eslength, Bool_t * es) :
142 TNamed("QA", "Quality Assurance status"),
144 fNEventSpecies(eslength),
146 fQA(new ULong_t[fLengthQA]),
149 fEventSpecie(AliRecoParam::kDefault),
150 fEventSpecies(new Bool_t[fNEventSpecies])
152 // constructor to be used
153 memcpy(fQA, qa, fLengthQA*sizeof(ULong_t));
154 memcpy(fEventSpecies, es, fNEventSpecies*sizeof(Bool_t));
157 //_______________________________________________________________
158 AliQAv1::AliQAv1(const DETECTORINDEX_t det) :
159 TNamed("QA", "Quality Assurance status"),
161 fNEventSpecies(AliRecoParam::kNSpecies),
162 fLengthQA(fNdet*fNEventSpecies),
163 fQA(new ULong_t[fLengthQA]),
166 fEventSpecie(AliRecoParam::kDefault),
167 fEventSpecies(new Bool_t[fNEventSpecies])
169 // constructor to be used
170 if (! CheckRange(det) ) fDet = kNULLDET ;
171 memset(fQA,0,fLengthQA*sizeof(ULong_t));
172 memset(fEventSpecies,kFALSE,fNEventSpecies*sizeof(Bool_t));
175 //_______________________________________________________________
176 AliQAv1::AliQAv1(const ALITASK_t tsk) :
177 TNamed("QA", "Quality Assurance status"),
179 fNEventSpecies(AliRecoParam::kNSpecies),
180 fLengthQA(fNdet*fNEventSpecies),
181 fQA(new ULong_t[fLengthQA]),
184 fEventSpecie(AliRecoParam::kDefault),
185 fEventSpecies(new Bool_t[fNEventSpecies])
187 // constructor to be used in the AliRoot module (SIM, REC, ESD or ANA)
188 if (! CheckRange(tsk) ) fTask = kNULLTASK ;
189 memset(fQA,0,fLengthQA*sizeof(ULong_t));
190 memset(fEventSpecies,kFALSE,fNEventSpecies*sizeof(Bool_t));
193 //____________________________________________________________________________
198 delete [] fEventSpecies;
201 //_______________________________________________________________
202 void AliQAv1::Close()
204 // close the open files
206 if (fgQADataFile->IsOpen())
207 fgQADataFile->Close() ;
209 if (fgQAResultFile->IsOpen())
210 fgQAResultFile->Close() ;
212 if (fgQARefFile->IsOpen())
213 fgQARefFile->Close() ;
216 //_______________________________________________________________
217 Bool_t AliQAv1::CheckFatal() const
219 // check if any FATAL status is set
222 for (index = 0; index < kNDET ; index++)
223 rv = rv || IsSet(DETECTORINDEX_t(index), fTask, fEventSpecie, kFATAL) ;
227 //_______________________________________________________________
228 Bool_t AliQAv1::CheckRange(DETECTORINDEX_t det) const
230 // check if detector is in given detector range: 0-kNDET
232 Bool_t rv = ( det < 0 || det > kNDET ) ? kFALSE : kTRUE ;
234 AliFatal(Form("Detector index %d is out of range: 0 <= index <= %d", det, kNDET)) ;
238 //_______________________________________________________________
239 Bool_t AliQAv1::CheckRange(ALITASK_t task) const
241 // check if task is given taskk range: 0:kNTASK
242 Bool_t rv = ( task < kRAW || task > kNTASK ) ? kFALSE : kTRUE ;
244 AliFatal(Form("Module index %d is out of range: 0 <= index <= %d", task, kNTASK)) ;
248 //_______________________________________________________________
249 Bool_t AliQAv1::CheckRange(QABIT_t bit) const
251 // check if bit is in given bit range: 0-kNBit
253 Bool_t rv = ( bit < 0 || bit > kNBIT ) ? kFALSE : kTRUE ;
255 AliFatal(Form("Status bit %d is out of range: 0 <= bit <= %d", bit, kNBIT)) ;
259 //_______________________________________________________________
260 Bool_t AliQAv1::CheckRange(AliRecoParam::EventSpecie_t es) const
262 // check if bit is in given bit range: 0-kNBit
265 case AliRecoParam::kDefault:
268 case AliRecoParam::kLowMult:
271 case AliRecoParam::kHighMult:
274 case AliRecoParam::kCosmic:
277 case AliRecoParam::kCalib:
282 AliFatal(Form("Event Specie %d is not valid", es)) ;
286 //_______________________________________________________________
287 const char * AliQAv1::GetAliTaskName(ALITASK_t tsk)
289 // returns the char name corresponding to module index
313 return tskName.Data() ;
316 //_______________________________________________________________
317 const char * AliQAv1::GetBitName(QABIT_t bit) const
319 // returns the char name corresponding to bit
328 bitName = "WARNING" ;
340 return bitName.Data() ;
343 //_______________________________________________________________
344 AliQAv1::DETECTORINDEX_t AliQAv1::GetDetIndex(const char * name)
346 // returns the detector index corresponding to a given name
347 TString sname(name) ;
348 DETECTORINDEX_t rv = kNULLDET ;
349 for (Int_t det = 0; det < kNDET ; det++) {
350 if ( GetDetName(det) == sname ) {
351 rv = DETECTORINDEX_t(det) ;
358 //_______________________________________________________________
359 const char * AliQAv1::GetDetName(Int_t det)
361 // returns the detector name corresponding to a given index (needed in a loop)
363 if ( det >= 0 && det < kNDET)
364 return (fgDetNames[det]).Data() ;
369 //_______________________________________________________________
370 TFile * AliQAv1::GetQADataFile(const char * name, Int_t run)
372 // opens the file to store the detectors Quality Assurance Data Maker results
373 const char * temp = Form("%s.%s.%d.root", name, fgQADataFileName.Data(), run) ;
375 if (! fgQADataFile ) {
376 if (gSystem->AccessPathName(temp))
380 fgQADataFile = TFile::Open(temp, opt.Data()) ;
382 if ( strcmp(temp, fgQADataFile->GetName()) != 0 ) {
383 fgQADataFile = static_cast<TFile *>(gROOT->FindObject(temp)) ;
384 if ( !fgQADataFile ) {
385 if (gSystem->AccessPathName(temp))
389 fgQADataFile = TFile::Open(temp, opt.Data()) ;
393 return fgQADataFile ;
396 //_____________________________________________________________________________
397 AliQAv1::MODE_t AliQAv1::Mode(TASKINDEX_t task) {
398 // return "rec" or "sim" depending on the task
407 case AliQAv1::kSDIGITS:
410 case AliQAv1::kDIGITS:
413 case AliQAv1::kDIGITSR:
416 case AliQAv1::kRECPOINTS:
419 case AliQAv1::kTRACKSEGMENTS:
422 case AliQAv1::kRECPARTICLES:
431 return AliQAv1::kNULLMODE;
434 //_____________________________________________________________________________
435 TFile * AliQAv1::GetQADataFile(const char * fileName)
437 // Open if necessary the Data file and return its pointer
441 fileName = AliQAv1::GetQADataFileName() ;
442 if (!gSystem->AccessPathName(fileName)) {
443 fgQADataFile = TFile::Open(fileName) ;
445 AliFatalClass(Form("File %s not found", fileName)) ;
448 return fgQADataFile ;
451 //_______________________________________________________________
452 TFile * AliQAv1::GetQAResultFile()
454 // opens the file to store the Quality Assurance Data Checker results
456 fgQAResultFile->Close() ;
457 fgQAResultFile = 0x0 ;
458 // if (!fgQAResultFile) {
459 TString dirName(fgQAResultDirName) ;
460 if ( dirName.Contains(fgkLabLocalFile))
461 dirName.ReplaceAll(fgkLabLocalFile, "") ;
462 TString fileName(dirName + fgQAResultFileName) ;
464 if ( !gSystem->AccessPathName(fileName) )
467 if ( gSystem->AccessPathName(dirName) )
468 gSystem->mkdir(dirName) ;
471 fgQAResultFile = TFile::Open(fileName, opt) ;
474 return fgQAResultFile ;
477 //_______________________________________________________________
478 AliQAv1::TASKINDEX_t AliQAv1::GetTaskIndex(const char * name)
480 // returns the detector index corresponding to a given name
481 TString sname(name) ;
482 TASKINDEX_t rv = kNULLTASKINDEX ;
483 for (Int_t tsk = 0; tsk < kNTASKINDEX ; tsk++) {
484 if ( GetTaskName(tsk) == sname ) {
485 rv = TASKINDEX_t(tsk) ;
492 //_______________________________________________________________
493 Bool_t AliQAv1::IsSet(DETECTORINDEX_t det, ALITASK_t tsk, Int_t ies, QABIT_t bit) const
495 // Checks is the requested bit is set
497 const AliRecoParam::EventSpecie_t es = AliRecoParam::Convert(ies) ;
498 return IsSet(det, tsk, es, bit) ;
502 //_______________________________________________________________
503 Bool_t AliQAv1::IsSet(DETECTORINDEX_t det, ALITASK_t tsk, AliRecoParam::EventSpecie_t es, QABIT_t bit) const
505 // Checks is the requested bit is set
512 ULong_t offset = Offset(tsk) ;
513 ULong_t status = GetStatus(det, es) ;
515 status = (status & 1 << offset) != 0 ;
519 //_______________________________________________________________
520 Bool_t AliQAv1::IsSetAny(DETECTORINDEX_t det, ALITASK_t tsk, AliRecoParam::EventSpecie_t es) const
522 // Checks is the requested bit is set
528 ULong_t offset = Offset(tsk) ;
529 ULong_t status = GetStatus(det, es) ;
531 for ( Int_t bit = 0 ; bit < kNBIT ; bit++) {
533 st += (status & 1 << offset) != 0 ;
540 //_______________________________________________________________
541 Bool_t AliQAv1::IsSetAny(DETECTORINDEX_t det, AliRecoParam::EventSpecie_t es) const
543 // Checks is the requested bit is set
548 ULong_t status = GetStatus(det, es) ;
550 for ( Int_t tsk = 0 ; tsk < kNTASK ; tsk++) {
551 ULong_t offset = Offset(ALITASK_t(tsk)) ;
552 for ( Int_t bit = 0 ; bit < kNBIT ; bit++) {
554 st += (status & 1 << offset) != 0 ;
563 //_______________________________________________________________
564 AliQAv1 * AliQAv1::Instance()
566 // Get an instance of the singleton. The only authorized way to call the ctor
569 TFile * f = GetQAResultFile() ;
570 fgQA = static_cast<AliQAv1 *>(f->Get("QA")) ;
572 fgQA = new AliQAv1() ;
577 //_______________________________________________________________
578 AliQAv1 * AliQAv1::Instance(const Int_t qalength, ULong_t * qa, const Int_t eslength, Bool_t * es)
580 // Get an instance of the singleton. The only authorized way to call the ctor
583 fgQA = new AliQAv1(qalength, qa, eslength, es) ;
587 //_______________________________________________________________
588 AliQAv1 * AliQAv1::Instance(const DETECTORINDEX_t det)
590 // Get an instance of the singleton. The only authorized way to call the ctor
593 TFile * f = GetQAResultFile() ;
594 fgQA = static_cast<AliQAv1 *>(f->Get("QA")) ;
596 fgQA = new AliQAv1(det) ;
602 //_______________________________________________________________
603 AliQAv1 * AliQAv1::Instance(const ALITASK_t tsk)
605 // Get an instance of the singleton. The only authorized way to call the ctor
612 fgQA = new AliQAv1(tsk) ;
615 fgQA = new AliQAv1(tsk) ;
618 AliInfoClass("fgQA = gAlice->GetQA()") ;
621 AliInfoClass("fgQA = static_cast<AliQAv1 *> (esdFile->Get(\"QA\")") ;
624 AliInfoClass("fgQA = static_cast<AliQAv1 *> (esdFile->Get(\"QA\")") ;
634 //_______________________________________________________________
635 AliQAv1 * AliQAv1::Instance(const TASKINDEX_t tsk)
637 // get an instance of the singleton.
639 ALITASK_t index = kNULLTASK ;
643 else if (tsk < kDIGITS)
645 else if (tsk < kRECPARTICLES)
647 else if (tsk == kESDS)
650 return Instance(index) ;
653 //_______________________________________________________________
654 void AliQAv1::Merge(TCollection * list) {
655 // Merge the QA resuls in the list into this single AliQAv1 object
657 for (Int_t det = 0 ; det < kNDET ; det++) {
658 Set(DETECTORINDEX_t(det)) ;
659 for (Int_t task = 0 ; task < kNTASK ; task++) {
660 Set(ALITASK_t(task)) ;
661 for (Int_t bit = 0 ; bit < kNBIT ; bit++) {
664 while ( (qa = (AliQAv1*)next() ) ) {
665 for (Int_t es = 0 ; es < fNEventSpecies ; es++) {
666 if (qa->IsSet(DETECTORINDEX_t(det), ALITASK_t(task), es, QABIT_t(bit)))
667 Set(QABIT_t(bit), es) ;
675 //_______________________________________________________________
676 ULong_t AliQAv1::Offset(ALITASK_t tsk) const
678 // Calculates the bit offset for a given module (SIM, REC, ESD, ANA)
708 //_______________________________________________________________
709 void AliQAv1::ResetStatus(DETECTORINDEX_t det)
711 // reset the status of det for all event specie
712 for (Int_t es = 0 ; es < fNEventSpecies ; es++)
713 fQA[det*fNdet+es] = 0 ;
716 //_______________________________________________________________
717 void AliQAv1::Set(QABIT_t bit, Int_t ies)
719 // Set the status bit of the current detector in the current module and for the current event specie
720 Set(bit, AliRecoParam::Convert(ies)) ;
723 //_______________________________________________________________
724 void AliQAv1::Set(QABIT_t bit, AliRecoParam::EventSpecie_t es)
726 // Set the status bit of the current detector in the current module and for the current event specie
728 SetStatusBit(fDet, fTask, es, bit) ;
731 //_____________________________________________________________________________
732 void AliQAv1::SetQARefStorage(const char * name)
734 // Set the root directory where the QA reference data are stored
736 fgQARefDirName = name ;
737 if ( fgQARefDirName.Contains(fgkLabLocalFile) )
738 fgQARefFileName = fgkRefFileName ;
739 else if ( fgQARefDirName.Contains(fgkLabLocalOCDB) )
740 fgQARefFileName = fgkQAName ;
741 else if ( fgQARefDirName.Contains(fgkLabAliEnOCDB) )
742 fgQARefFileName = fgkQAName ;
745 AliErrorClass(Form("ERROR: %s is an invalid storage definition\n", name)) ;
746 fgQARefDirName = "" ;
747 fgQARefFileName = "" ;
749 TString tmp(fgQARefDirName) ; // + fgQARefFileName) ;
750 AliInfoClass(Form("AliQAv1::SetQARefDir: QA references are in %s\n", tmp.Data() )) ;
753 //_____________________________________________________________________________
754 void AliQAv1::SetQAResultDirName(const char * name)
756 // Set the root directory where to store the QA status object
758 fgQAResultDirName.Prepend(name) ;
759 AliInfoClass(Form("AliQAv1::SetQAResultDirName: QA results are in %s\n", fgQAResultDirName.Data())) ;
760 if ( fgQAResultDirName.Contains(fgkLabLocalFile))
761 fgQAResultDirName.ReplaceAll(fgkLabLocalFile, "") ;
762 fgQAResultFileName.Prepend(fgQAResultDirName) ;
765 //_______________________________________________________________
766 void AliQAv1::SetStatusBit(DETECTORINDEX_t det, ALITASK_t tsk, AliRecoParam::EventSpecie_t es, QABIT_t bit)
768 // Set the status bit for a given detector and a given task
775 ULong_t offset = Offset(tsk) ;
776 ULong_t status = GetStatus(det, es) ;
778 status = status | 1 << offset ;
779 SetStatus(det, es, status) ;
782 //_______________________________________________________________
783 void AliQAv1::Show(DETECTORINDEX_t det) const
785 // dispplay the QA status word
786 if ( det == kNULLDET)
788 for (Int_t ies = 0 ; ies < fNEventSpecies ; ies++) {
789 if ( IsEventSpecieSet(ies) )
790 ShowStatus(det, kNULLTASK, AliRecoParam::ConvertIndex(ies)) ;
794 //_______________________________________________________________
795 void AliQAv1::ShowAll() const
797 // dispplay the QA status word
799 for (index = 0 ; index < kNDET ; index++) {
800 for (Int_t tsk = kRAW ; tsk < kNTASK ; tsk++) {
801 for (Int_t ies = 0 ; ies < fNEventSpecies ; ies++) {
802 if ( IsEventSpecieSet(ies) )
803 ShowStatus(DETECTORINDEX_t(index), ALITASK_t(tsk), AliRecoParam::ConvertIndex(ies)) ;
809 //_______________________________________________________________
810 void AliQAv1::ShowStatus(DETECTORINDEX_t det, ALITASK_t tsk, AliRecoParam::EventSpecie_t es) const
812 // Prints the full QA status of a given detector
815 ULong_t status = GetStatus(det, es) ;
816 ULong_t tskStatus[kNTASK] ;
817 tskStatus[kRAW] = status & 0x0000f ;
818 tskStatus[kSIM] = status & 0x000f0 ;
819 tskStatus[kREC] = status & 0x00f00 ;
820 tskStatus[kESD] = status & 0x0f000 ;
821 tskStatus[kANA] = status & 0xf0000 ;
823 AliInfo(Form("====> QA Status for %8s %8s raw =0x%x, sim=0x%x, rec=0x%x, esd=0x%x, ana=0x%x", GetDetName(det).Data(), AliRecoParam::GetEventSpecieName(es),
824 tskStatus[kRAW], tskStatus[kSIM], tskStatus[kREC], tskStatus[kESD], tskStatus[kANA] )) ;
825 if (tsk == kNULLTASK) {
826 for (Int_t itsk = kRAW ; itsk < kNTASK ; itsk++) {
827 ShowASCIIStatus(es, det, ALITASK_t(itsk), tskStatus[itsk]) ;
830 ShowASCIIStatus(es, det, tsk, tskStatus[tsk]) ;
834 //_______________________________________________________________
835 void AliQAv1::ShowASCIIStatus(AliRecoParam::EventSpecie_t es, DETECTORINDEX_t det, ALITASK_t tsk, const ULong_t status) const
837 // print the QA status in human readable format
839 for (Int_t bit = kINFO ; bit < kNBIT ; bit++) {
840 if (IsSet(det, tsk, es, QABIT_t(bit))) {
841 text = GetBitName(QABIT_t(bit)) ;
846 AliInfoClass(Form(" %8s %8s %4s 0x%4lx, Problem signalled: %8s \n", AliRecoParam::GetEventSpecieName(es), GetDetName(det).Data(), GetAliTaskName(tsk), status, text.Data())) ;
849 //_______________________________________________________________
850 void AliQAv1::UnSet(QABIT_t bit, Int_t ies)
852 // UnSet the status bit of the current detector in the current module
853 UnSet(bit, AliRecoParam::Convert(ies)) ;
856 //_______________________________________________________________
857 void AliQAv1::UnSet(QABIT_t bit, AliRecoParam::EventSpecie_t es)
859 // UnSet the status bit of the current detector in the current module
861 UnSetStatusBit(fDet, fTask, es, bit) ;
864 //_______________________________________________________________
865 void AliQAv1::UnSetStatusBit(DETECTORINDEX_t det, ALITASK_t tsk, AliRecoParam::EventSpecie_t es, QABIT_t bit)
867 // UnSet the status bit for a given detector and a given task
874 ULong_t offset = Offset(tsk) ;
875 ULong_t status = GetStatus(det, es) ;
877 status = status & 0 << offset ;
878 SetStatus(det, es, status) ;