]>
Commit | Line | Data |
---|---|---|
fe4da5cc | 1 | #ifndef AliPoints_H |
2 | #define AliPoints_H | |
3 | ||
4 | #include "TPolyMarker3D.h" | |
5 | #include "AliDetector.h" | |
1578254f | 6 | #include "TParticle.h" |
fe4da5cc | 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;} | |
1578254f | 21 | TParticle *GetParticle() const; |
fe4da5cc | 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 |