3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
8 #include "TPolyMarker3D.h"
12 class AliPoints : public TPolyMarker3D {
15 AliPoints(const AliPoints& pts);
16 AliPoints(Int_t nhits);
18 virtual Int_t DistancetoPrimitive(Int_t px, Int_t py);
19 virtual void ExecuteEvent(Int_t event, Int_t px, Int_t py);
20 AliDetector *GetDetector() const {return fDetector;}
21 Int_t GetIndex() const {return fIndex;}
22 TParticle *GetParticle() const;
23 virtual const Text_t *GetName() const;
24 virtual void InspectParticle() const; // *MENU*
25 virtual void DumpParticle() const; // *MENU*
26 virtual Text_t *GetObjectInfo(Int_t px, Int_t py) const;
27 AliPoints & operator=(const AliPoints &pts)
28 {pts.Copy(*this); return (*this);}
29 virtual void Propagate(); // *MENU*
30 virtual void SetDetector(AliDetector *det) {fDetector = det;}
31 virtual void SetParticle(Int_t index) {fIndex = index;}
34 void Copy(AliPoints &pts) const;
36 AliDetector *fDetector; //Pointer to AliDetector object
37 Int_t fIndex; //Particle number in AliRun::fParticles
39 ClassDef(AliPoints,1) //Class to draw detector hits (is PolyMarker3D)