Removing useless forward declaration
[u/mrichter/AliRoot.git] / EVE / EveDet / AliEveMUONTrack.h
CommitLineData
d810d0de 1// $Id$
fafff680 2// Main authors: Matevz Tadel & Alja Mrak-Tadel & Bogdan Vulpescu: 2006, 2007
d810d0de 3
4/**************************************************************************
5 * Copyright(c) 1998-2008, ALICE Experiment at CERN, all rights reserved. *
6 * See http://aliceinfo.cern.ch/Offline/AliRoot/License.html for *
51346b82 7 * full copyright notice. *
d810d0de 8 **************************************************************************/
a15e6d7d 9#ifndef AliEveMUONTrack_H
10#define AliEveMUONTrack_H
e19f3684 11
84aff7a4 12#include <TEveTrack.h>
e19f3684 13
14class AliMUONTrack;
eadce74d 15class AliMUONTriggerTrack;
e19f3684 16class AliMagF;
eadce74d 17class AliESDMuonTrack;
18class AliTrackReference;
19
20class TParticle;
e19f3684 21
84aff7a4 22class TEveTrackPropagator;
e19f3684 23
e19f3684 24
d810d0de 25class AliEveMUONTrack: public TEveTrack
e19f3684 26{
e19f3684 27 public:
28
d810d0de 29 AliEveMUONTrack(TEveRecTrack* t, TEveTrackPropagator* rs);
30 virtual ~AliEveMUONTrack();
e19f3684 31
eadce74d 32 virtual void MakeTrack(Bool_t /*recurse*/=kFALSE) {}
33
34 void MakeMUONTrack(AliMUONTrack *mtrack);
35 void MakeMUONTriggerTrack(AliMUONTriggerTrack *mtrack);
36 void MakeESDTrack(AliESDMuonTrack *mtrack);
37 void MakeMCTrack(TParticle *part);
38 void MakeRefTrack(AliMUONTrack *mtrack);
e19f3684 39 void Propagate(Float_t *xr, Float_t *yr, Float_t *zr, Int_t i1, Int_t i2);
51346b82 40 void OneStepRungekutta(Double_t charge, Double_t step,
e19f3684 41 Double_t* vect, Double_t* vout);
42 Int_t ColorIndex(Float_t val);
43
a15e6d7d 44 Bool_t IsMUONTrack() const { return fIsMUONTrack; }
45 Bool_t IsMUONTriggerTrack() const { return fIsMUONTrack; }
46 Bool_t IsESDTrack() const { return fIsESDTrack; }
47 Bool_t IsMCTrack() const { return fIsMCTrack; }
48 Bool_t IsRefTrack() const { return fIsRefTrack; }
eadce74d 49
50 void PrintMCTrackInfo();
51 void PrintMUONTrackInfo();
52 void PrintMUONTriggerTrackInfo();
53 void PrintESDTrackInfo();
54
e19f3684 55 void MUONTrackInfo(); // *MENU*
56 void MUONTriggerInfo(); // *MENU*
57
58 private:
59
4b456ebb 60 AliEveMUONTrack(const AliEveMUONTrack&); // Not implemented
61 AliEveMUONTrack& operator=(const AliEveMUONTrack&); // Not implemented
62
e19f3684 63 AliMUONTrack *fTrack; // pointer to the MUON track
eadce74d 64 TParticle *fPart; // pointer to the MC particle
e19f3684 65 Int_t fCount; // track points counter
eadce74d 66 Bool_t fIsMUONTrack; // track from MUON.Tracks.root
67 Bool_t fIsMUONTriggerTrack; // trigger track from MUON.Tracks.root
68 Bool_t fIsESDTrack; // track from AliESDs.root
69 Bool_t fIsMCTrack; // track from Kinematics.root
70 Bool_t fIsRefTrack; // track from TrackRefs.root
71
4b456ebb 72 ClassDef(AliEveMUONTrack, 0); // Produce TEveUtil:TEveTrack from AliMUONTrack
e19f3684 73};
74
98d99a29 75class AliEveMUONTrackList : public TEveTrackList
76{
77public:
78 AliEveMUONTrackList(TEveTrackPropagator* rs=0) : TEveTrackList(rs) {}
79 AliEveMUONTrackList(const Text_t* name, TEveTrackPropagator* rs=0) : TEveTrackList(name, rs) {}
80 virtual ~AliEveMUONTrackList() {}
81
82 void HackMomentumLimits(Bool_t recurse=kTRUE);
83
84 ClassDef(AliEveMUONTrackList, 0); // Temporary workaround for deficiency in TEveTrackList
85};
86
e19f3684 87#endif
88