]> git.uio.no Git - u/mrichter/AliRoot.git/blob - MUON/AliMUONTrackParam.h
Adding local data container for clusterisation and tracking (Christian Finck)
[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 ///////////////////////////////////////////////////
9 // Track parameters in ALICE dimuon spectrometer
10 ///////////////////////////////////////////////////
11
12 #include <TObject.h>
13
14 class AliMUONTrackParam : public TObject {
15  public:
16   AliMUONTrackParam(){
17     // Constructor
18     ;} // Constructor
19   virtual ~AliMUONTrackParam(){
20     // Destructor
21     ;} // Destructor
22   
23   AliMUONTrackParam(const AliMUONTrackParam& );// copy constructor (should be added per default !)
24   AliMUONTrackParam& operator=(const  AliMUONTrackParam& );// (should be added per default !)
25   // Get and Set methods for data
26   Double_t GetInverseBendingMomentum(void) const {return fInverseBendingMomentum;}
27   void SetInverseBendingMomentum(Double_t InverseBendingMomentum) {fInverseBendingMomentum = InverseBendingMomentum;}
28   Double_t GetBendingSlope(void) const {return fBendingSlope;}
29   void SetBendingSlope(Double_t BendingSlope) {fBendingSlope = BendingSlope;}
30   Double_t GetNonBendingSlope(void) const {return fNonBendingSlope;}
31   void SetNonBendingSlope(Double_t NonBendingSlope) {fNonBendingSlope = NonBendingSlope;}
32   Double_t GetZ(void) const {return fZ;}
33   void SetZ(Double_t Z) {fZ = Z;}
34   Double_t GetBendingCoor(void) const {return fBendingCoor;}
35   void SetBendingCoor(Double_t BendingCoor) {fBendingCoor = BendingCoor;}
36   Double_t GetNonBendingCoor(void) const {return fNonBendingCoor;}
37   void SetNonBendingCoor(Double_t NonBendingCoor) {fNonBendingCoor = NonBendingCoor;}
38
39   void ExtrapToZ(Double_t Z);
40   void ExtrapToStation(Int_t Station, AliMUONTrackParam *TrackParam);
41   void ExtrapToVertex();  // extrapolation to vertex through the absorber
42   void BransonCorrection(); // makes Branson correction
43   // returns total momentum after energy loss correction in the absorber
44   Double_t TotalMomentumEnergyLoss(Double_t thetaLimit, Double_t pTotal, Double_t theta);
45   void FieldCorrection(Double_t Z); // makes simple magnetic field correction through the absorber 
46
47  protected:
48  private:
49   Double_t fInverseBendingMomentum; // Inverse bending momentum (GeV/c ** -1) times the charge (assumed forward motion)
50   Double_t fBendingSlope; // Bending slope (cm ** -1)
51   Double_t fNonBendingSlope; // Non bending slope (cm ** -1)
52   Double_t fZ; // Z coordinate (cm)
53   Double_t fBendingCoor; // bending coordinate (cm)
54   Double_t fNonBendingCoor; // non bending coordinate (cm)
55
56   void SetGeant3Parameters(Double_t *VGeant3, Double_t ForwardBackward);
57   void GetFromGeant3Parameters(Double_t *VGeant3, Double_t Charge);
58
59   ClassDef(AliMUONTrackParam, 1) // Track parameters in ALICE dimuon spectrometer
60     };
61         
62 #endif