X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;f=EMCAL%2FAliEMCALQAChecker.h;h=3ce1977d9d61870c1c5d697ea69a5d312b53f1a4;hb=a6f36ca4670ff9f969eced0267d546bee8a871c0;hp=d413a172634b2face2011bcd42a8bc33a6b9902b;hpb=9e47432cac50d53c4c18e91fc63b82f0c483538e;p=u%2Fmrichter%2FAliRoot.git diff --git a/EMCAL/AliEMCALQAChecker.h b/EMCAL/AliEMCALQAChecker.h index d413a172634..3ce1977d9d6 100644 --- a/EMCAL/AliEMCALQAChecker.h +++ b/EMCAL/AliEMCALQAChecker.h @@ -21,11 +21,11 @@ class TH1F ; class TH1I ; class TH1 ; class TLine ; -class TPaveText ; +class TText ; class TObjArray; +class TPaveText ; // --- Standard library --- - // --- AliRoot header files --- #include "AliQACheckerBase.h" class AliEMCALLoader ; @@ -33,24 +33,26 @@ class AliEMCALLoader ; class AliEMCALQAChecker: public AliQACheckerBase { public: - //Histograms for Raw data control - enum HRawType_t { - // first normal Low Gain and High Gain info + //Histograms for Raw data control + enum HRawType_t { + // first normal Low Gain and High Gain info kNsmodLG,kNsmodHG,kTimeLG,kTimeHG, - kSigLG,kSigHG,kNtotLG,kNtotHG,kTowerHG,kTowerLG, - kPedLG,kPedHG, - kPedRMSLG,kPedRMSHG, - // then TRU info - kNsmodTRU,kTimeTRU, - kSigTRU,kNtotTRU, - kPedTRU,kPedRMSTRU, - // and also LED Mon info - kNsmodLGLEDMon,kNsmodHGLEDMon,kTimeLGLEDMon,kTimeHGLEDMon, - kSigLGLEDMon,kSigHGLEDMon,kNtotLGLEDMon,kNtotHGLEDMon, - kPedLGLEDMon,kPedHGLEDMon, - kPedRMSLGLEDMon,kPedRMSHGLEDMon - } ; - + kNtotLG,kNtotHG,kSigHG,kSigLG, + kPedLG,kPedHG, + k2DRatioAmp,kRatioDist, kLEDMonRatio, kLEDMonRatioDist, + // then TRU info + kNsmodTRU, + kSigTRU,kNtotTRU, + kNL0TRU, kTimeL0TRU, + kNL0FirstTRU, kTimeL0FirstTRU, + // and also LED Mon info + kNsmodLGLEDMon,kNsmodHGLEDMon,kTimeLGLEDMon,kTimeHGLEDMon, + kSigLGLEDMon,kSigHGLEDMon,kNtotLGLEDMon,kNtotHGLEDMon, + kPedLGLEDMon,kPedHGLEDMon, + //and STU info + kAmpL1, kGL1, kJL1, + kGL1V0, kJL1V0, kSTUTRU + } ; //Histograms for RecPoints control enum HRPType_t {kRecPE,kRecPM,kRecPDigM}; @@ -58,35 +60,38 @@ public: enum HESDType_t {kESDCaloClusE,kESDCaloClusM,kESDCaloCellA,kESDCaloCellM} ; AliEMCALQAChecker() ; // ctor - AliEMCALQAChecker(const AliEMCALQAChecker& qac); - AliEMCALQAChecker& operator = (const AliEMCALQAChecker& qac) ; virtual ~AliEMCALQAChecker() ; // dtor virtual void Init(const AliQAv1::DETECTORINDEX_t det) ; protected: - virtual Double_t * Check(AliQAv1::ALITASK_t index, TObjArray ** list, AliDetectorRecoParam * /*recoParam*/) ; - //virtual void SetQA(AliQAv1::ALITASK_t index, Double_t * value) const ; + virtual void Check( Double_t * test, AliQAv1::ALITASK_t index, TObjArray ** list, const AliDetectorRecoParam * /*recoParam*/) ; + //virtual void SetQA(AliQAv1::ALITASK_t index, Double_t * value) const ; - Double_t * CheckRaws(TObjArray ** list); - Double_t * CheckRecPoints(TObjArray** /*list*/){return NULL;} - Double_t * CheckESD(TObjArray** /*list*/){return NULL;} - TH1* GetHisto(TObjArray* list, const char* hname, Int_t specie) const; - Double_t MarkHisto(TH1& histo, Double_t value) const; + void CheckRaws(Double_t* test, TObjArray ** list); + void CheckRecPoints(Double_t* /*test*/, TObjArray** /*list*/) const {;} + void CheckESD(Double_t* /*test*/, TObjArray** /*list*/) const {;} + void CleanListOfFunctions(TList *list); + TH1* GetHisto(TObjArray* list, const char* hname, Int_t specie) const; + Double_t MarkHisto(TH1& histo, Double_t value) const; private: + AliEMCALQAChecker(const AliEMCALQAChecker& qac); + AliEMCALQAChecker& operator = (const AliEMCALQAChecker& qac) ; //TH1F * htemp; //a tempory histrogram for getting the mean and sigma //Double_t fMean; //mean value //Double_t fWidth; //sigma of the distribution - static const Int_t fknSM = 4; //! number of current SM - TLine ** fLine ; //! line to distinguish the different SM - TLine ** fHref ; //! Line marking the average value for each SM - TPaveText * fText ; //! Information text for the quality of each SM - - - ClassDef(AliEMCALQAChecker,2) // description + static const Int_t fgknSM = 20; //! number of current SM; EMCal + DCal +// TLine ** fLine ; //! line to distinguish the different SM +// TLine ** fHref ; //! Line marking the average value for each SM + TText ** fTextSM ; //! Text info for each SM + TLine * fLineCol ; //! line to distinguish the different SM side: A side and C side + TLine * fLineRow[5] ; //! line to distinguish the different SM sectors (0-5) + TPaveText * fText ; //! Information text for the quality of each SM + TPaveText * fTextL1[3]; //! Information text for the quality of L1 plots (3 plots in total) + ClassDef(AliEMCALQAChecker,4) // description };