3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights
6 * Latest changes by Christian Holm Christensen <cholm@nbi.dk>
8 * See cxx source for full Copyright notice
10 /** @file AliFMDPoints.h
11 @author Christian Holm Christensen <cholm@nbi.dk>
12 @date Tue Apr 11 12:35:31 2006
13 @brief Specialised class for drawing hits in the FMD.
16 //____________________________________________________________________
19 // Class to draw FMD Hits.
20 // Normally, hits are drawn using TPolyMarker3D. However, that's not
21 // really appropriate for the FMD. Instead, we use TMarker3DBox.
24 # include <AliPoints.h>
29 /** @class AliFMDPoints
30 @brief Class to draw hits for the FMD
33 class AliFMDPoints : public AliPoints
37 @param hit Hit to draw
38 @param color Color of hit */
39 AliFMDPoints(AliFMDHit* hit, UInt_t color);
41 @param other Objct to copy from */
42 AliFMDPoints(const AliFMDPoints& other);
43 /** Assignment operator
44 @param other Objct to copy from
45 @return reference to this */
46 AliFMDPoints& operator=(const AliFMDPoints& other);
48 virtual ~AliFMDPoints();
50 @param x @f$ x@f$ coordinate
51 @param y @f$ y@f$ coordinate
52 @param z @f$ z@f$ coordinate */
53 void SetXYZ(Double_t x, Double_t y, Double_t z);
54 /** Calculate the distance to this object from cursor
55 @param px Curser X-position
56 @param py Cursor Y-position
57 @return Distance to @f$(p_x,p_y)@f$ */
58 Int_t DistancetoPrimitive(Int_t px, Int_t py);
60 @param option See TMarker3DBox::Draw */
61 void Draw(Option_t* option);
63 @param option See TMarker3DBox::Paint */
64 void Paint(Option_t* option);
65 /** @param colour Colour of marker */
66 void SetMarkerColor(Color_t colour);
69 TMarker3DBox* fMarker; // Marker