]> git.uio.no Git - u/mrichter/AliRoot.git/blob - STEER/AliPoints.h
Possibility to have different binaries in the same tree introduced
[u/mrichter/AliRoot.git] / STEER / AliPoints.h
1 #ifndef AliPoints_H
2 #define AliPoints_H
3
4 #include "TPolyMarker3D.h"
5 #include "AliDetector.h"
6 #include "TParticle.h"
7
8 class AliPoints : public TPolyMarker3D {
9 protected:
10    AliDetector     *fDetector;    //Pointer to AliDetector object
11    Int_t            fIndex;       //Particle number in AliRun::fParticles
12
13 public:
14   AliPoints();
15   AliPoints(Int_t nhits);
16   virtual ~AliPoints();
17   virtual Int_t         DistancetoPrimitive(Int_t px, Int_t py);
18   virtual void          ExecuteEvent(Int_t event, Int_t px, Int_t py);
19   AliDetector          *GetDetector() {return fDetector;}
20   Int_t                 GetIndex() {return fIndex;}
21   TParticle            *GetParticle() const;
22   virtual const Text_t *GetName() const;
23   virtual void          InspectParticle(); // *MENU*
24   virtual void          DumpParticle(); // *MENU*
25   virtual Text_t       *GetObjectInfo(Int_t px, Int_t py);
26   virtual void          Propagate(); // *MENU*
27   virtual void          SetDetector(AliDetector *det) {fDetector = det;}
28   virtual void          SetParticle(Int_t index) {fIndex = index;}
29   
30   ClassDef(AliPoints,1) //Class to draw detector hits (is PolyMarker3D)
31 };
32 #endif