]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MUON/AliMUONTrackParam.h
New TTask based method to do Digits To clusters. Works with files of multiple
[u/mrichter/AliRoot.git] / MUON / AliMUONTrackParam.h
index 3ed93358fa9bee674276d916f39a1ca27d7a4f52..6d63aab046e9c811b5d011b2bdce62b20dd4adba 100644 (file)
@@ -5,10 +5,11 @@
 
 /*$Id$*/
 
-#include <TROOT.h>
+///////////////////////////////////////////////////
+// Track parameters in ALICE dimuon spectrometer
+///////////////////////////////////////////////////
 
-class AliMUONHitForRec;
-class AliMUONSegment;
+#include <TObject.h>
 
 class AliMUONTrackParam : public TObject {
  public:
@@ -20,25 +21,28 @@ class AliMUONTrackParam : public TObject {
     ;} // Destructor
 
   // 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;}
 
   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
 
  protected:
  private:
-  Double_t fInverseBendingMomentum; // Inverse bending momentum (GeV/c ** -1)
+  Double_t fInverseBendingMomentum; // Inverse bending momentum (GeV/c ** -1) times the charge (assumed forward motion)
   Double_t fBendingSlope; // Bending slope (cm ** -1)
   Double_t fNonBendingSlope; // Non bending slope (cm ** -1)
   Double_t fZ; // Z coordinate (cm)
@@ -48,7 +52,7 @@ class AliMUONTrackParam : public TObject {
   void SetGeant3Parameters(Double_t *VGeant3, Double_t ForwardBackward);
   void GetFromGeant3Parameters(Double_t *VGeant3, Double_t Charge);
 
-  ClassDef(AliMUONTrackParam, 1) // Class definition in ROOT context
+  ClassDef(AliMUONTrackParam, 1) // Track parameters in ALICE dimuon spectrometer
     };
        
 #endif