]> git.uio.no Git - u/mrichter/AliRoot.git/blob - HMPID/AliHMPIDQADataMaker.h
Renaming os quality assurance classes, new development (Yves)
[u/mrichter/AliRoot.git] / HMPID / AliHMPIDQADataMaker.h
1 #ifndef ALIHMPIDQADATAMAKER_H
2 #define ALIHMPIDQADATAMAKER_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 "AliQADataMaker.h"
28
29 class AliHMPIDQADataMaker: public AliQADataMaker {
30
31 public:
32   AliHMPIDQADataMaker() ;          // ctor
33   AliHMPIDQADataMaker(const AliHMPIDQADataMaker& qadm) ;   
34   AliHMPIDQADataMaker& operator = (const AliHMPIDQADataMaker& qadm) ;
35   virtual ~AliHMPIDQADataMaker() {;} // dtor
36
37    TString DirPrint() const{return fDetectorDirName;}
38   
39 private:
40   virtual void   InitHits() ;      //book hit QA histo 
41   virtual void   InitDigits() ;    //book Digit QA histo
42   virtual void   InitSDigits() ;   //book SDigits QA histo
43   virtual void   InitRecPoints();  //book cluster QA histo
44   virtual void   InitESDs() ;      //book ESD QA histo 
45   virtual void   MakeHits(TObject * hits) ;       //Fill hit QA histo
46   virtual void   MakeDigits(TObject * digits) ;   //Fill Digit QA histo
47   virtual void   MakeSDigits(TObject * sdigits) ; //Fill SDigit QA histo
48   virtual void   MakeRecPoints(TTree * clusters)    ;  //Fill cluster QA histo
49   virtual void   MakeESDs(AliESDEvent * esd) ;         //Fill hit QA histo
50
51   TH1F *fhHitQdc;                  // Hit Q distr
52   TH2F *fhHitMap[7];               // Hit Q positions
53   TH1F  *fhSDigits ;               // SDigit Q distr
54   TH1F  *fhDigPcEvt;               // Pc occupancy per event
55   TH1F *fhDigChEvt;                // Chamber occupancy per event
56   TH1F *fhDigQ;                    // Digit Q distr
57
58   TH1F *fhCluEvt;                  // N clusters per chamber
59   TH1F *fhCluChi2;                 // Chi2
60   TH1F *fhCluQ;                    // cluster Q distr
61   TH1F *fhCluFlg;                  // resolved cluster flag
62   TH1F *fhCluSize;                 // raw cluster size
63   TH1F *fhMipCluSize;              // mip cluster size
64
65   TH2F *fhCkovP;                   // thetaC vs P
66   TH2F *fhSigP;                    // sigmaC vs P
67   TH2F *fhMipXY;                   // mip position on PC
68   TH2F *fhDifXY;                   // mip(X,Y) - extrapolated track(X,Y)
69   TH1F *fhPid[5];                  // Pid responses
70
71   ClassDef(AliHMPIDQADataMaker,1)  // description 
72
73 };
74
75 #endif // AliHMPIDQADataMaker_H