X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;f=ITS%2FAliITSQASPDDataMakerRec.h;h=7c9011aa66d0ee8c2f04b3fe056fb96a7e4d6d48;hb=caef2e3c122f58b4771014973cca26cf5b068ac0;hp=5720972bbf57eff4ad1669973131525038366f23;hpb=7a0e577604a97cb45a442616a7a7d92580981cfa;p=u%2Fmrichter%2FAliRoot.git diff --git a/ITS/AliITSQASPDDataMakerRec.h b/ITS/AliITSQASPDDataMakerRec.h index 5720972bbf5..7c9011aa66d 100644 --- a/ITS/AliITSQASPDDataMakerRec.h +++ b/ITS/AliITSQASPDDataMakerRec.h @@ -1,5 +1,5 @@ -#ifndef AliITSQASPDDataMakerRec_H -#define AliITSQASPDDataMakerRec_H +#ifndef ALIITSQASPDDATAMAKERREC_H +#define ALIITSQASPDDATAMAKERREC_H /* Copyright(c) 2007-2009, ALICE Experiment at CERN, All rights reserved. * * See cxx source for full Copyright notice */ @@ -19,7 +19,7 @@ class TObjArray; class AliRawReader; class AliITSRawStreamSPDErrorLog; class AliITSQADataMakerRec; -class AliQA; +class AliQAv1; class AliITSQASPDDataMakerRec : public TObject { @@ -28,33 +28,45 @@ public: AliITSRawStreamSPDErrorLog *aliITSRawStreamSPDErrorLog = NULL); //ctor AliITSQASPDDataMakerRec(const AliITSQASPDDataMakerRec& qadm); AliITSQASPDDataMakerRec& operator = (const AliITSQASPDDataMakerRec& qac); - virtual void InitRaws(); - virtual void InitRecPoints(); - virtual void MakeRaws(AliRawReader *rawReader); - virtual void MakeRecPoints(TTree *clustersTree); - virtual void StartOfDetectorCycle(); - virtual void EndOfDetectorCycle(AliQA::TASKINDEX_t task, TObjArray * list); + virtual Int_t InitRaws(); + virtual Int_t InitDigits(); + virtual Int_t InitRecPoints(); + virtual Int_t MakeRaws(AliRawReader *rawReader); + virtual Int_t MakeRecPoints(TTree *clustersTree); + virtual Int_t MakeDigits() {return 0;} + virtual Int_t MakeDigits(TTree *clustersTree); + virtual void StartOfDetectorCycle(); + virtual void EndOfDetectorCycle(AliQAv1::TASKINDEX_t task, TObjArray * list); virtual ~AliITSQASPDDataMakerRec(); // dtor - Int_t GetOffset(AliQA::TASKINDEX_t task); - Int_t GetTaskHisto(AliQA::TASKINDEX_t task); + Int_t GetOffset(AliQAv1::TASKINDEX_t task,Int_t specie=0) const; + void SetOffset(AliQAv1::TASKINDEX_t task, Int_t offset, Int_t specie = 0); + Int_t GetTaskHisto(AliQAv1::TASKINDEX_t task) const; + virtual void ResetDetector(AliQAv1::TASKINDEX_t){;}; + + enum {kAmoreFoOffset=10, kAmoreErrorsOffset=21}; private: - static const Int_t fgknSPDmodules = 240; //number of SPD modules - static const Int_t fgkLADDonLay1 = 80; //number of modules on layer 1 - static const Int_t fgkLADDonLay2 = 160; //number of modules on layer 2 + static const Short_t fgknSPDmodules = 240; //number of SPD modules + static const Short_t fgkLADDonLay1 = 80; //number of modules on layer 1 + static const Short_t fgkLADDonLay2 = 160; //number of modules on layer 2 + static const Short_t fgkSPDchips = 1200; //number of chips AliITSQADataMakerRec *fAliITSQADataMakerRec;//pointer to the main ctor Bool_t fkOnline; //online (1) or offline (0) use Int_t fLDC; //LDC number (0 for offline, 1 to 4 for online) Int_t fSPDhRawsTask; // number of booked SPD histograms for the Raws Task + Int_t fSPDhDigitsTask; // number of booked SPD histograms for the RecPoints Task Int_t fSPDhRecPointsTask; // number of booked SPD histograms for the RecPoints Task - Int_t fGenRawsOffset; // QAchecking Raws offset - Int_t fGenRecPointsOffset; // QAchecking RecPoints offset + Int_t *fGenRawsOffset; // QAchecking Raws offset + Int_t *fGenDigitsOffset; // QAchecking Digits offset + Int_t *fGenRecPointsOffset; // QAchecking RecPoints offset AliITSRawStreamSPDErrorLog *fAdvLogger; // pointer to special error logger object - ClassDef(AliITSQASPDDataMakerRec,3) // description + ClassDef(AliITSQASPDDataMakerRec,6) // description }; #endif + +