Quality Assurance Object//_________________________________________________________________________ Quality Assurance object. The QA status is held in one word per detector, each bit corresponds to a different status. bit 0-3 : QA raised during simulation (RAW) bit 4-7 : QA raised during simulation (SIM) bit 8-11 : QA raised during reconstruction (REC) bit 12-15 : QA raised during ESD checking (ESD) bit 16-19 : QA raised during analysis (ANA) Each of the 4 bits corresponds to a severity level of increasing importance from lower to higher bit (INFO, WARNING, ERROR, FATAL) *-- Yves Schutz CERN, July 2007
AliQAv1() | |
AliQAv1(const AliQAv1::ALITASK_t tsk) | |
AliQAv1(const AliQAv1::DETECTORINDEX_t det) | |
AliQAv1(const AliQAv1& qa) | |
AliQAv1(const Int_t qalength, ULong_t* qa, const Int_t eslength, Bool_t* es) | |
virtual | ~AliQAv1() |
void | TObject::AbstractMethod(const char* method) const |
virtual void | TObject::AppendPad(Option_t* option = "") |
virtual void | TObject::Browse(TBrowser* b) |
Bool_t | CheckFatal() const |
static TClass* | Class() |
virtual const char* | TObject::ClassName() const |
virtual void | TNamed::Clear(Option_t* option = "") |
virtual TObject* | TNamed::Clone(const char* newname = "") const |
static void | Close() |
virtual Int_t | TNamed::Compare(const TObject* obj) const |
virtual void | TNamed::Copy(TObject& named) const |
virtual void | TObject::Delete(Option_t* option = "")MENU |
virtual Int_t | TObject::DistancetoPrimitive(Int_t px, Int_t py) |
virtual void | TObject::Draw(Option_t* option = "") |
virtual void | TObject::DrawClass() constMENU |
virtual TObject* | TObject::DrawClone(Option_t* option = "") constMENU |
virtual void | TObject::Dump() constMENU |
virtual void | TObject::Error(const char* method, const char* msgfmt) const |
virtual void | TObject::Execute(const char* method, const char* params, Int_t* error = 0) |
virtual void | TObject::Execute(TMethod* method, TObjArray* params, Int_t* error = 0) |
virtual void | TObject::ExecuteEvent(Int_t event, Int_t px, Int_t py) |
virtual void | TObject::Fatal(const char* method, const char* msgfmt) const |
virtual void | TNamed::FillBuffer(char*& buffer) |
virtual TObject* | TObject::FindObject(const char* name) const |
virtual TObject* | TObject::FindObject(const TObject* obj) const |
static const char* | GetAliTaskName(AliQAv1::ALITASK_t tsk) |
static UInt_t | GetClonedBit() |
static TH1* | GetData(TObjArray** list, Int_t index, AliRecoParam::EventSpecie_t eventSpecie) |
static AliQAv1::DETECTORINDEX_t | GetDetIndex(const char* name) |
static const TString | GetDetName(AliQAv1::DETECTORINDEX_t det) |
static const char* | GetDetName(Int_t det) |
virtual Option_t* | TObject::GetDrawOption() const |
static Long_t | TObject::GetDtorOnly() |
Bool_t* | GetEventSpecies() |
static const TString | GetExpert() |
static UInt_t | GetExpertBit() |
static UInt_t | GetForbidCloningBit() |
static const TString | GetGRPPath() |
virtual const char* | TObject::GetIconName() const |
static UInt_t | GetImageBit() |
static const char* | GetImageFileFormat() |
static const char* | GetImageFileName() |
static const TString | GetLabAliEnOCDB() |
static const TString | GetLabLocalFile() |
static const TString | GetLabLocalOCDB() |
static UShort_t | GetMaxQAObj() |
static const char* | GetModeName(AliQAv1::MODE_t mode) |
virtual const char* | TNamed::GetName() const |
virtual char* | TObject::GetObjectInfo(Int_t px, Int_t py) const |
static Bool_t | TObject::GetObjectStat() |
virtual Option_t* | TObject::GetOption() const |
static UInt_t | GetOrigHistoKeptBit() |
ULong_t* | GetQA() |
static UInt_t | GetQABit() |
static const char* | GetQACorrName() |
static TFile* | GetQADataFile(const char* fileName) |
static TFile* | GetQADataFile(const char* name, Int_t run) |
static const char* | GetQADataFileName() |
static const char* | GetQADataFileName(const char* name, Int_t run) |
static Int_t | GetQADebugLevel() |
static const char* | GetQAName() |
static const char* | GetQARefDefaultStorage() |
static const char* | GetQARefFileName() |
static const char* | GetQARefStorage() |
static TFile* | GetQAResultFile() |
static const char* | GetQAResultFileName() |
AliQAv1::QABIT_t | GetQAStatusBit(AliRecoParam::EventSpecie_t es = AliRecoParam::kDefault, AliQAv1::DETECTORINDEX_t det = kNULLDET, AliQAv1::ALITASK_t tsk = kNULLTASK) const |
static const char* | GetRefDataDirName() |
static const char* | GetRefOCDBDirName() |
static AliQAv1::TASKINDEX_t | GetTaskIndex(const char* name) |
static TString | GetTaskName(UInt_t tsk) |
virtual const char* | TNamed::GetTitle() const |
virtual UInt_t | TObject::GetUniqueID() const |
virtual Bool_t | TObject::HandleTimer(TTimer* timer) |
virtual ULong_t | TNamed::Hash() const |
virtual void | TObject::Info(const char* method, const char* msgfmt) const |
virtual Bool_t | TObject::InheritsFrom(const char* classname) const |
virtual Bool_t | TObject::InheritsFrom(const TClass* cl) const |
virtual void | TObject::Inspect() constMENU |
static AliQAv1* | Instance() |
static AliQAv1* | Instance(const AliQAv1::DETECTORINDEX_t det) |
static AliQAv1* | Instance(const AliQAv1::ALITASK_t tsk) |
static AliQAv1* | Instance(const AliQAv1::TASKINDEX_t tsk) |
static AliQAv1* | Instance(const Int_t qalength, ULong_t* qa, const Int_t eslength, Bool_t* es) |
void | TObject::InvertBit(UInt_t f) |
virtual TClass* | IsA() const |
virtual Bool_t | TObject::IsEqual(const TObject* obj) const |
Bool_t | IsEventSpecieSet(AliRecoParam::EventSpecie_t es) const |
Bool_t | IsEventSpecieSet(Int_t es) const |
virtual Bool_t | TObject::IsFolder() const |
Bool_t | TObject::IsOnHeap() const |
Bool_t | IsSet(AliQAv1::DETECTORINDEX_t det, AliQAv1::ALITASK_t tsk, AliRecoParam::EventSpecie_t es, AliQAv1::QABIT_t bit) const |
Bool_t | IsSet(AliQAv1::DETECTORINDEX_t det, AliQAv1::ALITASK_t tsk, Int_t es, AliQAv1::QABIT_t bit) const |
Bool_t | IsSetAny(AliQAv1::DETECTORINDEX_t det, AliRecoParam::EventSpecie_t es) const |
Bool_t | IsSetAny(AliQAv1::DETECTORINDEX_t det, AliQAv1::ALITASK_t tsk, AliRecoParam::EventSpecie_t es) const |
virtual Bool_t | TNamed::IsSortable() const |
Bool_t | TObject::IsZombie() const |
virtual void | TNamed::ls(Option_t* option = "") const |
void | TObject::MayNotUse(const char* method) const |
Long64_t | Merge(const TCollection* list) |
static AliQAv1::MODE_t | Mode(AliQAv1::TASKINDEX_t task) |
virtual Bool_t | TObject::Notify() |
void | TObject::Obsolete(const char* method, const char* asOfVers, const char* removedFromVers) const |
static void | TObject::operator delete(void* ptr) |
static void | TObject::operator delete(void* ptr, void* vp) |
static void | TObject::operator delete[](void* ptr) |
static void | TObject::operator delete[](void* ptr, void* vp) |
void* | TObject::operator new(size_t sz) |
void* | TObject::operator new(size_t sz, void* vp) |
void* | TObject::operator new[](size_t sz) |
void* | TObject::operator new[](size_t sz, void* vp) |
AliQAv1& | operator=(const AliQAv1& qa) |
virtual void | TObject::Paint(Option_t* option = "") |
virtual void | TObject::Pop() |
virtual void | TNamed::Print(Option_t* option = "") const |
virtual Int_t | TObject::Read(const char* name) |
virtual void | TObject::RecursiveRemove(TObject* obj) |
void | TObject::ResetBit(UInt_t f) |
virtual void | TObject::SaveAs(const char* filename = "", Option_t* option = "") constMENU |
virtual void | TObject::SavePrimitive(basic_ostream<char,char_traits<char> >& out, Option_t* option = "") |
void | Set(AliQAv1::QABIT_t bit, AliRecoParam::EventSpecie_t es) |
void | Set(AliQAv1::QABIT_t bit, Int_t es) |
void | TObject::SetBit(UInt_t f) |
void | TObject::SetBit(UInt_t f, Bool_t set) |
virtual void | TObject::SetDrawOption(Option_t* option = "")MENU |
static void | TObject::SetDtorOnly(void* obj) |
void | SetEventSpecie(AliRecoParam::EventSpecie_t es) |
virtual void | TNamed::SetName(const char* name)MENU |
virtual void | TNamed::SetNameTitle(const char* name, const char* title) |
static void | TObject::SetObjectStat(Bool_t stat) |
static void | SetQADebug() |
static void | SetQARefDataDirName(AliRecoParam::EventSpecie_t es) |
static void | SetQARefDataDirName(Int_t es) |
static void | SetQARefStorage(const char* name) |
static void | SetQAResultDirName(const char* name) |
virtual void | TNamed::SetTitle(const char* title = "")MENU |
virtual void | TObject::SetUniqueID(UInt_t uid) |
void | Show(AliQAv1::DETECTORINDEX_t det = kNULLDET) const |
void | ShowAll() const |
virtual void | ShowMembers(TMemberInspector&) |
void | ShowStatus(AliQAv1::DETECTORINDEX_t det, AliQAv1::ALITASK_t tsk = kNULLTASK, AliRecoParam::EventSpecie_t es = AliRecoParam::kDefault) const |
virtual Int_t | TNamed::Sizeof() const |
virtual void | Streamer(TBuffer&) |
void | StreamerNVirtual(TBuffer& ClassDef_StreamerNVirtual_b) |
virtual void | TObject::SysError(const char* method, const char* msgfmt) const |
Bool_t | TObject::TestBit(UInt_t f) const |
Int_t | TObject::TestBits(UInt_t f) const |
void | UnSet(AliQAv1::QABIT_t bit, AliRecoParam::EventSpecie_t es) |
void | UnSet(AliQAv1::QABIT_t bit, Int_t es) |
void | UnSetEventSpecie(AliRecoParam::EventSpecie_t es) |
virtual void | TObject::UseCurrentStyle() |
virtual void | TObject::Warning(const char* method, const char* msgfmt) const |
virtual Int_t | TObject::Write(const char* name = 0, Int_t option = 0, Int_t bufsize = 0) |
virtual Int_t | TObject::Write(const char* name = 0, Int_t option = 0, Int_t bufsize = 0) const |
virtual void | TObject::DoError(int level, const char* location, const char* fmt, va_list va) const |
void | TObject::MakeZombie() |
Bool_t | CheckRange(AliQAv1::DETECTORINDEX_t det) const |
Bool_t | CheckRange(AliQAv1::ALITASK_t tsk) const |
Bool_t | CheckRange(AliQAv1::QABIT_t bit) const |
Bool_t | CheckRange(AliRecoParam::EventSpecie_t es) const |
void | Finish() const |
const char* | GetBitName(AliQAv1::QABIT_t bit) const |
ULong_t | GetStatus(AliQAv1::DETECTORINDEX_t det, AliRecoParam::EventSpecie_t es) const |
ULong_t | Offset(AliQAv1::ALITASK_t tsk) const |
void | Reset(AliQAv1::DETECTORINDEX_t det, AliQAv1::ALITASK_t tsk, AliRecoParam::EventSpecie_t es) |
void | ResetStatus(AliQAv1::DETECTORINDEX_t det) |
void | Set(AliQAv1::DETECTORINDEX_t det) |
void | Set(AliQAv1::ALITASK_t tsk) |
void | SetStatus(AliQAv1::DETECTORINDEX_t det, AliRecoParam::EventSpecie_t es, ULong_t status) |
void | SetStatusBit(AliQAv1::DETECTORINDEX_t det, AliQAv1::ALITASK_t tsk, AliRecoParam::EventSpecie_t es, AliQAv1::QABIT_t bit) |
void | ShowASCIIStatus(AliRecoParam::EventSpecie_t es, AliQAv1::DETECTORINDEX_t det, AliQAv1::ALITASK_t tsk, ULong_t status) const |
void | UnSetStatusBit(AliQAv1::DETECTORINDEX_t det, AliQAv1::ALITASK_t tsk, AliRecoParam::EventSpecie_t es, AliQAv1::QABIT_t bit) |
enum DETECTORINDEX_t { | kNULLDET | |
kITS | ||
kTPC | ||
kTRD | ||
kTOF | ||
kPHOS | ||
kHMPID | ||
kEMCAL | ||
kMUON | ||
kFMD | ||
kZDC | ||
kPMD | ||
kT0 | ||
kVZERO | ||
kACORDE | ||
kAD | ||
kFIT | ||
kMFT | ||
kHLT | ||
kGLOBAL | ||
kCORR | ||
kNDET | ||
}; | ||
enum ALITASK_t { | kNULLTASK | |
kRAW | ||
kSIM | ||
kREC | ||
kESD | ||
kANA | ||
kNTASK | ||
}; | ||
enum QABIT_t { | kNULLBit | |
kINFO | ||
kWARNING | ||
kERROR | ||
kFATAL | ||
kNBIT | ||
}; | ||
enum TASKINDEX_t { | kNULLTASKINDEX | |
kRAWS | ||
kHITS | ||
kSDIGITS | ||
kDIGITS | ||
kDIGITSR | ||
kRECPOINTS | ||
kTRACKSEGMENTS | ||
kRECPARTICLES | ||
kESDS | ||
kNTASKINDEX | ||
}; | ||
enum MODE_t { | kNULLMODE | |
kSIMMODE | ||
kRECMODE | ||
kQAMODE | ||
}; | ||
enum TObject::EStatusBits { | kCanDelete | |
kMustCleanup | ||
kObjInCanvas | ||
kIsReferenced | ||
kHasUUID | ||
kCannotPick | ||
kNoContextMenu | ||
kInvalidObject | ||
}; | ||
enum TObject::[unnamed] { | kIsOnHeap | |
kNotDeleted | ||
kZombie | ||
kBitMask | ||
kSingleKey | ||
kOverwrite | ||
kWriteDelete | ||
}; |
TString | TNamed::fName | object identifier |
TString | TNamed::fTitle | object title |
AliQAv1::DETECTORINDEX_t | fDet | ! the current detector (ITS, TPC, ....) |
AliRecoParam::EventSpecie_t | fEventSpecie | ! the current event specie |
Bool_t* | fEventSpecies | [fNEventSpecies] list of event species encountered in a run |
static const TString | fImageFileFormat | ! format of the file that contains all the QA images |
Int_t | fLengthQA | Auxiliary length of fQA |
Int_t | fNEventSpecies | number of Event Species (see AliRecoParam) |
Int_t | fNdet | number of detectors |
ULong_t* | fQA | [fLengthQA] the status word 4 bits for SIM, REC, ESD, ANA each |
AliQAv1::ALITASK_t | fTask | ! the current environment (SIM, REC, ESD, ANA) |
static TString | fgDetNames[2147483647] | ! list of detector names |
static TString | fgGRPPath | ! path of the GRP object in OCDB |
static TString | fgModeNames[2147483647] | ! list of mode names |
static AliQAv1* | fgQA | pointer to the instance of the singleton |
static TFile* | fgQADataFile | ! the output file where the quality assurance maker store their results |
static TString | fgQADataFileName | ! the name of the file where the quality assurance maker store their results |
static TString | fgQARefDirName | ! name of directory where to find the reference data file |
static TFile* | fgQARefFile | ! the output file where the quality assurance maker store their results |
static TString | fgQARefFileName | ! file name where to find the reference data |
static TString | fgQAResultDirName | ! the location of the output file where the QA results are stored |
static TFile* | fgQAResultFile | ! File where to find the QA result |
static TString | fgQAResultFileName | ! the output file where the QA results are stored |
static TString | fgRTNames[2147483647] | ! list of Run Type names |
static TString | fgRefDataDirName | ! name of Reference directory name in OCDB for data |
static TString | fgTaskNames[2147483647] | ! list of tasks names |
static const TString | fgkExpert | ! name for the expert directory |
static const UInt_t | fgkExpertBit | ! TObject bit identifing the object as "expert" |
static const UInt_t | fgkForbidCloningBit | ! flag that the histogram is forbiden to clone per trigger class |
static const UInt_t | fgkImageBit | ! TObject bit identifing the object to be plotted on the QA image |
static const TString | fgkImageFileName | ! name of the file that contains all the QA images |
static const TString | fgkLabAliEnOCDB | ! label to identify a file as AliEn OCDB |
static const TString | fgkLabLocalFile | ! label to identify a file as local |
static const TString | fgkLabLocalOCDB | ! label to identify a file as local OCDB |
static const UShort_t | fgkMaxQAObjects | ! maximum number of QA objects allowed dor each task (Raws, digits,....) |
static const UInt_t | fgkOrigHistoKeptBit | ! flag that the histogram was clonned but original is kept |
static const UInt_t | fgkQABit | ! bit in the QA data object which is set when Checker does not return 0 |
static const UInt_t | fgkQAClonedBit | ! flag that the histrogram was cloned per trigger class |
static const TString | fgkQACorrNtName | ! name of QA Correlation Ntuple |
static const Int_t | fgkQADebugLevel | ! debug level used for QA verbosity |
static const TString | fgkQAName | ! name of QA object |
static const TString | fgkQARefOCDBDefault | ! default storage for QA in OCDB |
static const TString | fgkRefFileName | ! name of Reference File Name |
static const TString | fgkRefOCDBDirName | ! name of Reference directory name in OCDB |
Inheritance Chart: | ||||||||
|
returns the char name corresponding to module index
retrieve QA data from the list at a given index and for a given event specie
returns the detector name corresponding to a given index (needed in a loop)
opens the file to store the detectors Quality Assurance Data Maker results
Checks is the requested bit is set
Checks is the requested bit is set
Checks is the requested bit is set
Checks is the requested bit is set
Get an instance of the singleton. The only authorized way to call the ctor
Get an instance of the singleton. The only authorized way to call the ctor
Get an instance of the singleton. The only authorized way to call the ctor
Calculates the bit offset for a given module (SIM, REC, ESD, ANA)
resets all the bits for a given tsk and event specie
Set the status bit of the current detector in the current module and for the current event specie
Set the status bit of the current detector in the current module and for the current event specie
Set the root directory where the QA reference data are stored
Set the root directory where to store the QA status object
Set the status bit for a given detector and a given task
Prints the full QA status of a given detector
print the QA status in human readable format
UnSet the status bit of the current detector in the current module
UnSet the status bit of the current detector in the current module
UnSet the status bit for a given detector and a given task
{return Form("%s.%s.%d.root", name, fgQADataFileName.Data(), run) ; }
{ return (mode == kSIMMODE || mode == kRECMODE || mode == kQAMODE) ? (fgModeNames[mode]).Data() : "" ; }
{Int_t ibit=0; while(es!=1<<ibit) ++ibit; return fEventSpecies[ibit];}
{if(es==AliRecoParam::kDefault) return; Int_t ibit=0; while(es!=1<<ibit) ++ibit; fEventSpecies[ibit] = kTRUE ; }
{if(es==AliRecoParam::kDefault) return; Int_t ibit=0; while(es!=1<<ibit) ++ibit; fEventSpecies[ibit] = kFALSE ; }
{ fgRefDataDirName = AliRecoParam::GetEventSpecieName(es) ; }
{ return fQA[det*fNEventSpecies+AliRecoParam::AConvert(es)] ;}
{ fQA[det*fNEventSpecies+AliRecoParam::AConvert(es)] = status ; }