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