Fixes for bug #49914: Compilation breaks in trunk, and bug #48629: Trunk cannot read...
[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>
be4f1702 25#include <AliTPCAltroMapping.h>
44f32dd2 26
27#include <AliTPCdataQA.h>
28
29class AliTPCQADataMakerRec: public AliQADataMakerRec {
30
31public:
57acd2d2 32 enum HRawsType_t {kTPCdataQA=0, kOccupancy, kOccupancyVsSector, kNClustersPerEventVsSector, kQVsSector, kQmaxVsSector} ;
33 enum HRECPOINTsType_t {KClusters=0, kRatio, kPt} ;
34 enum HESDsType_t {kQmaxShort=0, kQmaxMedium, kQmaxLong, kQShort, kQMedium, kQLong, kRow} ;
35
44f32dd2 36 AliTPCQADataMakerRec() ; // ctor
37 AliTPCQADataMakerRec(const AliTPCQADataMakerRec& qadm) ;
38 AliTPCQADataMakerRec& operator = (const AliTPCQADataMakerRec& qadm) ;
be4f1702 39 virtual ~AliTPCQADataMakerRec();
44f32dd2 40
41private:
42 virtual void StartOfDetectorCycle() {}; // empty
4e25ac79 43 virtual void EndOfDetectorCycle(AliQAv1::TASKINDEX_t, TObjArray** list) ;
44f32dd2 44
45 // ESD QA
46 virtual void InitESDs() ;
47 virtual void MakeESDs(AliESDEvent *esd) ;
48
49 // Raw QA
50 virtual void InitRaws();
51 virtual void MakeRaws(AliRawReader* rawReader);
52
53 // RecPoints QA
54 virtual void InitRecPoints();
55 virtual void MakeRecPoints(TTree *recTree);
56
be4f1702 57 virtual void LoadMaps();
58
59
60 AliTPCAltroMapping *fMapping[6]; //! Pointers to ALTRO mapping
57acd2d2 61 AliTPCdataQA** fTPCdataQA;//! TPC calibration object for making raw data QA
44f32dd2 62
63 ClassDef(AliTPCQADataMakerRec,1) // TPC Rec Quality Assurance Data Maker
64};
65
66#endif // ALITPCQADATAMAKERREC_H