ALIROOT-5488 Remove build/include from the include directories
[u/mrichter/AliRoot.git] / TRD / AliTRDQADataMakerRec.h
CommitLineData
4f5f1ae2 1#ifndef ALITRDQADATAMAKERREC_H
2#define ALITRDQADATAMAKERREC_H
04236e67 3/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
5
6/* $Id$ */
7
8////////////////////////////////////////////////////////////////////////////
9// //
10// Produces the data needed to calculate the quality assurance. //
11// All data must be mergeable objects. //
12// //
13// Author: //
14// Sylwester Radomski (radomski@physi.uni-heidelberg.de) //
15// //
16////////////////////////////////////////////////////////////////////////////
17
18// --- ROOT system ---
19class TH1F ;
20class TH1I ;
21
22// --- AliRoot header files ---
23class AliExternalTrackParam;
24
25#include "AliQADataMakerRec.h"
26
27class AliTRDQADataMakerRec: public AliQADataMakerRec {
28
29 public:
30
31 AliTRDQADataMakerRec() ; // ctor
32 AliTRDQADataMakerRec(const AliTRDQADataMakerRec& qadm) ;
33 AliTRDQADataMakerRec& operator = (const AliTRDQADataMakerRec& qadm) ;
34 virtual ~AliTRDQADataMakerRec() {;} // dtor
35
c1eed4d3 36 // private:
37 public:
04236e67 38
c1eed4d3 39 enum {kTimeBin = 30};
4e25ac79 40 virtual void EndOfDetectorCycle(AliQAv1::TASKINDEX_t task, TObjArray ** list) ;
c1eed4d3 41
04236e67 42 virtual void InitESDs() ;
43 virtual void InitRecPoints() ;
44 virtual void InitRaws() ;
45
46 virtual void MakeRaws(AliRawReader* rawReader);
47 virtual void MakeRecPoints(TTree * recpo);
4f5f1ae2 48 virtual void MakeESDs(AliESDEvent * const esd);
04236e67 49
50 virtual void StartOfDetectorCycle() ;
4f5f1ae2 51 Int_t CheckPointer(TObject * const obj, const char *name);
04236e67 52
53 // internal methods
4f5f1ae2 54 Int_t GetSector(Double_t alpha) const;
55 Int_t GetStack(const AliExternalTrackParam *paramOut) const;
56 Double_t GetExtZ(const AliExternalTrackParam *paramIn) const;
92664bc8 57 Int_t FillBits(TH1F *hist, Int_t code, Int_t offset);
9b99c029 58
92664bc8 59 void BuildRatio(TH1 *ratio, TH1 * const histN, TH1 * const histD);
04236e67 60
61 ClassDef(AliTRDQADataMakerRec,1) // Creates the TRD QA data
62
63};
64#endif // AliTRDQADataMakerRec_H