Make coherent ROOTLIBS definition
[u/mrichter/AliRoot.git] / ALIFAST / AliFParticle.h
CommitLineData
65a39007 1#ifndef AliFParticle_H
2#define AliFParticle_H
3
4//////////////////////////////////////////////////////////////////////////
5// //
6// AliFParticle //
7// //
8// Graphics interface to event generators particle //
9// //
10//////////////////////////////////////////////////////////////////////////
11
12#ifndef ROOT_TNamed
13#include <TNamed.h>
14#endif
15
16class TMCParticle;
17class TPolyLine3D;
18class TList;
19class AliFDisplay;
20
21class AliFParticle : public TNamed {
22
23private:
24 TList *fParticles; //List for particles
25 AliFDisplay *fDisplay; //pointer to AliFDisplay object
26 TMCParticle *fMCParticle; //pointer to selected particle
27 TPolyLine3D *fLine; //pointer to line3D
28
29public:
2685bf00 30 AliFParticle() {
31 fParticles = 0;
32 fDisplay = 0;
33 fMCParticle = 0;
34 fLine = 0;
35 }
65a39007 36 AliFParticle(const char *name);
37 virtual ~AliFParticle();
38 virtual void Clear(Option_t *option="");
39 virtual void Delete(Option_t *option="");
40 virtual Int_t DistancetoPrimitive(Int_t px, Int_t py);
41 AliFDisplay *Display() {return fDisplay;}
42 virtual void ExecuteEvent(Int_t event, Int_t px, Int_t py);
43 virtual char *GetObjectInfo(Int_t px, Int_t py);
44 TPolyLine3D *HelixCurve(Float_t field, Float_t pmom, Float_t *vin);
45 virtual void HelixStep(Float_t field, Float_t step, Float_t pmom, Float_t *vin, Float_t *vout);
46 virtual void Paint(Option_t *option="");
47 virtual void SetLineAttributes(); // *MENU*
48 virtual void SizeParticles() const;
49
50 ClassDef(AliFParticle, 0) //Graphics interface to event generators particle
51};
52
53#endif