Splitting of the QA maker into simulation and reconstruction dependent parts (Yves)
[u/mrichter/AliRoot.git] / HMPID / AliHMPIDQADataMakerRec.h
1 #ifndef AliHMPIDQADataMakerRec_H
2 #define AliHMPIDQADataMakerRec_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 //  Produces the data needed to calculate the quality assurance. 
11 //  All data must be mergeable objects.
12 //  A. Mastroserio
13
14
15
16 // --- ROOT system ---
17
18
19 class TH1F ; 
20 class TH2F ;
21 class TH1I ; 
22
23 // --- Standard library ---
24 #include <TString.h>
25 // --- AliRoot header files ---
26
27 #include "AliQADataMakerRec.h"
28
29 class AliHMPIDQADataMakerRec: public AliQADataMakerRec {
30
31 public:
32   AliHMPIDQADataMakerRec() ;          // ctor
33   AliHMPIDQADataMakerRec(const AliHMPIDQADataMakerRec& qadm) ;   
34   AliHMPIDQADataMakerRec& operator = (const AliHMPIDQADataMakerRec& qadm) ;
35   virtual ~AliHMPIDQADataMakerRec() {;} // dtor
36
37 private:
38   virtual void   InitRecPoints();  //book cluster QA histo
39   virtual void   InitESDs() ;      //book ESD QA histo 
40   virtual void   MakeRecPoints(TTree * clusters)    ;  //Fill cluster QA histo
41   virtual void   MakeESDs(AliESDEvent * esd) ;         //Fill hit QA histo
42
43 //  TH1F *fhHitQdc;                  // Hit Q distr
44 //  TH2F *fhHitMap[7];               // Hit Q positions
45 //  TH1F  *fhSDigits ;               // SDigit Q distr
46 //  TH1F  *fhDigPcEvt;               // Pc occupancy per event
47 //  TH1F *fhDigChEvt;                // Chamber occupancy per event
48 //  TH1F *fhDigQ;                    // Digit Q distr
49
50   TH1F *fhCluEvt;                  // N clusters per chamber
51   TH1F *fhCluChi2;                 // Chi2
52   TH1F *fhCluQ;                    // cluster Q distr
53   TH1F *fhCluFlg;                  // resolved cluster flag
54   TH1F *fhCluSize;                 // raw cluster size
55   TH1F *fhMipCluSize;              // mip cluster size
56
57   TH2F *fhCkovP;                   // thetaC vs P
58   TH2F *fhSigP;                    // sigmaC vs P
59   TH2F *fhMipXY;                   // mip position on PC
60   TH2F *fhDifXY;                   // mip(X,Y) - extrapolated track(X,Y)
61   TH1F *fhPid[5];                  // Pid responses
62
63   ClassDef(AliHMPIDQADataMakerRec,1)  // description 
64
65 };
66
67 #endif // AliHMPIDQADataMakerRec_H