Introducing event specie in QA (Yves)
[u/mrichter/AliRoot.git] / TRD / AliTRDQADataMakerRec.h
CommitLineData
04236e67 1#ifndef AliTRDQADataMakerRec_H
2#define AliTRDQADataMakerRec_H
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
36 private:
37
57acd2d2 38 virtual void EndOfDetectorCycle(AliQA::TASKINDEX_t task, TObjArray ** list) ;
04236e67 39 virtual void InitESDs() ;
40 virtual void InitRecPoints() ;
41 virtual void InitRaws() ;
42
43 virtual void MakeRaws(AliRawReader* rawReader);
44 virtual void MakeRecPoints(TTree * recpo);
45 virtual void MakeESDs(AliESDEvent * esd);
46
47 virtual void StartOfDetectorCycle() ;
48 Int_t CheckPointer(TObject *obj, const char *name);
49
50 // internal methods
9b99c029 51 Int_t GetSector(Double_t alpha) const;
52 Int_t GetStack(const AliExternalTrackParam *paramOut) const;
04236e67 53 Double_t GetExtZ(const AliExternalTrackParam *paramIn) const;
987ba9a3 54 Int_t FillBits(TH1D *hist, Int_t code, Int_t offset);
9b99c029 55
743496f4 56 void BuildRatio(TH1D *ratio, TH1D *histN, TH1D *histD);
04236e67 57
58 ClassDef(AliTRDQADataMakerRec,1) // Creates the TRD QA data
59
60};
61#endif // AliTRDQADataMakerRec_H