1 #ifndef AliITSQADataMakerSim_H
2 #define AliITSQADataMakerSim_H
3 /* Copyright(c) 2007-2009, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
9 // Checks the quality assurance.
10 // By comparing with reference data
14 // W. Ferrarese + P. Cerello Feb 2008
16 #include "AliQADataMakerSim.h"
18 class AliITSQASPDDataMakerSim;
19 class AliITSQASDDDataMakerSim;
20 class AliITSQASSDDataMakerSim;
23 class AliITSQADataMakerSim: public AliQADataMakerSim {
25 friend class AliITSQASPDDataMakerSim;
26 friend class AliITSQASDDDataMakerSim;
27 friend class AliITSQASSDDataMakerSim;
30 AliITSQADataMakerSim(Short_t subDet = 0); // subDet = 0 (ALL), 1 (SPD), 2 (SDD), 3 (SSD)
31 AliITSQADataMakerSim(const AliITSQADataMakerSim& qadm);
32 AliITSQADataMakerSim& operator = (const AliITSQADataMakerSim& qac);
33 virtual void StartOfDetectorCycle();
34 virtual void EndOfDetectorCycle(AliQAv1::TASKINDEX_t task, TObjArray ** list);
35 virtual void InitDigits();
36 virtual void InitSDigits();
37 virtual void InitHits();
38 virtual void MakeDigits();
39 virtual void MakeSDigits();
40 virtual void MakeHits();
41 virtual void MakeDigits(TTree * digits);
42 virtual void MakeSDigits(TTree * sdigits);
43 virtual void MakeHits(TTree * hits);
44 virtual ~AliITSQADataMakerSim(); // dtor
45 Short_t GetSubDet(){return fSubDetector;};
46 Int_t GetDetTaskOffset(Int_t subdet,AliQAv1::TASKINDEX_t task);
47 virtual Int_t GetEventSpecie() const { return AliRecoParam::AConvert(fEventSpecie); }
51 Short_t fSubDetector; // subDetector: 0 (ALL), 1 (SPD), 2 (SDD), 3 (SSD)
53 AliITSQASPDDataMakerSim *fSPDDataMaker; // SPD Data Maker
54 AliITSQASDDDataMakerSim *fSDDDataMaker; // SDD Data Maker
55 AliITSQASSDDataMakerSim *fSSDDataMaker; // SSD Data Maker
57 ClassDef(AliITSQADataMakerSim,2) // description