]>
Commit | Line | Data |
---|---|---|
e8189707 | 1 | #ifndef AliITSpoints_H |
2 | #define AliITSpoints_H | |
3 | /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * | |
4 | * See cxx source for full Copyright notice */ | |
5 | ||
6 | /* $Id$ */ | |
7 | ||
8 | #include "TPolyMarker3D.h" | |
9 | #include "TMarker3DBox.h" | |
10 | #include "TMatrix.h" | |
11 | #include "AliITS.h" | |
12 | #include "AliITSdigitNew.h" | |
13 | #include "AliPoints.h" | |
14 | ||
15 | class AliITSpoints : public AliPoints { | |
16 | protected: | |
17 | Int_t fModuleIndex; // Link to module number | |
18 | Int_t fRecHitIndex; // Link to reconstructed hit number | |
19 | Int_t fHitIndex; // Link to hit number | |
20 | Int_t fTrackIndex; // Link to track number | |
21 | Int_t fDigitIndex; // Link to digit | |
22 | TMarker3DBox *fMarker[3]; // pointer to associated 3D-marker | |
23 | TMatrix *fMatrix; // test | |
24 | ||
25 | ||
26 | //Bool_t fConnect; | |
27 | public: | |
28 | AliITSpoints(); | |
29 | AliITSpoints(Int_t npoints); | |
30 | virtual ~AliITSpoints(); | |
31 | ||
32 | virtual void ExecuteEvent(Int_t event, Int_t px, Int_t py); | |
33 | virtual void AnodeProjection(Int_t px, Int_t py); | |
34 | virtual void TimeProjection(Int_t px, Int_t py); | |
35 | Int_t GetModuleIndex() {return fModuleIndex;} // *MENU* | |
36 | Int_t GetHitIndex() {return fHitIndex;} | |
37 | Int_t GetTrackIndex(); // *MENU* | |
38 | Int_t GetDigitIndex() {return fDigitIndex;} | |
39 | TMarker3DBox *GetMarker(Int_t i) {return fMarker[i];} | |
40 | AliITShit *GetHit() const; | |
41 | AliITSdigitSDD *GetDigit() const; | |
42 | virtual const Text_t *GetName() const; | |
43 | virtual Text_t *GetObjectInfo(Int_t px, Int_t py); | |
44 | virtual void InspectHit(); // *MENU* | |
45 | virtual void DumpHit(); // *MENU* | |
46 | virtual void InspectDigit(); // *MENU* | |
47 | virtual void DumpDigit(); // *MENU* | |
48 | virtual void GetCenterOfGravity(); // *MENU* | |
49 | virtual void FindLocalMaxima(); // *MENU* | |
50 | virtual void DisplayModule(); // *MENU* | |
51 | //virtual void SetConnectOpt(Int_t draw=kFALSE) {fConnect = draw;}// *MENU* | |
52 | virtual void SetModuleIndex(Int_t module) {fModuleIndex = module;} | |
53 | virtual void SetHitIndex(Int_t hitindex) {fHitIndex = hitindex;} | |
54 | virtual void SetTrackIndex(Int_t trackindex) {fTrackIndex = trackindex;} | |
55 | virtual void SetDigitIndex(Int_t digitindex) {fDigitIndex = digitindex;} | |
56 | virtual void Set3DMarker(Int_t i,TMarker3DBox *marker) {fMarker[i] = marker;} | |
57 | virtual void SetMatrix(TMatrix *matrix) {fMatrix = matrix;} | |
58 | // virtual void ExecuteEvent(Int_t event, Int_t px, Int_t py); | |
59 | ||
60 | virtual void Neighbours | |
61 | (Int_t ix, Int_t iy, Int_t* Nlist, Int_t Xlist[10], Int_t Ylist[10]); | |
62 | ||
63 | ClassDef(AliITSpoints,1) //Class to draw detector clusters (is PolyMarker3D) | |
64 | }; | |
65 | #endif | |
66 |