* See cxx source for full Copyright notice */
/*$Id$*/
+// Revision of includes 07/05/2004
-#include <TROOT.h>
+/// \ingroup rec
+/// \class AliMUONTrackParam
+/// \brief Track parameters in ALICE dimuon spectrometer
+///
+////////////////////////////////////////////////////
+/// Track parameters in ALICE dimuon spectrometer
+////////////////////////////////////////////////////
-class AliMUONHitForRec;
-class AliMUONSegment;
+#include <TObject.h>
-class AliMUONTrackParam : public TObject {
+class AliMUONTrackParam : public TObject
+{
public:
- AliMUONTrackParam(){
- // Constructor
- ;} // Constructor
- virtual ~AliMUONTrackParam(){
- // Destructor
- ;} // Destructor
-
+ AliMUONTrackParam(); // Constructor
+ virtual ~AliMUONTrackParam(){} // Destructor
+
+ AliMUONTrackParam(const AliMUONTrackParam& rhs);// copy constructor (should be added per default !)
+ AliMUONTrackParam& operator=(const AliMUONTrackParam& rhs);// (should be added per default !)
// Get and Set methods for data
- Double_t GetInverseBendingMomentum(void);
- void SetInverseBendingMomentum(Double_t InverseBendingMomentum);
- Double_t GetBendingSlope(void);
- void SetBendingSlope(Double_t BendingSlope);
- Double_t GetNonBendingSlope(void);
- void SetNonBendingSlope(Double_t NonBendingSlope);
- Double_t GetZ(void);
- void SetZ(Double_t Z);
- Double_t GetBendingCoor(void);
- void SetBendingCoor(Double_t BendingCoor);
- Double_t GetNonBendingCoor(void);
- void SetNonBendingCoor(Double_t NonBendingCoor);
+ Double_t GetInverseBendingMomentum(void) const {return fInverseBendingMomentum;}
+ void SetInverseBendingMomentum(Double_t InverseBendingMomentum) {fInverseBendingMomentum = InverseBendingMomentum;}
+ Double_t GetBendingSlope(void) const {return fBendingSlope;}
+ void SetBendingSlope(Double_t BendingSlope) {fBendingSlope = BendingSlope;}
+ Double_t GetNonBendingSlope(void) const {return fNonBendingSlope;}
+ void SetNonBendingSlope(Double_t NonBendingSlope) {fNonBendingSlope = NonBendingSlope;}
+ Double_t GetZ(void) const {return fZ;}
+ void SetZ(Double_t Z) {fZ = Z;}
+ Double_t GetBendingCoor(void) const {return fBendingCoor;}
+ void SetBendingCoor(Double_t BendingCoor) {fBendingCoor = BendingCoor;}
+ Double_t GetNonBendingCoor(void) const {return fNonBendingCoor;}
+ void SetNonBendingCoor(Double_t NonBendingCoor) {fNonBendingCoor = NonBendingCoor;}
+ Double_t Px(); // return px
+ Double_t Py(); // return py
+ Double_t Pz(); // return pz
+ Double_t P(); // return total momentum
void ExtrapToZ(Double_t Z);
void ExtrapToStation(Int_t Station, AliMUONTrackParam *TrackParam);
- void ExtrapToVertex(); // extrapolation to vertex through the absorber
- void BransonCorrection(); // makes Branson correction
- Double_t TotalMomentumEnergyLoss(Double_t rLimit, Double_t pTotal, Double_t theta, Double_t xEndAbsorber, Double_t yEndAbsorber); // returns total momentum after energy loss correction in the absorber
+ void ExtrapToVertex(Double_t xVtx, Double_t yVtx, Double_t zVtx); // extrapolation to vertex through the absorber (with true vertex)
+ void BransonCorrection(Double_t xVtx, Double_t yVtx, Double_t zVtx); // makes Branson correction with true vertex
+ // returns total momentum after energy loss correction in the absorber
+ Double_t TotalMomentumEnergyLoss(Double_t thetaLimit, Double_t pTotal, Double_t theta);
+ void FieldCorrection(Double_t Z); // makes simple magnetic field correction through the absorber
+
+ void ExtrapOneStepHelix(Double_t charge, Double_t step,
+ Double_t *vect, Double_t *vout) const;
+ void ExtrapOneStepHelix3(Double_t field, Double_t step,
+ Double_t *vect, Double_t *vout) const;
+ void ExtrapOneStepRungekutta(Double_t charge, Double_t step,
+ Double_t* vect, Double_t* vout) const;
protected:
private:
Double_t fInverseBendingMomentum; // Inverse bending momentum (GeV/c ** -1) times the charge (assumed forward motion)
void SetGeant3Parameters(Double_t *VGeant3, Double_t ForwardBackward);
void GetFromGeant3Parameters(Double_t *VGeant3, Double_t Charge);
+ void GetField(Double_t *Position, Double_t *Field) const;
+
ClassDef(AliMUONTrackParam, 1) // Track parameters in ALICE dimuon spectrometer
};