Creating TObjArray only for offline calibration object, to be loaded in reconstruction.
[u/mrichter/AliRoot.git] / TPC / AliTPCQADataMakerRec.h
CommitLineData
44f32dd2 1#ifndef ALITPCQADATAMAKERREC_H
2#define ALITPCQADATAMAKERREC_H
3/* Copyright(c) 1998-2007, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
5
6
7/* $Id: $ */
8
9/*
10 Based on AliPHOSQADataMaker
11 Produces the data needed to calculate the quality assurance.
12 All data must be mergeable objects.
13 P. Christiansen, Lund, January 2008
14*/
15
16
17// --- ROOT system ---
18#include <TH1.h>
19
20// --- Standard library ---
21
22// --- AliRoot header files ---
23#include <AliQADataMakerRec.h>
24#include <AliRawReader.h>
25
26#include <AliTPCdataQA.h>
27
28class AliTPCQADataMakerRec: public AliQADataMakerRec {
29
30public:
31 AliTPCQADataMakerRec() ; // ctor
32 AliTPCQADataMakerRec(const AliTPCQADataMakerRec& qadm) ;
33 AliTPCQADataMakerRec& operator = (const AliTPCQADataMakerRec& qadm) ;
34 virtual ~AliTPCQADataMakerRec() { delete fTPCdataQA; } // dtor
35
36private:
37 virtual void StartOfDetectorCycle() {}; // empty
92a357bf 38 virtual void EndOfDetectorCycle(AliQA::TASKINDEX_t, TObjArray* list) ;
44f32dd2 39
40 // ESD QA
41 virtual void InitESDs() ;
42 virtual void MakeESDs(AliESDEvent *esd) ;
43
44 // Raw QA
45 virtual void InitRaws();
46 virtual void MakeRaws(AliRawReader* rawReader);
47
48 // RecPoints QA
49 virtual void InitRecPoints();
50 virtual void MakeRecPoints(TTree *recTree);
51
52 AliTPCdataQA* fTPCdataQA;//! TPC calibration object for making raw data QA
53
54 TH1F* fHistESDclusters; //! Clusters per ESD track
55 TH1F* fHistESDratio; //! Ratio of clusters to findables
56 TH1F* fHistESDpt; //! Pt spectrum
57
58 TH1F* fHistRawsOccupancy;//! Pad occupancy (1 entry per pad)
59
60 TH1F* fHistRecPointsQmaxShort; //! Qmax (short pads)
61 TH1F* fHistRecPointsQmaxMedium;//! Qmax (medium pads)
62 TH1F* fHistRecPointsQmaxLong; //! Qmax (long pads)
63 TH1F* fHistRecPointsQShort; //! Q (short pads)
64 TH1F* fHistRecPointsQMedium; //! Q (medium pads)
65 TH1F* fHistRecPointsQLong; //! Q (long pads)
66 TH1F* fHistRecPointsRow; //! Row distribution
67
68 ClassDef(AliTPCQADataMakerRec,1) // TPC Rec Quality Assurance Data Maker
69};
70
71#endif // ALITPCQADATAMAKERREC_H