X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;f=STEER%2FAliQADataMakerRec.h;h=caf1c8504b53b60ce908b2c5a25803928d0d02a8;hb=5379c4a36d42baeb9f7a3f573a57bb4957b3628d;hp=e4a5659384a26f497b4aee33b25f1b6b03d25921;hpb=57acd2d2f484e474d764cf49c17bf8a0af5bdd5e;p=u%2Fmrichter%2FAliRoot.git diff --git a/STEER/AliQADataMakerRec.h b/STEER/AliQADataMakerRec.h index e4a5659384a..caf1c8504b5 100644 --- a/STEER/AliQADataMakerRec.h +++ b/STEER/AliQADataMakerRec.h @@ -18,8 +18,9 @@ class TNtupleD ; // --- Standard library --- // --- AliRoot header files --- +class AliDetectorRecoParam ; #include "AliQADataMaker.h" -#include "AliQA.h" +#include "AliQAv1.h" class AliQADataMakerRec: public AliQADataMaker { @@ -30,26 +31,28 @@ public: AliQADataMakerRec& operator = (const AliQADataMakerRec& qadm) ; virtual ~AliQADataMakerRec() ; // dtor - virtual Int_t Add2DigitsList(TH1 * /*hist*/, const Int_t /*index*/, const Bool_t /*expert = kFALSE*/) { return -1 ; } - virtual Int_t Add2ESDsList(TH1 * hist, const Int_t index, const Bool_t expert = kFALSE) { return Add2List(hist, index, fESDsQAList, expert) ; } - virtual Int_t Add2HitsList(TH1 * /*hist*/, const Int_t /*index*/, const Bool_t /*expert = kFALSE*/) { return -1 ; } - virtual Int_t Add2RecPointsList(TH1 * hist, const Int_t index, const Bool_t expert = kFALSE) { return Add2List(hist, index, fRecPointsQAList, expert) ; } - virtual Int_t Add2RawsList(TH1 * hist, const Int_t index, const Bool_t expert = kFALSE, const Bool_t saveForCorr = kFALSE) { return Add2List(hist, index, fRawsQAList, expert, saveForCorr) ; } - virtual Int_t Add2SDigitsList(TH1 * /*hist*/, const Int_t /*index*/, const Bool_t /*expert = kFALSE*/) { return -1 ; } - virtual void Exec(AliQA::TASKINDEX_t task, TObject * data) ; + virtual Int_t Add2DigitsList(TH1 * /*hist*/, const Int_t /*index*/, const Bool_t /*expert = kFALSE*/, const Bool_t /*image = kFALSE*/) { return -1 ; } + virtual Int_t Add2ESDsList(TH1 * hist, const Int_t index, const Bool_t expert = kFALSE, const Bool_t image = kFALSE) { return Add2List(hist, index, fESDsQAList, expert, image) ; } + virtual Int_t Add2HitsList(TH1 * /*hist*/, const Int_t /*index*/, const Bool_t /*expert = kFALSE*/, const Bool_t /*image = kFALSE*/) { return -1 ; } + virtual Int_t Add2RecPointsList(TH1 * hist, const Int_t index, const Bool_t expert = kFALSE, const Bool_t image = kFALSE) { return Add2List(hist, index, fRecPointsQAList, expert, image) ; } + virtual Int_t Add2RawsList(TH1 * hist, const Int_t index, const Bool_t expert = kFALSE, const Bool_t image = kFALSE, const Bool_t saveForCorr = kFALSE) { + return Add2List(hist, index, fRawsQAList, expert, image, saveForCorr) ; } + virtual Int_t Add2SDigitsList(TH1 * /*hist*/, const Int_t /*index*/, const Bool_t /*expert = kFALSE*/, const Bool_t /*image = kFALSE*/) { return -1 ; } + virtual void Exec(AliQAv1::TASKINDEX_t task, TObject * data) ; virtual void EndOfCycle() ; - virtual void EndOfCycle(AliQA::TASKINDEX_t task) ; - virtual void EndOfDetectorCycle(AliQA::TASKINDEX_t, TObjArray ** ) {AliInfo("To be implemented by detectors");} + virtual void EndOfCycle(AliQAv1::TASKINDEX_t task) ; + virtual void EndOfDetectorCycle(AliQAv1::TASKINDEX_t, TObjArray ** ) {AliInfo("To be implemented by detectors");} virtual TH1 * GetDigitsData(const Int_t /*index*/) { return NULL ; } virtual TH1 * GetESDsData(const Int_t index) { return dynamic_cast(GetData(fESDsQAList, index)) ; } virtual TH1 * GetHitsData(const Int_t /*index*/) { return NULL ; } virtual TH1 * GetRecPointsData(const Int_t index) { return dynamic_cast(GetData(fRecPointsQAList, index)) ; } virtual TH1 * GetRawsData(const Int_t index) { return dynamic_cast(GetData(fRawsQAList, index)) ; } virtual TH1 * GetSDigitsData(const Int_t /*index*/) { return NULL ; } - virtual TObjArray** Init(AliQA::TASKINDEX_t task, Int_t cycles = -1) ; - virtual void Init(AliQA::TASKINDEX_t task, TObjArray ** list, Int_t run, Int_t cycles = -1) ; + virtual void MakeImage(AliQAv1::TASKINDEX_t task) ; + virtual TObjArray** Init(AliQAv1::TASKINDEX_t task, Int_t cycles = -1) ; + virtual void Init(AliQAv1::TASKINDEX_t task, TObjArray ** list, Int_t run, Int_t cycles = -1) ; virtual void StartOfCycle(Int_t run = -1) ; - virtual void StartOfCycle(AliQA::TASKINDEX_t task, Int_t run, const Bool_t sameCycle = kFALSE) ; + virtual void StartOfCycle(AliQAv1::TASKINDEX_t task, Int_t run, const Bool_t sameCycle = kFALSE) ; virtual void SetRecoParam(const AliDetectorRecoParam *param) { fRecoParam = param; } @@ -57,6 +60,7 @@ protected: virtual void InitDigits() {AliWarning("Call not valid") ; } virtual void InitESDs() {AliInfo("To be implemented by detectors");} + virtual void InitRecoParams() ; virtual void InitHits() {AliWarning("Call not valid") ; } //virtual void InitRecParticles() {AliInfo("To be implemented by detectors");} virtual void InitRecPoints() {AliInfo("To be implemented by detectors");}