Formatting changes.
[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
692de412 9//
10/// \ingroup base
11/// \class AliMUONPoints
12/// \brief Class to draw detector clusters (is PolyMarker3D)
fe4da5cc 13
c1a185bf 14class TMarker3DBox;
243b68c3 15#include <TMatrixFfwd.h>
a9e2aefa 16
30178c30 17class AliMUONDigit;
18class AliMUONHit;
243b68c3 19#include "AliPoints.h"
fe4da5cc 20
30178c30 21class AliMUONPoints : public AliPoints
22{
23public:
a9e2aefa 24 AliMUONPoints();
25 AliMUONPoints(Int_t npoints);
a9e2aefa 26 virtual ~AliMUONPoints();
5398f946 27
28 /// Return hit index
30178c30 29 Int_t GetHitIndex() const {return fHitIndex;}
30 Int_t GetTrackIndex() const; // *MENU*
5398f946 31 /// Return digit index
30178c30 32 Int_t GetDigitIndex() const {return fDigitIndex;}
5398f946 33 /// Return associated 3D-marker
30178c30 34 TMarker3DBox *GetMarker(Int_t i) const {return fMarker[i];}
a9e2aefa 35 AliMUONHit *GetHit() const;
36 AliMUONDigit *GetDigit() const;
fe4da5cc 37 virtual void InspectHit(); // *MENU*
30178c30 38 virtual void DumpHit() const; // *MENU*
fe4da5cc 39 virtual void InspectDigit(); // *MENU*
30178c30 40 virtual void DumpDigit() const; // *MENU*
5398f946 41 /// Set hit index
fe4da5cc 42 virtual void SetHitIndex(Int_t hitindex) {fHitIndex = hitindex;}
5398f946 43 /// Set track index
fe4da5cc 44 virtual void SetTrackIndex(Int_t trackindex) {fTrackIndex = trackindex;}
5398f946 45 /// Set digit index
fe4da5cc 46 virtual void SetDigitIndex(Int_t digitindex) {fDigitIndex = digitindex;}
5398f946 47 /// Set associated 3D-marker
a897a37a 48 virtual void Set3DMarker(Int_t i,TMarker3DBox *marker) {fMarker[i] = marker;}
5398f946 49 /// Set matrix
e8d02863 50 virtual void SetMatrix(TMatrixF *matrix) {fMatrix = matrix;}
fe4da5cc 51
a9e2aefa 52protected:
30178c30 53 AliMUONPoints(const AliMUONPoints& points);
54 AliMUONPoints& operator = (const AliMUONPoints& rhs);
55
18b6b8c7 56 Int_t fHitIndex; ///< Link to hit number
57 Int_t fTrackIndex; ///< Link to track number
58 Int_t fDigitIndex; ///< Link to digit
59 TMarker3DBox *fMarker[3]; ///< pointer to associated 3D-marker
60 TMatrixF *fMatrix; ///< test
61
a1001283 62 ClassDef(AliMUONPoints,1) //Class to draw detector clusters (is PolyMarker3D) for MUON
fe4da5cc 63};
64#endif
a897a37a 65
a9e2aefa 66