3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
8 ///////////////////////////////////////////////////////////////////////////////
10 // Quality assurance services for MC //
12 ///////////////////////////////////////////////////////////////////////////////
19 class AliMCQA : public TObject
24 AliMCQA(const AliMCQA &qa);
26 Bool_t IsFolder() const {return kTRUE;}
27 virtual void Browse(TBrowser *b);
28 virtual void PreTrack();
29 virtual TObjArray *GetQAList() const {return fQAList;}
30 void DrawModuleName();
32 void DrawVolumeName();
34 AliMCQA & operator=(const AliMCQA &qa)
35 {qa.Copy(*this); return (*this);}
38 virtual void StepManager(Int_t id);
41 Int_t fNdets; // Number of detectors
42 Int_t fNvolumes; // Number of volumes
43 TObjArray *fQAList; // QA lists of histograms
44 Int_t fOldId; //! ID of the current module
45 Int_t *fDetDone; //! Detector done flag
46 TObjArray *fQAHist; // Global QA histograms
47 TObjArray *fVolNames; // Volume names
48 TObjArray *fModNames; // Module names
49 TPaveLabel *fMPaveLabel; //! PaveLabel for the Modules
50 TPaveLabel *fVPaveLabel; //! PaveLabel for the Volumes
53 void DrawPaveLabel(TPaveLabel *&pv);
54 Int_t GetHBin(const char* hname);
55 void Copy(TObject& qa) const;
57 ClassDef(AliMCQA,1) //Quality Assurance class for the MC