Changes in QA to be able to process separately different triggers (Ruben)
[u/mrichter/AliRoot.git] / ITS / AliITSQASPDDataMakerSim.h
CommitLineData
379510c2 1#ifndef AliITSQASPDDataMakerSim_H
2#define AliITSQASPDDataMakerSim_H
3/* Copyright(c) 2007-2009, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
5
6
7//
8// Checks the quality assurance.
9// By comparing with reference data
10// contained in a DB
11//
12//
13// W. Ferrarese + P. Cerello Feb 2008
14//
15
16
17/* $Id$ */
18
4e25ac79 19#include "AliQAv1.h"
379510c2 20class AliITSQADataMakerSim;
21class TObjArray;
22class TClonesArray;
23
24class AliITSQASPDDataMakerSim : public TObject {
25
26public:
27 AliITSQASPDDataMakerSim(AliITSQADataMakerSim *aliITSQADataMakerSim); //ctor
28 AliITSQASPDDataMakerSim(const AliITSQASPDDataMakerSim& qadm);
29 AliITSQASPDDataMakerSim& operator = (const AliITSQASPDDataMakerSim& qac);
30
31 virtual void StartOfDetectorCycle();
92664bc8 32 virtual void EndOfDetectorCycle(AliQAv1::TASKINDEX_t task, TObjArray ** list);
379510c2 33 virtual ~AliITSQASPDDataMakerSim() {;} // dtor
eca4fa66 34 virtual Int_t InitDigits();
35 virtual Int_t InitSDigits();
36 virtual Int_t InitHits();
6252ceeb 37 virtual Int_t MakeDigits(){return 0;}
38 virtual Int_t MakeSDigits(){return 0;}
39 virtual Int_t MakeHits(){return 0;}
eca4fa66 40 virtual Int_t MakeDigits(TTree * digits);
41 virtual Int_t MakeSDigits(TTree * sdigits);
42 virtual Int_t MakeHits(TTree * hits);
80b9610c 43 Int_t GetOffset(AliQAv1::TASKINDEX_t task, Int_t specie = 0);
4a903927 44 void SetOffset(AliQAv1::TASKINDEX_t task, Int_t offset,Int_t specie = 0);
4e25ac79 45 Int_t GetTaskHisto(AliQAv1::TASKINDEX_t task);
7a0e5776 46 //Int_t GetOffsetH() { return fGenOffsetH; }
47 //Int_t GetOffsetS() { return fGenOffsetS; }
48 //Int_t GetOffsetD() { return fGenOffsetD; }
49 //Int_t GetTaskHisto() { return fSPDhTask; }
379510c2 50
51private:
52
53 AliITSQADataMakerSim *fAliITSQADataMakerSim;//pointer to the main ctor
7a0e5776 54 // Int_t fSPDhTask; //number of booked SPD histograms for each task;
55 Int_t fSPDhHTask; // number of booked SPD histograms for each task;
56 Int_t fSPDhSTask; // number of booked SPD histograms for each task;
57 Int_t fSPDhDTask; // number of booked SPD histograms for each task;
4a903927 58 Int_t *fGenOffsetH; // qachecking offset
59 Int_t *fGenOffsetS; // qachecking offset
60 Int_t *fGenOffsetD; // qachecking offset
61 ClassDef(AliITSQASPDDataMakerSim,4) // description
379510c2 62
63};
64
65#endif
66