]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - STEER/AliMCQA.h
i)Restructuring of the GRP preprocessor ii)Adding the storage of raw data tag files...
[u/mrichter/AliRoot.git] / STEER / AliMCQA.h
index 53e9f959745e1404479ef1312c9ea46a1dabbd0c..779891cb666d5e8a0bd7560d7865b76765e1c6d5 100644 (file)
@@ -3,7 +3,7 @@
 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
  * See cxx source for full Copyright notice                               */
 
-/* $Id $ */
+/* $Id$ */
 
 ///////////////////////////////////////////////////////////////////////////////
 //                                                                           //
@@ -21,7 +21,8 @@ class AliMCQA : public TObject
 public:
   AliMCQA();
   AliMCQA(Int_t ndets);
-  virtual ~AliMCQA() {delete fQAList;fQAList=0;}
+  AliMCQA(const AliMCQA &qa);
+  virtual ~AliMCQA();
   Bool_t  IsFolder() const {return kTRUE;}
   virtual  void  Browse(TBrowser *b);
   virtual  void  PreTrack();
@@ -30,7 +31,8 @@ public:
   void AddModuleName();
   void DrawVolumeName();
   void AddVolumeName();
-
+  AliMCQA & operator=(const AliMCQA &qa) 
+    {qa.Copy(*this); return (*this);}
 
   // QA step manager
   virtual void StepManager(Int_t id);
@@ -48,13 +50,11 @@ protected:
   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);
+  void Copy(TObject& qa) const;
 
   ClassDef(AliMCQA,1)  //Quality Assurance class for the MC
 };
 
 #endif 
-