This commit was generated by cvs2svn to compensate for changes in r1018,
[u/mrichter/AliRoot.git] / ALIFAST / AliFParticle.h
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
16 class TMCParticle;
17 class TPolyLine3D;
18 class TList;
19 class AliFDisplay;
20
21 class AliFParticle : public TNamed {
22
23 private:
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    
29 public:
30                      AliFParticle() {;}
31                      AliFParticle(const char *name);
32    virtual          ~AliFParticle();
33    virtual void      Clear(Option_t *option="");
34    virtual void      Delete(Option_t *option="");
35    virtual Int_t     DistancetoPrimitive(Int_t px, Int_t py);
36    AliFDisplay      *Display() {return fDisplay;}
37    virtual void      ExecuteEvent(Int_t event, Int_t px, Int_t py);
38    virtual char     *GetObjectInfo(Int_t px, Int_t py);
39    TPolyLine3D      *HelixCurve(Float_t field, Float_t pmom, Float_t *vin);
40    virtual void      HelixStep(Float_t field, Float_t step, Float_t pmom, Float_t *vin, Float_t *vout);
41    virtual void      Paint(Option_t *option="");
42    virtual void      SetLineAttributes(); // *MENU*
43    virtual void      SizeParticles() const;
44
45    ClassDef(AliFParticle, 0)   //Graphics interface to event generators particle
46 };
47
48 #endif