#include "TView.h"
#include "AliDetector.h"
+#include "AliMC.h"
#include "AliPoints.h"
#include "AliRun.h"
-#include "AliMC.h"
ClassImp(AliPoints)
//
// Copy *this onto pts
//
- if(this != &pts) {
+ if((TObject*)this != &pts) {
((TPolyMarker3D*)this)->Copy(dynamic_cast<TPolyMarker3D&>(pts));
(dynamic_cast<AliPoints&>(pts)).fGLList = fGLList;
(dynamic_cast<AliPoints&>(pts)).fLastPoint = fLastPoint;