Changes to EventReconstructor...:
[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
8#include <TROOT.h>
9#include <TClonesArray.h>
10#include "AliMUONTrackHit.h"
11#include "AliMUONTrackParam.h"
12
13class TClonesArray;
14class AliMUONEventReconstructor;
15class AliMUONHitForRec;
16class AliMUONSegment;
17
18class AliMUONTrack : public TObject {
19 public:
20 AliMUONTrack(){
21 // Constructor
22 ;} // Constructor
23 virtual ~AliMUONTrack(){
24 // Destructor
25 ;} // Destructor
26 AliMUONTrack (const AliMUONTrack& AliMUONTrack); // copy constructor
27 AliMUONTrack& operator=(const AliMUONTrack& AliMUONTrack); // assignment operator
28
29 AliMUONTrack(AliMUONSegment* BegSegment, AliMUONSegment* EndSegment, AliMUONEventReconstructor* EventReconstructor); // Constructor from two Segment's
30 AliMUONTrack(AliMUONSegment* Segment, AliMUONHitForRec* HitForRec, AliMUONEventReconstructor* EventReconstructor); // Constructor from one Segment and one HitForRec
31
04b5ea16 32 AliMUONEventReconstructor* GetEventReconstructor(void) {return fEventReconstructor;};
a9e2aefa 33 AliMUONTrackParam* GetTrackParamAtVertex(void);
04b5ea16 34 void SetTrackParamAtVertex(void); // Set track parameters at vertex from last stations 4 & 5
35 void SetTrackParamAtVertex(AliMUONTrackParam* TrackParam) {fTrackParamAtVertex = *TrackParam;};
36
a9e2aefa 37 TClonesArray* GetTrackHitsPtr(void);
38 Int_t GetNTrackHits(void);
04b5ea16 39 Int_t GetFitMCS(void) {return fFitMCS;};
40 void SetFitMCS(Int_t FitMCS);
41
42 AliMUONTrackParam* GetTrackParamAtFirstHit(void);
a9e2aefa 43
44 void RecursiveDump(void); // Recursive dump (with track hits)
45 void Fit(AliMUONTrackParam *TrackParam, Int_t NParam); // Fit
46 void AddSegment(AliMUONSegment* Segment); // Add Segment
47 void AddHitForRec(AliMUONHitForRec* HitForRec); // Add HitForRec
48 void SetTrackParamAtHit(Int_t indexHit, AliMUONTrackParam *TrackParam);
49
50 protected:
51 private:
52 AliMUONEventReconstructor* fEventReconstructor; // Pointer to EventReconstructor
53 AliMUONTrackParam fTrackParamAtVertex; // Track parameters at vertex
54 TClonesArray *fTrackHitsPtr; // Pointer to array of TrackHit's
55 Int_t fNTrackHits; // Number of TrackHit's
04b5ea16 56 Int_t fFitMCS; // 0(1) for fit without(with) multiple Coulomb scattering
a9e2aefa 57
58 ClassDef(AliMUONTrack, 1) // Class definition in ROOT context
59 };
60
61#endif