]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - T0/AliT0QAChecker.h
update EMCal EP v2
[u/mrichter/AliRoot.git] / T0 / AliT0QAChecker.h
index 6d5a9f7f42b1d217760e99c43a408fa8f56e3342..94dd2a3917c8c7e8646831364fd542beac4a03d7 100644 (file)
@@ -29,8 +29,7 @@ public:
   AliT0QAChecker& operator=(const AliT0QAChecker& qac);  
   // dtor
   virtual ~AliT0QAChecker();
-  Double_t CheckLaser(TObjArray *listrec ) const ;
-  Double_t CheckBCID(TObjArray *listrec ) const ;
+  //Double_t CheckLaser(TObjArray *listrec ) const ;
   Double_t CheckRaw(TObjArray *listrec ) const ;
   Double_t CheckESD(TObjArray *listrec ) const ;
    
@@ -46,7 +45,25 @@ private:
 
   virtual void Check(Double_t * test, AliQAv1::ALITASK_t, TObjArray ** list, const AliDetectorRecoParam * recoParam) ;
   void EraseOldMessages(TH1* h) const;
-  Double_t ConvertQualityFlagToDouble(int qualityFlag) const; 
+  Double_t ConvertQualityFlagToDouble(int qualityFlag) const;
+  Float_t GetMeanAboveThreshold(TH1F* hV, Float_t thr) const;
+  void GetMeanAndRmsAroundMainMaximum(Float_t &meanHisto,Float_t &rmsHisto, TH1F *histo, int type) const;
+
+  Float_t fMeanCFDFromGoodRunParam[24]; //mean CFD for each PMT from a good run
+  Float_t fMeanLEDFromGoodRunParam[24]; //mean LED for each PMT from a good run
+  Float_t fMeanQTCFromGoodRunParam[24]; //mean QTC for each PMT from a good run
+  Float_t fCFDErrorThreshold; //CFD error threshold instead of the yellow band 
+  Float_t fLEDErrorThreshold; //LED error threshold 
+  Float_t fQTCErrorThreshold; //QTC error threshold 
+  Float_t fRatioCFDEffLEDEffErrorThreshold; //ratio CFD to LED efficiency error threshold 
+  Float_t fQTCEfficiencyErrorThreshold; //QTC efficiency error threshold 
+  Int_t   fBCIDPeriodParam; // period 
+  Int_t   fBCIDOffsetParam;//offset of TRM BCID 
+  Int_t   fBCIDBandWidthParam; // tollerated deviation of BCID from diagonal 
+  Float_t fTZeroAPlusCErrorThreshold; // constraint on the tzero vertex displacement in ps
+  Float_t fTZeroAMinusCErrorThreshold; // constraint on the tzero time shift in ps 
+
+
  
   ClassDef(AliT0QAChecker,1)  // description