]> git.uio.no Git - u/mrichter/AliRoot.git/blame - STEER/AliPoints.h
Suffix top level Branch names with a dot, to allow switching on/off via SetBranchStat...
[u/mrichter/AliRoot.git] / STEER / AliPoints.h
CommitLineData
aee8290b 1#ifndef ALIPOINTS_H
2#define ALIPOINTS_H
3da30618 3/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
5
6/* $Id$ */
fe4da5cc 7
0742d588 8// This class contains the points
9// that are used for the ALICE
10// event display
11
fe4da5cc 12#include "TPolyMarker3D.h"
94de3818 13class AliDetector;
14class TParticle;
fe4da5cc 15
16class AliPoints : public TPolyMarker3D {
fe4da5cc 17public:
18 AliPoints();
aee8290b 19 AliPoints(const AliPoints& pts);
fe4da5cc 20 AliPoints(Int_t nhits);
21 virtual ~AliPoints();
22 virtual Int_t DistancetoPrimitive(Int_t px, Int_t py);
23 virtual void ExecuteEvent(Int_t event, Int_t px, Int_t py);
94de3818 24 AliDetector *GetDetector() const {return fDetector;}
25 Int_t GetIndex() const {return fIndex;}
1578254f 26 TParticle *GetParticle() const;
fe4da5cc 27 virtual const Text_t *GetName() const;
5d8718b8 28 virtual void InspectParticle() const; // *MENU*
116cbefd 29 virtual void DumpParticle() const; // *MENU*
e2afb3b6 30 virtual Text_t *GetObjectInfo(Int_t px, Int_t py) const;
31 AliPoints & operator=(const AliPoints &pts)
32 {pts.Copy(*this); return (*this);}
fe4da5cc 33 virtual void Propagate(); // *MENU*
34 virtual void SetDetector(AliDetector *det) {fDetector = det;}
35 virtual void SetParticle(Int_t index) {fIndex = index;}
36
aee8290b 37protected:
6c4904c2 38 void Copy(TObject &pts) const;
e2afb3b6 39
40 AliDetector *fDetector; //Pointer to AliDetector object
41 Int_t fIndex; //Particle number in AliRun::fParticles
aee8290b 42
fe4da5cc 43 ClassDef(AliPoints,1) //Class to draw detector hits (is PolyMarker3D)
44};
45#endif