From Laurent:
[u/mrichter/AliRoot.git] / MUON / AliMUONPoints.h
CommitLineData
a9e2aefa 1#ifndef ALIMUONPOINTS_H
2#define ALIMUONPOINTS_H
3
3da30618 4/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5 * See cxx source for full Copyright notice */
6
7/* $Id$ */
30178c30 8// Revision of includes 07/05/2004
fe4da5cc 9
30178c30 10#include "AliPoints.h"
a9e2aefa 11
12class TMatrix;
c1a185bf 13class TMarker3DBox;
a9e2aefa 14
30178c30 15class AliMUONDigit;
16class AliMUONHit;
fe4da5cc 17
30178c30 18class AliMUONPoints : public AliPoints
19{
20public:
a9e2aefa 21 AliMUONPoints();
22 AliMUONPoints(Int_t npoints);
a9e2aefa 23 virtual ~AliMUONPoints();
fe4da5cc 24
30178c30 25 Int_t GetHitIndex() const {return fHitIndex;}
26 Int_t GetTrackIndex() const; // *MENU*
27 Int_t GetDigitIndex() const {return fDigitIndex;}
28 TMarker3DBox *GetMarker(Int_t i) const {return fMarker[i];}
a9e2aefa 29 AliMUONHit *GetHit() const;
30 AliMUONDigit *GetDigit() const;
fe4da5cc 31 virtual void InspectHit(); // *MENU*
30178c30 32 virtual void DumpHit() const; // *MENU*
fe4da5cc 33 virtual void InspectDigit(); // *MENU*
30178c30 34 virtual void DumpDigit() const; // *MENU*
fe4da5cc 35 virtual void SetHitIndex(Int_t hitindex) {fHitIndex = hitindex;}
36 virtual void SetTrackIndex(Int_t trackindex) {fTrackIndex = trackindex;}
37 virtual void SetDigitIndex(Int_t digitindex) {fDigitIndex = digitindex;}
a897a37a 38 virtual void Set3DMarker(Int_t i,TMarker3DBox *marker) {fMarker[i] = marker;}
39 virtual void SetMatrix(TMatrix *matrix) {fMatrix = matrix;}
fe4da5cc 40
a9e2aefa 41protected:
30178c30 42 AliMUONPoints(const AliMUONPoints& points);
43 AliMUONPoints& operator = (const AliMUONPoints& rhs);
44
a9e2aefa 45 Int_t fHitIndex; // Link to hit number
46 Int_t fTrackIndex; // Link to track number
47 Int_t fDigitIndex; // Link to digit
48 TMarker3DBox *fMarker[3]; // pointer to associated 3D-marker
49 TMatrix *fMatrix; // test
50
a1001283 51 ClassDef(AliMUONPoints,1) //Class to draw detector clusters (is PolyMarker3D) for MUON
fe4da5cc 52};
53#endif
a897a37a 54
a9e2aefa 55