-#ifndef ALIQAv1_H
-#define ALIQAv1_H
+#ifndef ALIQAV1_H
+#define ALIQAV1_H
/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
* See cxx source for full Copyright notice */
Bool_t CheckFatal() const ;
static void Close() ;
static const char * GetAliTaskName(ALITASK_t tsk) ;
- static TH1 * GetData(TObjArray** list, Int_t index, AliRecoParam::EventSpecie_t) ;
+ static TH1 * GetData(TObjArray** list, Int_t index, AliRecoParam::EventSpecie_t eventSpecie) ;
Bool_t * GetEventSpecies() { return fEventSpecies ; }
static const TString GetExpert() { return fgkExpert ; }
static UInt_t GetExpertBit() { return fgkExpertBit ; }
static UInt_t GetImageBit() { return fgkImageBit ; }
- static const char * GetImageFileName() { return fImageFileName.Data() ; }
+ static const char * GetImageFileName() { return fgkImageFileName.Data() ; }
static const char * GetImageFileFormat() { return fImageFileFormat.Data() ; }
static const TString GetLabLocalFile() { return fgkLabLocalFile ; }
static const TString GetLabLocalOCDB() { return fgkLabLocalOCDB ; }
ULong_t * GetQA() { return fQA ; }
static UInt_t GetQABit() { return fgkQABit ; }
static TFile * GetQADataFile(const char * name, Int_t run) ;
- static TFile * GetQADataFile(const char * fileName) ;
+ static TFile * GetQADataFile(const char * fileName) ;
static const char * GetQADataFileName(const char * name, Int_t run)
{return Form("%s.%s.%d.root", name, fgQADataFileName.Data(), run) ; }
static const char * GetQADataFileName() { return fgQADataFileName.Data() ; }
QABIT_t GetQAStatusBit(AliRecoParam::EventSpecie_t es = AliRecoParam::kDefault, DETECTORINDEX_t det=kNULLDET, ALITASK_t tsk=kNULLTASK) const ;
static const char * GetRefOCDBDirName() { return fgkRefOCDBDirName.Data() ; }
static const char * GetRefDataDirName() { return fgRefDataDirName.Data() ; }
-
+ //
+ static UInt_t GetClonedBit() { return fgkQAClonedBit; }
+ static UInt_t GetForbidCloningBit() { return fgkForbidCloningBit; }
+ static UInt_t GetOrigHistoKeptBit() { return fgkOrigHistoKeptBit; }
+ //
static TASKINDEX_t GetTaskIndex(const char * name) ;
static TString GetTaskName(UInt_t tsk) { return fgTaskNames[tsk] ; }
- static const char * GetModeName(MODE_t mode) { return (mode == kSIMMODE || mode == kRECMODE) ? (fgModeNames[mode]).Data() : "" ; }
+ static const char * GetModeName(MODE_t mode) { return (mode == kSIMMODE || mode == kRECMODE || mode == kQAMODE) ? (fgModeNames[mode]).Data() : "" ; }
Bool_t IsEventSpecieSet(AliRecoParam::EventSpecie_t es) const
{Int_t ibit=0; while(es!=1<<ibit) ++ibit; return fEventSpecies[ibit];}
Bool_t IsEventSpecieSet(Int_t es) const { return fEventSpecies[es] ; }
Bool_t IsSet(DETECTORINDEX_t det, ALITASK_t tsk, Int_t es, QABIT_t bit) const ;
Bool_t IsSetAny(DETECTORINDEX_t det, ALITASK_t tsk, AliRecoParam::EventSpecie_t es) const ;
Bool_t IsSetAny(DETECTORINDEX_t det, AliRecoParam::EventSpecie_t es) const ;
- void Merge(TCollection * list) ;
+ Long64_t Merge(const TCollection * list) ;
static MODE_t Mode(TASKINDEX_t task) ;
void Set(QABIT_t bit, AliRecoParam::EventSpecie_t es) ;
void Set(QABIT_t bit, Int_t es) ;
static TString fgRefDataDirName ; //! name of Reference directory name in OCDB for data
static const TString fgkQARefOCDBDefault ; //! default storage for QA in OCDB
Bool_t * fEventSpecies ; //[fNEventSpecies] list of event species encountered in a run
- static const TString fImageFileName ; //! name of the file that contains all the QA images
+ static const TString fgkImageFileName ; //! name of the file that contains all the QA images
static const TString fImageFileFormat ; //! format of the file that contains all the QA images
static const UShort_t fgkMaxQAObjects ;//! maximum number of QA objects allowed dor each task (Raws, digits,....)
-
+ //
+ static const UInt_t fgkQAClonedBit ;//! flag that the histrogram was cloned per trigger class
+ static const UInt_t fgkForbidCloningBit ;//! flag that the histogram is forbiden to clone per trigger class
+ static const UInt_t fgkOrigHistoKeptBit ;//! flag that the histogram was clonned but original is kept
ClassDef(AliQAv1,3) //ALICE Quality Assurance Object
};
#endif