Merge branch 'master' of https://git.cern.ch/reps/AliRoot
[u/mrichter/AliRoot.git] / ITS / AliITSQADataMakerSim.h
CommitLineData
f1b15b8d 1#ifndef ALIITSQADATAMAKERSIM_H
2#define ALIITSQADATAMAKERSIM_H
04236e67 3/* Copyright(c) 2007-2009, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
5
04236e67 6/* $Id$ */
7
8//
9// Checks the quality assurance.
10// By comparing with reference data
11// contained in a DB
12//
13//
8dc34e37 14// W. Ferrarese + P. Cerello Feb 2008
04236e67 15
16#include "AliQADataMakerSim.h"
8dc34e37 17
18class AliITSQASPDDataMakerSim;
19class AliITSQASDDDataMakerSim;
20class AliITSQASSDDataMakerSim;
04236e67 21class AliRawReader;
04236e67 22
23class AliITSQADataMakerSim: public AliQADataMakerSim {
24
9b94f977 25friend class AliITSQASPDDataMakerSim; //friend class
26friend class AliITSQASDDDataMakerSim; //friend class
27friend class AliITSQASSDDataMakerSim; //friend class
8dc34e37 28
04236e67 29public:
8dc34e37 30 AliITSQADataMakerSim(Short_t subDet = 0); // subDet = 0 (ALL), 1 (SPD), 2 (SDD), 3 (SSD)
04236e67 31 AliITSQADataMakerSim(const AliITSQADataMakerSim& qadm);
32 AliITSQADataMakerSim& operator = (const AliITSQADataMakerSim& qac);
85f5e9c2 33 virtual void StartOfDetectorCycle();
4e25ac79 34 virtual void EndOfDetectorCycle(AliQAv1::TASKINDEX_t task, TObjArray ** list);
8dc34e37 35 virtual void InitDigits();
36 virtual void InitSDigits();
37 virtual void InitHits();
6252ceeb 38 virtual void MakeDigits();
39 virtual void MakeSDigits();
40 virtual void MakeHits();
8dc34e37 41 virtual void MakeDigits(TTree * digits);
42 virtual void MakeSDigits(TTree * sdigits);
43 virtual void MakeHits(TTree * hits);
44 virtual ~AliITSQADataMakerSim(); // dtor
9b94f977 45 Short_t GetSubDet() const {return fSubDetector;};
4e25ac79 46 Int_t GetDetTaskOffset(Int_t subdet,AliQAv1::TASKINDEX_t task);
4a903927 47 virtual Int_t GetEventSpecie() const { return AliRecoParam::AConvert(fEventSpecie); }
80b9610c 48 Int_t GetDetTaskHisto(Int_t subdet,AliQAv1::TASKINDEX_t task);
04236e67 49private:
50
8dc34e37 51 Short_t fSubDetector; // subDetector: 0 (ALL), 1 (SPD), 2 (SDD), 3 (SSD)
52
53 AliITSQASPDDataMakerSim *fSPDDataMaker; // SPD Data Maker
54 AliITSQASDDDataMakerSim *fSDDDataMaker; // SDD Data Maker
55 AliITSQASSDDataMakerSim *fSSDDataMaker; // SSD Data Maker
56
57 ClassDef(AliITSQADataMakerSim,2) // description
04236e67 58
59};
60
61#endif
62