]> git.uio.no Git - u/mrichter/AliRoot.git/blob - MUON/AliMUONTrackParam.h
3ed93358fa9bee674276d916f39a1ca27d7a4f52
[u/mrichter/AliRoot.git] / MUON / AliMUONTrackParam.h
1 #ifndef ALIMUONTRACKPARAM_H
2 #define ALIMUONTRACKPARAM_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
10 class AliMUONHitForRec;
11 class AliMUONSegment;
12
13 class AliMUONTrackParam : public TObject {
14  public:
15   AliMUONTrackParam(){
16     // Constructor
17     ;} // Constructor
18   virtual ~AliMUONTrackParam(){
19     // Destructor
20     ;} // Destructor
21
22   // Get and Set methods for data
23   Double_t GetInverseBendingMomentum(void);
24   void SetInverseBendingMomentum(Double_t InverseBendingMomentum);
25   Double_t GetBendingSlope(void);
26   void SetBendingSlope(Double_t BendingSlope);
27   Double_t GetNonBendingSlope(void);
28   void SetNonBendingSlope(Double_t NonBendingSlope);
29   Double_t GetZ(void);
30   void SetZ(Double_t Z);
31   Double_t GetBendingCoor(void);
32   void SetBendingCoor(Double_t BendingCoor);
33   Double_t GetNonBendingCoor(void);
34   void SetNonBendingCoor(Double_t NonBendingCoor);
35
36   void ExtrapToZ(Double_t Z);
37   void ExtrapToStation(Int_t Station, AliMUONTrackParam *TrackParam);
38
39  protected:
40  private:
41   Double_t fInverseBendingMomentum; // Inverse bending momentum (GeV/c ** -1)
42   Double_t fBendingSlope; // Bending slope (cm ** -1)
43   Double_t fNonBendingSlope; // Non bending slope (cm ** -1)
44   Double_t fZ; // Z coordinate (cm)
45   Double_t fBendingCoor; // bending coordinate (cm)
46   Double_t fNonBendingCoor; // non bending coordinate (cm)
47
48   void SetGeant3Parameters(Double_t *VGeant3, Double_t ForwardBackward);
49   void GetFromGeant3Parameters(Double_t *VGeant3, Double_t Charge);
50
51   ClassDef(AliMUONTrackParam, 1) // Class definition in ROOT context
52     };
53         
54 #endif