]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - T0/AliT0QADataMakerRec.h
Iontail object for OCDB
[u/mrichter/AliRoot.git] / T0 / AliT0QADataMakerRec.h
index cbeec35d0d0c7e6c7aadbf0700189f8227bfbdda..cff4718fda495a9c01f9e620e4bc7dda76637217 100644 (file)
@@ -27,7 +27,7 @@ public:
   AliT0QADataMakerRec() ;          // ctor
   AliT0QADataMakerRec(const AliT0QADataMakerRec& qadm) ;   
   AliT0QADataMakerRec& operator = (const AliT0QADataMakerRec& qadm) ;
-  virtual ~AliT0QADataMakerRec() {;} // dtor
+  virtual ~AliT0QADataMakerRec(); // dtor
 
 private:
   virtual void   InitRaws() ;    //book Digit QA histo
@@ -41,8 +41,25 @@ private:
   virtual void   MakeESDs(AliESDEvent * esd) ;         //Fill hit QA histo
   virtual void   EndOfDetectorCycle(AliQAv1::TASKINDEX_t, TObjArray ** list) ;
   virtual void   StartOfDetectorCycle() ;
+  virtual void   ResetDetector(AliQAv1::TASKINDEX_t task) ;
 
   const AliT0RecoParam* GetRecoParam() { return dynamic_cast<const AliT0RecoParam*>(fRecoParam);}
+  void SetEfficiency(Int_t idxEffHisto,Int_t idxCounterHisto, Int_t trigger,  Float_t totNumOfEvts);
+
+  // RS Commented by Ruben, read below:
+  /*
+  // RS: Don't use custom counters, they create problems with trigger cloning
+  //     Use instead framework counters, incremented in the end of this routine
+  // RS: There is some inconsistency here: the separation of physics and calib. events/histos is done by
+  // fEventSpecie. Why do we book separate histos on different slots for calib and physics ? 
+  // I am changing this in such way that we don't need local counters like fNumTriggers (the corresponding
+  // histos now incremented in the MakeRaws, and for the normalization I will use the framework's counters
+  // AliQADataMaker::GetEvCountCycle(...), AliQADataMaker::GetEvCountTotal(...)
+  //
+  // I think the histos xx+250 should be suppressed (the xx calib histos of specie==calibration will be 
+  // used automatically)
+  
+
   Int_t fNumTriggers[6];  //number of trigger signals;
   Int_t fNumTriggersCal[6];  //number of calibration  trigger signals;
 
@@ -56,9 +73,19 @@ private:
   Int_t feffqtcPhys[24];
   Float_t fTrEffCal[6];
   Float_t fTrEffPhys[6];
-
-
-  ClassDef(AliT0QADataMakerRec,5)  // description 
+  TH1F*  fhTimeDiff[24];
+*/
+  Float_t fMeanCFDFromGoodRunParam[24]; //mean CFD for each PMT from a good run
+  Float_t fMeanRawVertexParam; //mean hRawVertex from a good run  
+  Float_t fMeanORAParam; // mean ORA from a good run
+  Float_t fMeanORCParam; // mean ORC from a good run
+  Float_t fCFDEffSubRangeLowParam; // lower border of subrange for efficiency of CFD
+  Float_t fCFDEffSubRangeHighParam;// higher border of subrange for efficiency of CFD
+  Float_t fLEDEffSubRangeLowParam; // lower border of subrange for efficiency of LED
+  Float_t fLEDEffSubRangeHighParam;// higher border of subrange for efficiency of LED
+
+
+  ClassDef(AliT0QADataMakerRec,7)  // description 
 
 };