]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - EMCAL/AliEMCALQAChecker.h
coverity
[u/mrichter/AliRoot.git] / EMCAL / AliEMCALQAChecker.h
index 61b6aab9a2365e924ddf4f90b8300ea26c6fc73a..f287caee6438b6e8b01911e3481cd0a1dcd0c9c9 100644 (file)
@@ -37,7 +37,7 @@ public:
   enum HRawType_t { 
     // first normal Low Gain and High Gain info
     kNsmodLG,kNsmodHG,kTimeLG,kTimeHG,
-    kSigLG,kSigHG,kNtotLG,kNtotHG,kTowerHG,kTowerLG,
+    kNtotLG,kNtotHG,kSigHG,kSigLG,
     kPedLG,kPedHG,
     k2DRatioAmp,kRatioDist, kLEDMonRatio, kLEDMonRatioDist,
     // then TRU info
@@ -65,29 +65,28 @@ public:
 
 protected:
                
-       virtual Double_t * Check(AliQAv1::ALITASK_t index, TObjArray ** list,  const 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 {;}
+  TH1* GetHisto(TObjArray* list, const char* hname, Int_t specie) const;
+  Double_t MarkHisto(TH1& histo, Double_t value) const;
        
        
 private:
        //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
+  static const Int_t fgknSM = 12;    //! number of current SM
 //  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       ; //! line to distinguish the different SM sector 0 and 1 
+  TLine *     fLineRow[5]       ; //! line to distinguish the different SM sectors (0-5) 
   TPaveText * fText          ;  //! Information text for the quality of each SM
-  Double_t  * fTest          ; // result of QA
-  ClassDef(AliEMCALQAChecker,2)  // description 
+  ClassDef(AliEMCALQAChecker,4)  // description 
 
 };