-#ifndef AliQADataMakerSimSIM_H
-#define AliQADataMakerSimSIM_H
+#ifndef AliQADataMakerSim_H
+#define AliQADataMakerSim_H
/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
* See cxx source for full Copyright notice */
/* $Id$ */
-/*
- Base Class:
- Produces the data needed to calculate the quality assurance.
- All data must be mergeable objects.
- Y. Schutz CERN July 2007
- x
- x
-*/
+// Base Class:
+// Produces the data needed to calculate the quality assurance.
+// All data must be mergeable objects.
+// Y. Schutz CERN July 2007
// --- ROOT system ---
AliQADataMakerSim(const char * name="", const char * title="") ; // ctor
AliQADataMakerSim(const AliQADataMakerSim& qadm) ;
AliQADataMakerSim& operator = (const AliQADataMakerSim& qadm) ;
- virtual ~AliQADataMakerSim() {;} // dtor
+ virtual ~AliQADataMakerSim() ; // dtor
- virtual const Int_t Add2DigitsList(TH1 * hist, const Int_t index) { return Add2List(hist, index, fDigitsQAList) ; }
- virtual const Int_t Add2ESDsList(TH1 * /*hist*/, const Int_t /*index*/) { return -1 ; }
- virtual const Int_t Add2HitsList(TH1 * hist, const Int_t index) { return Add2List(hist, index, fHitsQAList) ; }
- virtual const Int_t Add2RecPointsList(TH1 * /*hist*/, const Int_t /*index*/) { return -1 ; }
- virtual const Int_t Add2RawsList(TH1 * /*hist*/, const Int_t /*index*/) { return -1 ; }
- virtual const Int_t Add2SDigitsList(TH1 * hist, const Int_t index) { return Add2List(hist, index, fSDigitsQAList) ; }
- virtual void Exec(AliQA::TASKINDEX task, TObject * data) ;
- virtual void EndOfCycle(AliQA::TASKINDEX task) ;
+ virtual Int_t Add2DigitsList(TH1 * hist, const Int_t index) { return Add2List(hist, index, fDigitsQAList) ; }
+ virtual Int_t Add2ESDsList(TH1 * /*hist*/, const Int_t /*index*/) { return -1 ; }
+ virtual Int_t Add2HitsList(TH1 * hist, const Int_t index) { return Add2List(hist, index, fHitsQAList) ; }
+ virtual Int_t Add2RecPointsList(TH1 * /*hist*/, const Int_t /*index*/) { return -1 ; }
+ virtual Int_t Add2RawsList(TH1 * /*hist*/, const Int_t /*index*/) { return -1 ; }
+ virtual Int_t Add2SDigitsList(TH1 * hist, const Int_t index) { return Add2List(hist, index, fSDigitsQAList) ; }
+ virtual void Exec(AliQA::TASKINDEX_t task, TObject * data) ;
+ virtual void EndOfCycle(AliQA::TASKINDEX_t task) ;
virtual TH1 * GetDigitsData(const Int_t index) { return dynamic_cast<TH1 *>(GetData(fDigitsQAList, index)) ; }
virtual TH1 * GetESDsData(const Int_t /*index*/) { return NULL ; }
virtual TH1 * GetHitsData(const Int_t index) { return dynamic_cast<TH1 *>(GetData(fHitsQAList, index)) ; }
virtual TH1 * GetRecPointsData(const Int_t /*index*/) { return NULL ; }
virtual TH1 * GetRawsData(const Int_t /*index*/) { return NULL ; }
virtual TH1 * GetSDigitsData(const Int_t index) { return dynamic_cast<TH1 *>(GetData(fSDigitsQAList, index)) ; }
- virtual TObjArray * Init(AliQA::TASKINDEX task, Int_t run, Int_t cycles = -1) ;
- virtual void Init(AliQA::TASKINDEX task, TObjArray * list, Int_t run, Int_t cycles = -1) ;
- virtual void StartOfCycle(AliQA::TASKINDEX task, const Bool_t sameCycle = kFALSE) ;
+ virtual TObjArray * Init(AliQA::TASKINDEX_t task, Int_t run, Int_t cycles = -1) ;
+ virtual void Init(AliQA::TASKINDEX_t task, TObjArray * list, Int_t run, Int_t cycles = -1) ;
+ virtual void StartOfCycle(AliQA::TASKINDEX_t task, const Bool_t sameCycle = kFALSE) ;
protected:
- virtual void EndOfDetectorCycle(AliQA::TASKINDEX, TObjArray * ) {AliInfo("To be implemented by detectors");}
+ virtual void EndOfDetectorCycle(AliQA::TASKINDEX_t, TObjArray * ) {AliInfo("To be implemented by detectors");}
virtual void InitDigits() {AliInfo("To be implemented by detectors");}
virtual void InitESDs() {AliFatal("Call not valid") ; }
virtual void InitHits() {AliInfo("To be implemented by detectors");}