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