]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Fixes to compile with gcc 4.3.0
authorhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 15 May 2008 12:40:32 +0000 (12:40 +0000)
committerhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 15 May 2008 12:40:32 +0000 (12:40 +0000)
PWG2/FEMTOSCOPY/AliFemto/AliFmPhysicalHelix.h

index 4b41a11731fa296d70e7809d186b46bedbc6daef..ae625181ae38a9c0d0839cbfb375f4db9c6f5af9 100644 (file)
@@ -13,9 +13,9 @@ class AliFmPhysicalHelix : public AliFmHelix {
  public:
   // Requires: momentum, origin, signed Magnetic Field
   //           and Charge of particle (+/- 1)
-  AliFmPhysicalHelix(const AliFmThreeVector<double>& v,
-                    const AliFmThreeVector<double>& v,
-                    double x, double x);
+  AliFmPhysicalHelix(const AliFmThreeVector<double>& v1,
+                    const AliFmThreeVector<double>& v2,
+                    double x, double y);
     
   // curvature, dip angle, phase, origin, h
   AliFmPhysicalHelix(double curvature, double dipAngle, double phase,
@@ -26,7 +26,7 @@ class AliFmPhysicalHelix : public AliFmHelix {
   
   // Requires:  signed Magnetic Field
   AliFmThreeVector<double> Momentum(double x) const;     // returns the momentum at origin
-  AliFmThreeVector<double> MomentumAt(double x, double x) const; // returns momemtum at S
+  AliFmThreeVector<double> MomentumAt(double x, double y) const; // returns momemtum at S
   int                   Charge(double x)   const;     // returns charge of particle
   // 2d DCA to x,y point signed relative to curvature
   double CurvatureSignedDistance(double x, double y) ;