/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
* See cxx source for full Copyright notice */
-/* $Id $ */
+/* $Id$ */
///////////////////////////////////////////////////////////////////////////////
// //
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();
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);
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
-