]> git.uio.no Git - u/mrichter/AliRoot.git/blame - FMD/AliFMDPoints.h
Moving the destructor to the implementation file
[u/mrichter/AliRoot.git] / FMD / AliFMDPoints.h
CommitLineData
02a27b50 1#ifndef ALIFMDPOINTS_H
2#define ALIFMDPOINTS_H
3/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights
4 * reserved.
5 *
6 * Latest changes by Christian Holm Christensen <cholm@nbi.dk>
7 *
8 * See cxx source for full Copyright notice
9 */
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.
14 @ingroup FMD_sim
15*/
16#ifndef ALIPOINTS_H
17# include <AliPoints.h>
18#endif
19class AliFMHit;
20class TMarker3DBox;
21
22/** @class AliFMDPoints
23 @brief Class to draw hits for the FMD
24 @ingroup FMD_sim
25 */
26class AliFMDPoints : public AliPoints
27{
28public:
29 /** Constructor
30 @param hit Hit to draw
31 @param color Color of hit */
32 AliFMDPoints(AliFMDHit* hit, UInt_t color);
33 /** Copy constructor
34 @param other Objct to copy from */
35 AliFMDPoints(const AliFMDPoints& other);
36 /** Assignment operator
37 @param other Objct to copy from
38 @return reference to this */
39 AliFMDPoints& operator=(const AliFMDPoints& other);
40 /** Destructor */
41 virtual ~AliFMDPoints();
42 /** Set position
43 @param x @f$ x@f$ coordinate
44 @param y @f$ y@f$ coordinate
45 @param z @f$ z@f$ coordinate */
46 void SetXYZ(Double_t x, Double_t y, Double_t z);
47 /** Calculate the distance to this object from cursor
48 @param px Curser X-position
49 @param py Cursor Y-position
50 @return Distance to @f$(p_x,p_y)@f$ */
51 Int_t DistancetoPrimitive(Int_t px, Int_t py);
52 /** Attach to canvas
53 @param option See TMarker3DBox::Draw */
54 void Draw(Option_t* option);
55 /** Paint in canvas
56 @param option See TMarker3DBox::Paint */
57 void Paint(Option_t* option);
58 /** @param colour Colour of marker */
59 void SetMarkerColor(Color_t colour);
60private:
61 /** Marker */
62 TMarker3DBox* fMarker; // Marker
63};
64
65#endif
66// Local Variables:
67// mode: C++
68// End:
69//
70// EOF
71//