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