]>
Commit | Line | Data |
---|---|---|
fe4da5cc | 1 | #ifndef AliPoints_H |
2 | #define AliPoints_H | |
3da30618 | 3 | /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * |
4 | * See cxx source for full Copyright notice */ | |
5 | ||
6 | /* $Id$ */ | |
fe4da5cc | 7 | |
8 | #include "TPolyMarker3D.h" | |
9 | #include "AliDetector.h" | |
1578254f | 10 | #include "TParticle.h" |
fe4da5cc | 11 | |
12 | class AliPoints : public TPolyMarker3D { | |
13 | protected: | |
14 | AliDetector *fDetector; //Pointer to AliDetector object | |
15 | Int_t fIndex; //Particle number in AliRun::fParticles | |
16 | ||
17 | public: | |
18 | AliPoints(); | |
19 | AliPoints(Int_t nhits); | |
20 | virtual ~AliPoints(); | |
21 | virtual Int_t DistancetoPrimitive(Int_t px, Int_t py); | |
22 | virtual void ExecuteEvent(Int_t event, Int_t px, Int_t py); | |
23 | AliDetector *GetDetector() {return fDetector;} | |
24 | Int_t GetIndex() {return fIndex;} | |
1578254f | 25 | TParticle *GetParticle() const; |
fe4da5cc | 26 | virtual const Text_t *GetName() const; |
27 | virtual void InspectParticle(); // *MENU* | |
28 | virtual void DumpParticle(); // *MENU* | |
29 | virtual Text_t *GetObjectInfo(Int_t px, Int_t py); | |
30 | virtual void Propagate(); // *MENU* | |
31 | virtual void SetDetector(AliDetector *det) {fDetector = det;} | |
32 | virtual void SetParticle(Int_t index) {fIndex = index;} | |
33 | ||
34 | ClassDef(AliPoints,1) //Class to draw detector hits (is PolyMarker3D) | |
35 | }; | |
36 | #endif |