]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - STEER/AliPoints.h
Coding convention corrections + few minor bug fixes
[u/mrichter/AliRoot.git] / STEER / AliPoints.h
index abd176f3383d0edd50d5001d23c645e0d794475b..7dd1955aedc0f9c91e81aac42bb0661f001d4ca4 100644 (file)
@@ -1,5 +1,5 @@
-#ifndef AliPoints_H
-#define AliPoints_H
+#ifndef ALIPOINTS_H
+#define ALIPOINTS_H
 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
  * See cxx source for full Copyright notice                               */
 
 #include "TParticle.h"
 
 class AliPoints : public TPolyMarker3D {
-protected:
-   AliDetector     *fDetector;    //Pointer to AliDetector object
-   Int_t            fIndex;       //Particle number in AliRun::fParticles
-
 public:
   AliPoints();
+  AliPoints(const AliPoints& pts);
   AliPoints(Int_t nhits);
   virtual ~AliPoints();
+  virtual void          Copy(AliPoints &pts) const;
   virtual Int_t         DistancetoPrimitive(Int_t px, Int_t py);
   virtual void          ExecuteEvent(Int_t event, Int_t px, Int_t py);
   AliDetector          *GetDetector() {return fDetector;}
@@ -27,10 +25,15 @@ public:
   virtual void          InspectParticle(); // *MENU*
   virtual void          DumpParticle(); // *MENU*
   virtual Text_t       *GetObjectInfo(Int_t px, Int_t py);
+  virtual AliPoints &   operator=(const AliPoints &pts);
   virtual void          Propagate(); // *MENU*
   virtual void          SetDetector(AliDetector *det) {fDetector = det;}
   virtual void          SetParticle(Int_t index) {fIndex = index;}
   
+protected:
+   AliDetector     *fDetector;    //Pointer to AliDetector object
+   Int_t            fIndex;       //Particle number in AliRun::fParticles
+
   ClassDef(AliPoints,1) //Class to draw detector hits (is PolyMarker3D)
 };
 #endif