]>
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: | |
16 | Int_t fHitIndex; // Link to hit number | |
17 | Int_t fTrackIndex; // Link to track number | |
18 | Int_t fDigitIndex; // Link to digit | |
19 | TMarker3DBox *fMarker[3]; // pointer to associated 3D-marker | |
20 | public: | |
21 | AliRICHPoints(); | |
22 | AliRICHPoints(Int_t npoints); | |
23 | virtual ~AliRICHPoints(); | |
24 | ||
25 | Int_t GetHitIndex() {return fHitIndex;} | |
26 | Int_t GetTrackIndex(); // *MENU* | |
27 | Int_t GetDigitIndex() {return fDigitIndex;} | |
28 | AliRICHHit *GetHit() const; | |
29 | AliRICHDigit *GetDigit() const; | |
30 | virtual const Text_t *GetName() const; | |
31 | virtual Text_t *GetObjectInfo(Int_t px, Int_t py); | |
32 | TMarker3DBox *GetMarker(Int_t i) {return fMarker[i];} | |
33 | virtual void InspectHit(); // *MENU* | |
34 | virtual void DumpHit(); // *MENU* | |
35 | virtual void InspectDigit(); // *MENU* | |
36 | virtual void DumpDigit(); // *MENU* | |
37 | virtual void GetCenterOfGravity(); // *MENU* | |
38 | virtual void SetHitIndex(Int_t hitindex) {fHitIndex = hitindex;} | |
39 | virtual void SetTrackIndex(Int_t trackindex) {fTrackIndex = trackindex;} | |
40 | virtual void SetDigitIndex(Int_t digitindex) {fDigitIndex = digitindex;} | |
41 | virtual void Set3DMarker(Int_t i,TMarker3DBox *marker) {fMarker[i] = marker;} | |
42 | ClassDef(AliRICHPoints,1) //Class to draw detector clusters (is PolyMarker3D) | |
43 | }; | |
44 | #endif |