Removal of useless dependencies via forward declarations
[u/mrichter/AliRoot.git] / MUON / AliMUONTrack.h
CommitLineData
a9e2aefa 1#ifndef ALIMUONTRACK_H
2#define ALIMUONTRACK_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
c1a185bf 8#include "AliMUONTrackParam.h" // object belongs to the class
a9e2aefa 9
c1a185bf 10class TObjArray;
a9e2aefa 11class TClonesArray;
956019b6 12class TVirtualFitter;
a9e2aefa 13class AliMUONEventReconstructor;
14class AliMUONHitForRec;
15class AliMUONSegment;
16
17class AliMUONTrack : public TObject {
18 public:
19 AliMUONTrack(){
20 // Constructor
21 ;} // Constructor
8429a5e4 22 virtual ~AliMUONTrack(); // Destructor
a9e2aefa 23 AliMUONTrack (const AliMUONTrack& AliMUONTrack); // copy constructor
24 AliMUONTrack& operator=(const AliMUONTrack& AliMUONTrack); // assignment operator
25
26 AliMUONTrack(AliMUONSegment* BegSegment, AliMUONSegment* EndSegment, AliMUONEventReconstructor* EventReconstructor); // Constructor from two Segment's
27 AliMUONTrack(AliMUONSegment* Segment, AliMUONHitForRec* HitForRec, AliMUONEventReconstructor* EventReconstructor); // Constructor from one Segment and one HitForRec
8429a5e4 28 void Remove(void);
a9e2aefa 29
956019b6 30 AliMUONEventReconstructor* GetEventReconstructor(void) {return fEventReconstructor;}
31 AliMUONTrackParam* GetTrackParamAtVertex(void) { return &fTrackParamAtVertex;}
04b5ea16 32 void SetTrackParamAtVertex(void); // Set track parameters at vertex from last stations 4 & 5
956019b6 33 void SetTrackParamAtVertex(AliMUONTrackParam* TrackParam) {fTrackParamAtVertex = *TrackParam;}
04b5ea16 34
8429a5e4 35 TObjArray* GetTrackHitsPtr(void) { return fTrackHitsPtr;}
956019b6 36 Int_t GetNTrackHits(void) { return fNTrackHits;}
37 Int_t GetFitMCS(void) {return fFitMCS;}
38 Int_t GetFitNParam(void) {return fFitNParam;}
39 Int_t GetFitStart(void) {return fFitStart;}
8429a5e4 40 Double_t GetFitFMin(void) {return fFitFMin;}
04b5ea16 41 void SetFitMCS(Int_t FitMCS);
956019b6 42 void SetFitNParam(Int_t FitNParam);
43 void SetFitStart(Int_t FitStart);
04b5ea16 44
45 AliMUONTrackParam* GetTrackParamAtFirstHit(void);
a9e2aefa 46
47 void RecursiveDump(void); // Recursive dump (with track hits)
956019b6 48 void Fit(); // Fit
a9e2aefa 49 void AddSegment(AliMUONSegment* Segment); // Add Segment
50 void AddHitForRec(AliMUONHitForRec* HitForRec); // Add HitForRec
51 void SetTrackParamAtHit(Int_t indexHit, AliMUONTrackParam *TrackParam);
8429a5e4 52 Int_t HitsInCommon(AliMUONTrack* Track);
a9e2aefa 53
9774ee3a 54 static TVirtualFitter* Fitter(void) {return fgFitter;}
956019b6 55
a9e2aefa 56 protected:
57 private:
956019b6 58 static TVirtualFitter* fgFitter; // Pointer to track fitter
a9e2aefa 59 AliMUONEventReconstructor* fEventReconstructor; // Pointer to EventReconstructor
60 AliMUONTrackParam fTrackParamAtVertex; // Track parameters at vertex
8429a5e4 61 TObjArray *fTrackHitsPtr; // Pointer to array of pointers to TrackHit's
a9e2aefa 62 Int_t fNTrackHits; // Number of TrackHit's
04b5ea16 63 Int_t fFitMCS; // 0(1) for fit without(with) multiple Coulomb scattering
956019b6 64 Int_t fFitNParam; // 3(5) for fit with 3(5) parameters
65 Int_t fFitStart; // 0 or 1 for fit starting from parameters at vertex (0) or at first TrackHit(1)
8429a5e4 66 Double_t fFitFMin; // minimum value of the function minimized by the fit
a9e2aefa 67
044d512b 68 ClassDef(AliMUONTrack, 1) // Reconstructed track in ALICE dimuon spectrometer
a9e2aefa 69 };
70
71#endif