]>
Commit | Line | Data |
---|---|---|
24b3e30c | 1 | #ifndef AliRICHPoints_H |
2 | #define AliRICHPoints_H | |
3 | ||
4 | /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * | |
5 | * See cxx source for full Copyright notice */ | |
6 | ||
7 | /* $Id$ */ | |
8 | ||
9 | #include <TPolyMarker3D.h> | |
10 | #include <TMarker3DBox.h> | |
11 | #include "AliRICH.h" | |
12 | #include "AliPoints.h" | |
13 | ||
14 | class AliRICHPoints : public AliPoints { | |
15 | protected: | |
d4aed94d | 16 | Int_t fIndex; // Particle number in AliRun::fParticles |
17 | Int_t fHitIndex; // Link to hit number | |
18 | Int_t fTrackIndex; // Link to track number | |
19 | Int_t fDigitIndex; // Link to digit | |
20 | TMarker3DBox *fMarker[3]; // pointer to associated 3D-marker | |
24b3e30c | 21 | public: |
22 | AliRICHPoints(); | |
23 | AliRICHPoints(Int_t npoints); | |
24 | virtual ~AliRICHPoints(); | |
25 | ||
26 | Int_t GetHitIndex() {return fHitIndex;} | |
27 | Int_t GetTrackIndex(); // *MENU* | |
28 | Int_t GetDigitIndex() {return fDigitIndex;} | |
d4aed94d | 29 | Int_t GetIndex() {return fIndex;} |
24b3e30c | 30 | AliRICHHit *GetHit() const; |
31 | AliRICHDigit *GetDigit() const; | |
32 | virtual const Text_t *GetName() const; | |
33 | virtual Text_t *GetObjectInfo(Int_t px, Int_t py); | |
34 | TMarker3DBox *GetMarker(Int_t i) {return fMarker[i];} | |
d4aed94d | 35 | TParticle *GetParticle() const; |
24b3e30c | 36 | virtual void InspectHit(); // *MENU* |
37 | virtual void DumpHit(); // *MENU* | |
38 | virtual void InspectDigit(); // *MENU* | |
39 | virtual void DumpDigit(); // *MENU* | |
40 | virtual void GetCenterOfGravity(); // *MENU* | |
d4aed94d | 41 | virtual void ShowRing(Int_t highlight); // *MENU* |
24b3e30c | 42 | virtual void SetHitIndex(Int_t hitindex) {fHitIndex = hitindex;} |
43 | virtual void SetTrackIndex(Int_t trackindex) {fTrackIndex = trackindex;} | |
44 | virtual void SetDigitIndex(Int_t digitindex) {fDigitIndex = digitindex;} | |
45 | virtual void Set3DMarker(Int_t i,TMarker3DBox *marker) {fMarker[i] = marker;} | |
d4aed94d | 46 | virtual void SetParticle(Int_t index) {fIndex = index;} |
24b3e30c | 47 | ClassDef(AliRICHPoints,1) //Class to draw detector clusters (is PolyMarker3D) |
48 | }; | |
49 | #endif |