]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - STEER/AliPoints.cxx
Adding new calibration flavours for trigger
[u/mrichter/AliRoot.git] / STEER / AliPoints.cxx
index 20cfeaacdbb4245a8f294ede315df1f34602fbd3..8e7e9ffc7cb57a199041d34be1393d3446684395 100644 (file)
@@ -33,9 +33,9 @@
 #include "TView.h"
 
 #include "AliDetector.h"
+#include "AliMC.h"
 #include "AliPoints.h"
 #include "AliRun.h"
-#include "AliMC.h"
  
 ClassImp(AliPoints)
 
@@ -87,7 +87,7 @@ void AliPoints::Copy(TObject &pts) const
   //
   // 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;