New class for QA (A. Mastroserio)
[u/mrichter/AliRoot.git] / HMPID / AliHMPIDQualAssDataMaker.h
CommitLineData
b39da4dc 1#ifndef ALIHMPIDQUALASSDATAMAKER_H
2#define ALIHMPIDQUALASSDATAMAKER_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
19class TH1F ;
20class TH2F ;
21class TH1I ;
22
23// --- Standard library ---
24#include <TString.h>
25// --- AliRoot header files ---
26
27#include "AliQualAssDataMaker.h"
28
29class AliHMPIDQualAssDataMaker: public AliQualAssDataMaker {
30
31public:
32 AliHMPIDQualAssDataMaker() ; // ctor
33 AliHMPIDQualAssDataMaker(const AliHMPIDQualAssDataMaker& qadm) ;
34 AliHMPIDQualAssDataMaker& operator = (const AliHMPIDQualAssDataMaker& qadm) ;
35 virtual ~AliHMPIDQualAssDataMaker() {;} // dtor
36
37 TString DirPrint() const{return fDetectorDirName;}
38
39private:
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() ; //Fill hit QA histo
46 virtual void MakeDigits() ; //Fill Digit QA histo
47 virtual void MakeSDigits() ; //Fill SDigit QA histo
48 virtual void MakeRecPoints() ; //Fill cluster QA histo
49 virtual void MakeESDs() ; //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(AliHMPIDQualAssDataMaker,1) // description
72
73};
74
75#endif // AliHMPIDQualAssDataMaker_H