Obsolete.
[u/mrichter/AliRoot.git] / ITS / AliITSQADataMakerRec.h
CommitLineData
04236e67 1#ifndef AliITSQADataMakerRec_H
2#define AliITSQADataMakerRec_H
3/* Copyright(c) 2007-2009, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
5
6
7/* $Id$ */
8
8c823e5a 9
04236e67 10//
11// Checks the quality assurance.
12// By comparing with reference data
13// contained in a DB
14//
15//
8c823e5a 16// W. Ferrarese + P. Cerello Feb 2008
a90a332e 17//
18// ESD QA (Tracking and primary vertex)
19// A. Dainese Jun 2008
04236e67 20
21#include "AliQADataMakerRec.h"
8c823e5a 22
23class AliITSQASPDDataMakerRec;
24class AliITSQASDDDataMakerRec;
25class AliITSQASSDDataMakerRec;
04236e67 26class AliRawReader;
04236e67 27
28class AliITSQADataMakerRec: public AliQADataMakerRec {
29
8c823e5a 30friend class AliITSQASPDDataMakerRec;
31friend class AliITSQASDDDataMakerRec;
32friend class AliITSQASSDDataMakerRec;
33
04236e67 34public:
8c823e5a 35 AliITSQADataMakerRec(Bool_t kMode = kFALSE, Short_t subDet = 0, Short_t ldc = 0); // kMode = kFALSE (offline), kTRUE (online); subDet = 0 (ALL), 1 (SPD), 2 (SDD), 3 (SSD)
04236e67 36 AliITSQADataMakerRec(const AliITSQADataMakerRec& qadm);
37 AliITSQADataMakerRec& operator = (const AliITSQADataMakerRec& qac);
8c823e5a 38 virtual void StartOfDetectorCycle();
92a357bf 39 virtual void EndOfDetectorCycle(AliQA::TASKINDEX_t task, TObjArray * list);
8c823e5a 40 virtual void EndOfDetectorCycle(const char *fgDataName);
04236e67 41 virtual void InitRaws();
42 virtual void InitRecPoints();
a90a332e 43 virtual void InitESDs();
04236e67 44 virtual void MakeRaws(AliRawReader *rawReader);
45 virtual void MakeRecPoints(TTree *clustersTree);
a90a332e 46 virtual void MakeESDs(AliESDEvent *esd);
e41192d7 47
48 void SetHLTMode(Bool_t khltmode=kFALSE){fHLTMode=khltmode;};
49 Bool_t GetHLTMode(){return fHLTMode;};
8c823e5a 50 virtual ~AliITSQADataMakerRec(); // dtor
04236e67 51
52private:
53
8c823e5a 54 Bool_t fkOnline; //online (1) or offline (0) use
e41192d7 55 Bool_t fHLTMode; // HLT MODE kTRUE mode C kFALSE mode A
8c823e5a 56 Short_t fSubDetector; // subDetector: 0 (ALL), 1 (SPD), 2 (SDD), 3 (SSD)
57 Short_t fLDC; // number of LDC: 0 (one LDC for the whole subdetector)
58
59 AliITSQASPDDataMakerRec *fSPDDataMaker; // SPD Data Maker
60 AliITSQASDDDataMakerRec *fSDDDataMaker; // SDD Data Maker
61 AliITSQASSDDataMakerRec *fSSDDataMaker; // SSD Data Maker
62
e41192d7 63 ClassDef(AliITSQADataMakerRec,4) // description
04236e67 64
65};
66
67#endif
68