]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - STEER/AliPoints.h
ABC for detector digits merging/digitization
[u/mrichter/AliRoot.git] / STEER / AliPoints.h
index 7dd1955aedc0f9c91e81aac42bb0661f001d4ca4..0c1ff01e2b045c94a8a66acda015430c7207000b 100644 (file)
@@ -6,8 +6,8 @@
 /* $Id$ */
 
 #include "TPolyMarker3D.h"
-#include "AliDetector.h"
-#include "TParticle.h"
+class AliDetector;
+class TParticle;
 
 class AliPoints : public TPolyMarker3D {
 public:
@@ -15,17 +15,17 @@ public:
   AliPoints(const AliPoints& pts);
   AliPoints(Int_t nhits);
   virtual ~AliPoints();
-  virtual void          Copy(AliPoints &pts) const;
+  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;}
-  Int_t                 GetIndex() {return fIndex;}
+  AliDetector          *GetDetector() const {return fDetector;}
+  Int_t                 GetIndex() const {return fIndex;}
   TParticle            *GetParticle() const;
   virtual const Text_t *GetName() const;
   virtual void          InspectParticle(); // *MENU*
   virtual void          DumpParticle(); // *MENU*
   virtual Text_t       *GetObjectInfo(Int_t px, Int_t py);
-  virtual AliPoints &   operator=(const AliPoints &pts);
+  AliPoints &           operator=(const AliPoints &pts);
   virtual void          Propagate(); // *MENU*
   virtual void          SetDetector(AliDetector *det) {fDetector = det;}
   virtual void          SetParticle(Int_t index) {fIndex = index;}