]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - STEER/AliMCQA.h
Echo corrected
[u/mrichter/AliRoot.git] / STEER / AliMCQA.h
index 91273f0306b8d8b3757b4d34558dd40b46da976f..8621998f128c49e00aab1774330eef30f4118a86 100644 (file)
 #include "TObject.h"
 class TObjArray;
 class TBrowser;
+class TPaveLabel;
 
 class AliMCQA : public TObject
 {
 public:
-  AliMCQA() {}
+  AliMCQA();
   AliMCQA(Int_t ndets);
-  virtual ~AliMCQA() {delete fQAList;fQAList=0;}
+  virtual ~AliMCQA();
   Bool_t  IsFolder() const {return kTRUE;}
   virtual  void  Browse(TBrowser *b);
   virtual  void  PreTrack();
   virtual  TObjArray *GetQAList() const {return fQAList;}
-  
+  void DrawModuleName();
+  void AddModuleName();
+  void DrawVolumeName();
+  void AddVolumeName();
+
+
   // QA step manager
   virtual void StepManager(Int_t id);
 
 protected:
-  Int_t      fNdets;       // Number of detectors
-  TObjArray *fQAList;      // QA histograms
-  Int_t      fOldId;       //! ID of the current module
-  Int_t     *fDetDone;     //! Detector done flag 
+  Int_t       fNdets;       // Number of detectors
+  Int_t       fNvolumes;    // Number of volumes
+  TObjArray  *fQAList;      // QA lists of histograms
+  Int_t       fOldId;       //! ID of the current module
+  Int_t      *fDetDone;     //! Detector done flag 
+  TObjArray  *fQAHist;      // Global QA histograms
+  TObjArray  *fVolNames;    // Volume names
+  TObjArray  *fModNames;    // Module names
+  TPaveLabel *fMPaveLabel;  //! PaveLabel for the Modules
+  TPaveLabel *fVPaveLabel;  //! PaveLabel for the Volumes
 
 private:
   AliMCQA(const AliMCQA &) {}
   AliMCQA & operator=(const AliMCQA &) {return (*this);}
+  void DrawPaveLabel(TPaveLabel *&pv);
+  Int_t GetHBin(const char* hname);
 
   ClassDef(AliMCQA,1)  //Quality Assurance class for the MC
 };