]> git.uio.no Git - u/mrichter/AliRoot.git/blob - T0/AliT0QADataMakerRec.h
monitor dQdl (PID) at TRD entrance
[u/mrichter/AliRoot.git] / T0 / AliT0QADataMakerRec.h
1 #ifndef AliT0QADataMakerRec_H
2 #define AliT0QADataMakerRec_H
3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4  * See cxx source for full Copyright notice                               */
5
6
7 /* $Id$ */
8
9 //
10 // Alla.Maevskaya@cern.ch
11 // 
12
13
14 // --- ROOT system ---
15
16
17
18 // --- Standard library ---
19 // --- AliRoot header files ---
20
21 #include "AliQADataMakerRec.h"
22 #include "AliT0RecoParam.h" 
23
24 class AliT0QADataMakerRec: public AliQADataMakerRec {
25
26 public:
27   AliT0QADataMakerRec() ;          // ctor
28   AliT0QADataMakerRec(const AliT0QADataMakerRec& qadm) ;   
29   AliT0QADataMakerRec& operator = (const AliT0QADataMakerRec& qadm) ;
30   virtual ~AliT0QADataMakerRec(); // dtor
31
32 private:
33   virtual void   InitRaws() ;    //book Digit QA histo
34   virtual void   InitRecPoints();  //book cluster QA histo
35   virtual void   InitDigits() ; 
36   virtual void   InitESDs() ;      //book ESD QA histo 
37   virtual void   MakeRaws(AliRawReader* rawReader) ;
38   virtual void   MakeRecPoints(TTree * clusters)    ;  //Fill cluster QA histo
39   virtual void   MakeDigits() {;} 
40   virtual void   MakeDigits(TTree * digTree);
41   virtual void   MakeESDs(AliESDEvent * esd) ;         //Fill hit QA histo
42   virtual void   EndOfDetectorCycle(AliQAv1::TASKINDEX_t, TObjArray ** list) ;
43   virtual void   StartOfDetectorCycle() ;
44   virtual void   ResetDetector(AliQAv1::TASKINDEX_t task) ;
45
46   const AliT0RecoParam* GetRecoParam() { return dynamic_cast<const AliT0RecoParam*>(fRecoParam);}
47
48   // RS Commented by Ruben, read below:
49   /*
50   // RS: Don't use custom counters, they create problems with trigger cloning
51   //     Use instead framework counters, incremented in the end of this routine
52   // RS: There is some inconsistency here: the separation of physics and calib. events/histos is done by
53   // fEventSpecie. Why do we book separate histos on different slots for calib and physics ? 
54   // I am changing this in such way that we don't need local counters like fNumTriggers (the corresponding
55   // histos now incremented in the MakeRaws, and for the normalization I will use the framework's counters
56   // AliQADataMaker::GetEvCountCycle(...), AliQADataMaker::GetEvCountTotal(...)
57   //
58   // I think the histos xx+250 should be suppressed (the xx calib histos of specie==calibration will be 
59   // used automatically)
60   
61
62   Int_t fNumTriggers[6];  //number of trigger signals;
63   Int_t fNumTriggersCal[6];  //number of calibration  trigger signals;
64
65   Int_t fnEventCal; 
66   Int_t fnEventPhys; 
67   Int_t feffC[24];
68   Int_t feffPhysC[24]; 
69   Int_t feffA[24]; 
70   Int_t feffPhysA[24];
71   Int_t feffqtc[24]; 
72   Int_t feffqtcPhys[24];
73   Float_t fTrEffCal[6];
74   Float_t fTrEffPhys[6];
75   TH1F*  fhTimeDiff[24];
76 */
77   Int_t fMeans[24];
78
79   ClassDef(AliT0QADataMakerRec,7)  // description 
80
81 };
82
83 #endif // AliT0QADataMakerRec_H