]> git.uio.no Git - u/mrichter/AliRoot.git/blob - STEER/AliPoints.h
Coding convention corrections + few minor bug fixes
[u/mrichter/AliRoot.git] / STEER / AliPoints.h
1 #ifndef ALIPOINTS_H
2 #define ALIPOINTS_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 "AliDetector.h"
10 #include "TParticle.h"
11
12 class AliPoints : public TPolyMarker3D {
13 public:
14   AliPoints();
15   AliPoints(const AliPoints& pts);
16   AliPoints(Int_t nhits);
17   virtual ~AliPoints();
18   virtual void          Copy(AliPoints &pts) const;
19   virtual Int_t         DistancetoPrimitive(Int_t px, Int_t py);
20   virtual void          ExecuteEvent(Int_t event, Int_t px, Int_t py);
21   AliDetector          *GetDetector() {return fDetector;}
22   Int_t                 GetIndex() {return fIndex;}
23   TParticle            *GetParticle() const;
24   virtual const Text_t *GetName() const;
25   virtual void          InspectParticle(); // *MENU*
26   virtual void          DumpParticle(); // *MENU*
27   virtual Text_t       *GetObjectInfo(Int_t px, Int_t py);
28   virtual AliPoints &   operator=(const AliPoints &pts);
29   virtual void          Propagate(); // *MENU*
30   virtual void          SetDetector(AliDetector *det) {fDetector = det;}
31   virtual void          SetParticle(Int_t index) {fIndex = index;}
32   
33 protected:
34    AliDetector     *fDetector;    //Pointer to AliDetector object
35    Int_t            fIndex;       //Particle number in AliRun::fParticles
36
37   ClassDef(AliPoints,1) //Class to draw detector hits (is PolyMarker3D)
38 };
39 #endif