X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;f=STEER%2FAliQADataMakerSim.h;h=59036bb898e31609156212cf45749cf866659df4;hb=dd5ac86bb4a9188a3628c3a4f5b6271240233c8e;hp=3b7a0a20d433f991597b10b7de9dcc77071234c5;hpb=7d297381c12cca29a9615cd416f7b7291ab32450;p=u%2Fmrichter%2FAliRoot.git diff --git a/STEER/AliQADataMakerSim.h b/STEER/AliQADataMakerSim.h index 3b7a0a20d43..59036bb898e 100644 --- a/STEER/AliQADataMakerSim.h +++ b/STEER/AliQADataMakerSim.h @@ -28,13 +28,20 @@ public: AliQADataMakerSim& operator = (const AliQADataMakerSim& qadm) ; virtual ~AliQADataMakerSim() ; // dtor - virtual Int_t Add2DigitsList(TH1 * hist, const Int_t index, const Bool_t expert = kFALSE, const Bool_t image = kFALSE) { return Add2List(hist, index, fDigitsQAList, expert, image) ; } - virtual Int_t Add2ESDsList(TH1 * /*hist*/, const Int_t /*index*/, const Bool_t /*expert = kFALSE*/, const Bool_t /*image = kFALSE*/) { return -1 ; } - virtual Int_t Add2HitsList(TH1 * hist, const Int_t index, const Bool_t expert = kFALSE, const Bool_t image = kFALSE) { return Add2List(hist, index, fHitsQAList, expert, image) ; } - virtual Int_t Add2RecPointsList(TH1 * /*hist*/, const Int_t /*index*/, const Bool_t /*expert = kFALSE*/, const Bool_t /*image = kFALSE*/) { return -1 ; } - virtual Int_t Add2RawsList(TH1 * /*hist*/, const Int_t /*index*/, const Bool_t /*expert = kFALSE*/, const Bool_t /*saveForCorr = kFALSE*/, const Bool_t /*image = kFALSE*/) { return -1 ; } - virtual Int_t Add2SDigitsList(TH1 * hist, const Int_t index, const Bool_t expert = kFALSE, const Bool_t image = kFALSE) { return Add2List(hist, index, fSDigitsQAList, expert, image) ; } - virtual void Exec(AliQAv1::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 Add2List(hist, index, fDigitsQAList, expert, image) ; } + virtual Int_t Add2ESDsList(TH1 * /*hist*/, const Int_t /*index*/, const Bool_t /*expert = kFALSE*/, const Bool_t /*image = kFALSE*/) + { return -1 ; } + virtual Int_t Add2HitsList(TH1 * hist, const Int_t index, const Bool_t expert = kFALSE, const Bool_t image = kFALSE) + { return Add2List(hist, index, fHitsQAList, expert, image) ; } + virtual Int_t Add2RecPointsList(TH1 * /*hist*/, const Int_t /*index*/, const Bool_t /*expert = kFALSE*/, const Bool_t /*image = kFALSE*/) + { return -1 ; } + virtual Int_t Add2RawsList(TH1 * /*hist*/, const Int_t /*index*/, const Bool_t /*expert = kFALSE*/, const Bool_t /*saveForCorr = kFALSE*/, const Bool_t /*image = kFALSE*/) + { return -1 ; } + virtual Int_t Add2SDigitsList(TH1 * hist, const Int_t index, const Bool_t expert = kFALSE, const Bool_t image = kFALSE) + { return Add2List(hist, index, fSDigitsQAList, expert, image) ; } + + virtual void Exec(AliQAv1::TASKINDEX_t task, TObject * data) ; virtual void EndOfCycle() ; virtual void EndOfCycle(AliQAv1::TASKINDEX_t task) ; virtual void EndOfDetectorCycle(AliQAv1::TASKINDEX_t, TObjArray ** ) {AliInfo("To be implemented by detectors");} @@ -46,7 +53,8 @@ public: virtual TH1 * GetSDigitsData(const Int_t index) { return dynamic_cast(GetData(fSDigitsQAList, index)) ; } 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 MakeImage(AliQAv1::TASKINDEX_t task) ; + virtual void InitRaws() {AliWarning("Call not valid") ; } + virtual void InitRecPoints() {AliWarning("Call not valid") ; } virtual void StartOfCycle(Int_t run = -1) ; virtual void StartOfCycle(AliQAv1::TASKINDEX_t task, Int_t run, const Bool_t sameCycle = kFALSE) ; @@ -55,25 +63,26 @@ protected: virtual void InitDigits() {AliInfo("To be implemented by detectors");} virtual void InitESDs() {AliWarning("Call not valid") ; } virtual void InitHits() {AliInfo("To be implemented by detectors");} - virtual void InitRecPoints() {AliWarning("Call not valid") ; } - virtual void InitRaws() {AliWarning("Call not valid") ; } virtual void InitSDigits() {AliInfo("To be implemented by detectors");} virtual void MakeESDs(AliESDEvent * ) {AliWarning("Call not valid") ; } - virtual void MakeHits(TClonesArray * ) {AliInfo("To be implemented by detectors");} + virtual void MakeHits() {AliInfo("To be implemented by detectors");} virtual void MakeHits(TTree * ) {AliInfo("To be implemented by detectors");} - virtual void MakeDigits(TClonesArray * ) {AliInfo("To be implemented by detectors");} + virtual void MakeDigits() {AliInfo("To be implemented by detectors");} virtual void MakeDigits(TTree * ) {AliInfo("To be implemented by detectors");} virtual void MakeRaws(AliRawReader *) {AliWarning("Call not valid") ; } virtual void MakeRecPoints(TTree * ) {AliWarning("Call not valid") ; } - virtual void MakeSDigits(TClonesArray * ) {AliInfo("To be implemented by detectors");} + virtual void MakeSDigits() {AliInfo("To be implemented by detectors");} virtual void MakeSDigits(TTree * ) {AliInfo("To be implemented by detectors");} virtual void StartOfDetectorCycle() {AliInfo("To be implemented by detectors");} - TObjArray * * fDigitsQAList ; //! list of the digits QA data objects - TObjArray * * fHitsQAList ; //! list of the hits QA data objects - TObjArray * * fSDigitsQAList ; //! list of the sdigits QA data objects - - ClassDef(AliQADataMakerSim,1) // description + TObjArray * * fDigitsQAList ; //! list of the digits QA data objects + TObjArray * * fHitsQAList ; //! list of the hits QA data objects + TObjArray * * fSDigitsQAList ; //! list of the sdigits QA data objects + TClonesArray * fHitsArray ; //! array to hold the hits + TClonesArray * fSDigitsArray ; //! array to hold the digits + + + ClassDef(AliQADataMakerSim,2) // description };