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