Transfer of the initialisation of the QA Data objects in the framework; clean the...
[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();
4e25ac79 39 virtual void EndOfDetectorCycle(AliQAv1::TASKINDEX_t task, TObjArray ** list);
8c823e5a 40 virtual void EndOfDetectorCycle(const char *fgDataName);
04236e67 41 virtual void InitRaws();
44ed7a66 42 virtual void InitDigits();
04236e67 43 virtual void InitRecPoints();
a90a332e 44 virtual void InitESDs();
04236e67 45 virtual void MakeRaws(AliRawReader *rawReader);
6252ceeb 46 virtual void MakeDigits(){AliWarning("Signature not implemented. A TTree* of digits should be passed as input argument");}
44ed7a66 47 virtual void MakeDigits(TTree *digitsTree);
04236e67 48 virtual void MakeRecPoints(TTree *clustersTree);
a90a332e 49 virtual void MakeESDs(AliESDEvent *esd);
e41192d7 50
51 void SetHLTMode(Bool_t khltmode=kFALSE){fHLTMode=khltmode;};
52 Bool_t GetHLTMode(){return fHLTMode;};
8c823e5a 53 virtual ~AliITSQADataMakerRec(); // dtor
614c7e17 54 Short_t GetSubDet(){return fSubDetector;};
4e25ac79 55 Int_t GetDetTaskOffset(Int_t subdet,AliQAv1::TASKINDEX_t task);
614c7e17 56
04236e67 57
58private:
59
8c823e5a 60 Bool_t fkOnline; //online (1) or offline (0) use
e41192d7 61 Bool_t fHLTMode; // HLT MODE kTRUE mode C kFALSE mode A
8c823e5a 62 Short_t fSubDetector; // subDetector: 0 (ALL), 1 (SPD), 2 (SDD), 3 (SSD)
63 Short_t fLDC; // number of LDC: 0 (one LDC for the whole subdetector)
64
65 AliITSQASPDDataMakerRec *fSPDDataMaker; // SPD Data Maker
66 AliITSQASDDDataMakerRec *fSDDDataMaker; // SDD Data Maker
67 AliITSQASSDDataMakerRec *fSSDDataMaker; // SSD Data Maker
68
e41192d7 69 ClassDef(AliITSQADataMakerRec,4) // description
04236e67 70
71};
72
73#endif
74