]> git.uio.no Git - u/mrichter/AliRoot.git/blame - TRD/AliTRDQADataMaker.h
Adding analysis task
[u/mrichter/AliRoot.git] / TRD / AliTRDQADataMaker.h
CommitLineData
4f5f1ae2 1#ifndef ALITRDQADATAMAKER_H
2#define ALITRDQADATAMAKER_H
ffb5de4c 3/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
5
01abcaa3 6/* $Id$ */
7
8////////////////////////////////////////////////////////////////////////////
9// //
c8ab4518 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) //
01abcaa3 15// //
16////////////////////////////////////////////////////////////////////////////
17
ffb5de4c 18// --- ROOT system ---
19class TH1F ;
20class TH1I ;
21
ffb5de4c 22// --- AliRoot header files ---
01abcaa3 23class AliExternalTrackParam;
ffb5de4c 24
4e13cdf5 25#include "AliQADataMaker.h"
26
ffb5de4c 27class AliTRDQADataMaker: public AliQADataMaker {
28
c8ab4518 29 public:
01abcaa3 30
ffb5de4c 31 AliTRDQADataMaker() ; // ctor
32 AliTRDQADataMaker(const AliTRDQADataMaker& qadm) ;
33 AliTRDQADataMaker& operator = (const AliTRDQADataMaker& qadm) ;
34 virtual ~AliTRDQADataMaker() {;} // dtor
4e13cdf5 35
c8ab4518 36 private:
01abcaa3 37
4e25ac79 38 virtual void EndOfDetectorCycle(AliQAv1::TASKINDEX task, TObjArray * list) ;
ffb5de4c 39 virtual void InitHits() ;
40 virtual void InitESDs() ;
41 virtual void InitDigits() ;
42 virtual void InitRecPoints() ;
43 virtual void InitRaws() ;
44 virtual void InitSDigits() ;
4e13cdf5 45
ffb5de4c 46 virtual void MakeHits(TTree * hitTree);
4f5f1ae2 47 virtual void MakeHits(TClonesArray * const hits);
ffb5de4c 48
01abcaa3 49 virtual void MakeSDigits(TTree *sdigitTree);
4f5f1ae2 50 virtual void MakeSDigits(TClonesArray * const sigits);
ffb5de4c 51
01abcaa3 52 virtual void MakeDigits(TTree *digitTree);
4f5f1ae2 53 virtual void MakeDigits(TClonesArray * const digits);
ffb5de4c 54
4f5f1ae2 55 virtual void MakeRaws(AliRawReader * const rawReader);
ffb5de4c 56 virtual void MakeRecPoints(TTree * recpo);
4f5f1ae2 57 virtual void MakeESDs(AliESDEvent * const esd);
4e13cdf5 58
ffb5de4c 59 virtual void StartOfDetectorCycle() ;
4f5f1ae2 60 Int_t CheckPointer(TObject * const obj, const char *name);
01abcaa3 61
62 // internal methods
63 Int_t GetSector(const Double_t alpha) const;
64 Double_t GetExtZ(const AliExternalTrackParam *paramIn) const;
ffb5de4c 65
4e13cdf5 66 ClassDef(AliTRDQADataMaker,1) // Creates the TRD QA data
ffb5de4c 67
68};
4e13cdf5 69#endif // AliTRDQADATAMAKER_H