TString AliQA::fgQAResultDirName = "" ;
TString AliQA::fgQAResultFileName = "QA.root" ;
TString AliQA::fgDetNames[] = {"ITS", "TPC", "TRD", "TOF", "PHOS", "HMPID", "EMCAL", "MUON", "FMD",
- "ZDC", "PMD", "T0", "VZERO", "ACORDE", "HLT"} ;
+ "ZDC", "PMD", "T0", "VZERO", "ACORDE", "HLT", "Global"} ;
TString AliQA::fgTaskNames[] = {"Raws", "Hits", "SDigits", "Digits", "RecPoints", "TrackSegments", "RecParticles", "ESDs"} ;
const TString AliQA::fkgLabLocalFile = "file://" ;
const TString AliQA::fkgLabLocalOCDB = "local://" ;
fDet(kNULLDET),
fTask(tsk)
{
- AliInfo(Form("TTTTTTTTTTTTTTTTTTTTTTT %d", tsk)) ;
// constructor to be used in the AliRoot module (SIM, REC, ESD or ANA)
if (! CheckRange(tsk) ) {
fTask = kNULLTASK ;
}
//_______________________________________________________________
-const char * AliQA::GetDetName(Int_t det)
-{
- // returns the detector name corresponding to a given index (needed in a loop)
-
- if ( det >= 0 && det < kNDET)
- return (fgDetNames[det]).Data() ;
- else
- return NULL ;
-}
-
-//_______________________________________________________________
-const AliQA::DETECTORINDEX_t AliQA::GetDetName(const char * name)
+const AliQA::DETECTORINDEX_t AliQA::GetDetIndex(const char * name)
{
// returns the detector index corresponding to a given name
TString sname(name) ;
return rv ;
}
+//_______________________________________________________________
+const char * AliQA::GetDetName(Int_t det)
+{
+ // returns the detector name corresponding to a given index (needed in a loop)
+
+ if ( det >= 0 && det < kNDET)
+ return (fgDetNames[det]).Data() ;
+ else
+ return NULL ;
+}
+
//_______________________________________________________________
TFile * AliQA::GetQADataFile(const char * name, const Int_t run, const Int_t cycle)
{
offset+= bit ;
status = status & 0 << offset ;
SetStatus(det, status) ;
-}
\ No newline at end of file
+}