]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Removing warnings ...
authormartinez <martinez@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 14 Aug 2003 13:55:20 +0000 (13:55 +0000)
committermartinez <martinez@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 14 Aug 2003 13:55:20 +0000 (13:55 +0000)
MUON/AliMUONSegmentationV01.cxx
MUON/AliMUONSegmentationV01.h
MUON/AliMUONSegmentationV02.cxx
MUON/AliMUONSegmentationV02.h

index 3d7e6b3820cc33bcb3768e9119f7dfed230721e3..f6ad0b6ab632abb3c934636d637e4a7d1f5029e7 100644 (file)
@@ -38,7 +38,7 @@
 //___________________________________________
 ClassImp(AliMUONSegmentationV01)
 
-AliMUONSegmentationV01::AliMUONSegmentationV01(const AliMUONSegmentationV01& segmentation)
+  AliMUONSegmentationV01::AliMUONSegmentationV01(const AliMUONSegmentationV01& segmentation):AliMUONSegmentationV0(segmentation)
 {
 // Dummy copy constructor
 }
@@ -93,7 +93,7 @@ Float_t AliMUONSegmentationV01::Dpx(Int_t isec) const
    return dpx;
 }
 
-Float_t AliMUONSegmentationV01::Dpy(Int_t isec) const
+Float_t AliMUONSegmentationV01::Dpy(Int_t /*isec*/) const
 {
 //
 // Returns y-pad size for given sector isec
@@ -206,9 +206,8 @@ Int_t AliMUONSegmentationV01::Sector(Int_t ix, Int_t iy)
     }
     return isec;
 }
-
-void AliMUONSegmentationV01::
-GetPadI(Float_t x, Float_t y, Int_t &ix, Int_t &iy)
+//______________________________________________________________________
+void AliMUONSegmentationV01::GetPadI(Float_t x, Float_t y, Int_t &ix, Int_t &iy)
 {
 //  Returns pad coordinates (ix,iy) for given real coordinates (x,y)
 //
@@ -240,6 +239,12 @@ GetPadI(Float_t x, Float_t y, Int_t &ix, Int_t &iy)
     }
     ix = (x>0) ? ix:-ix;
 }
+//________________________________________________________________
+void AliMUONSegmentationV01::GetPadI(Float_t x, Float_t y , Float_t /*z*/, Int_t &ix, Int_t &iy) 
+{
+  GetPadI(x, y, ix, iy);
+}
+//________________________________________________________________
 
 void AliMUONSegmentationV01::
 GetPadC(Int_t ix, Int_t iy, Float_t &x, Float_t &y)
@@ -275,9 +280,8 @@ SetPad(Int_t ix, Int_t iy)
     fSector=Sector(ix,iy);
 }
 
-
-void AliMUONSegmentationV01::
-FirstPad(Float_t xhit, Float_t yhit, Float_t dx, Float_t dy)
+//______________________________________________________________________
+void AliMUONSegmentationV01::FirstPad(Float_t xhit, Float_t yhit, Float_t dx, Float_t dy)
 {
 // Initialises iteration over pads for charge distribution algorithm
 //
@@ -362,6 +366,12 @@ Int_t AliMUONSegmentationV01::MorePads()
     }
 */
 }
+//______________________________________________________________________
+void AliMUONSegmentationV01::FirstPad(Float_t xhit, Float_t yhit, Float_t /*zhit*/, Float_t dx, Float_t dy)
+{
+  FirstPad(xhit, yhit, dx, dy);
+}
+
 
 void AliMUONSegmentationV01::
 IntegrationLimits(Float_t& x1,Float_t& x2,Float_t& y1, Float_t& y2)
index 87b4dc32e6bc33ec6b4e4a931cc0938c5f654d9a..15de46577159a0dfa8bdfea6cc1603f2bfcdacb1 100644 (file)
@@ -38,8 +38,7 @@ public AliMUONSegmentationV0 {
     //
     // Transform from pad to real coordinates
     virtual void    GetPadI(Float_t x ,Float_t y ,Int_t   &ix,Int_t &iy);
-    virtual void    GetPadI(Float_t x, Float_t y , Float_t z, Int_t &ix, Int_t &iy) 
-       {GetPadI(x, y, ix, iy);}
+    virtual void    GetPadI(Float_t x, Float_t y , Float_t z, Int_t &ix, Int_t &iy);
     // Transform from real to pad coordinates
     virtual void    GetPadC(Int_t   ix,Int_t   iy,Float_t &x ,Float_t &y );
     virtual void    GetPadC(Int_t ix, Int_t iy, Float_t &x, Float_t &y, Float_t &z) 
@@ -62,8 +61,7 @@ public AliMUONSegmentationV0 {
     // Iterate over pads
     // Initialiser
     virtual void  FirstPad(Float_t xhit, Float_t yhit, Float_t dx, Float_t dy);
-    virtual void  FirstPad(Float_t xhit, Float_t yhit, Float_t zhit, Float_t dx, Float_t dy)
-       {FirstPad(xhit, yhit, dx, dy);}
+    virtual void  FirstPad(Float_t xhit, Float_t yhit, Float_t zhit, Float_t dx, Float_t dy);
     // Stepper
     virtual void  NextPad();
     // Condition
index 4edc3bcf5d6e1e2582cec83b27cba8ff17412f75..7e2264ab54f65e12df5547ef5d90d383582ec4cb 100644 (file)
@@ -50,7 +50,7 @@ Int_t AliMUONSegmentationV02::Npy() const
 {return AliMUONSegmentationV01::Npx();}
 
 
-Float_t AliMUONSegmentationV02::Dpx(Int_t isec) const
+Float_t AliMUONSegmentationV02::Dpx(Int_t /*isec*/) const
 // Returns pad-size in x
 {return fDpy;}
 
@@ -58,6 +58,9 @@ Float_t AliMUONSegmentationV02::Dpy(Int_t isec) const
 // Returns pad-size in y
 {return (*fDpxD)[isec];}
 
+void  AliMUONSegmentationV02::Draw(const char * /*opt*/) const 
+{}
+
 Int_t AliMUONSegmentationV02::Sector(Int_t ix, Int_t iy) 
 // Returns sector number for given pad position
 //
@@ -72,6 +75,11 @@ AliMUONSegmentationV01::GetPadI(y, x, iy, ix);
 // printf("\n x,y,ix,iy %f %f %d %d", x,y,ix,iy);
 }
 
+void AliMUONSegmentationV02::GetPad(Float_t x, Float_t y , Float_t /*z*/, Int_t &ix, Int_t &iy) 
+{
+  GetPadI(x, y, ix, iy);
+}
+
 void AliMUONSegmentationV02::
 GetPadC(Int_t ix, Int_t iy, Float_t &x, Float_t &y) 
 {
index f839959f29979476a726a2833db8e5405682f261..e7c6d9fc98fb5164dc82284f08c6ff873754d70c 100644 (file)
@@ -38,7 +38,7 @@ public AliMUONSegmentationV01 {
     virtual Int_t   Npy()  const;
     // calculate sector from pad coordinates
     virtual Int_t   Sector(Int_t ix, Int_t iy);
-    virtual void Draw(const char *opt="") const {}
+    virtual void Draw(const char *opt="") const;
     //
     // Transform from pad (wire) to real coordinates and vice versa
     // Transform from pad to real coordinates
@@ -47,8 +47,7 @@ public AliMUONSegmentationV01 {
        {z=fZ; GetPadC(ix, iy, x , y);}
     // Transform from pad to real coordinates
     virtual void    GetPadI(Float_t x ,Float_t y , Int_t &ix, Int_t &iy);
-    virtual void    GetPad(Float_t x, Float_t y , Float_t z, Int_t &ix, Int_t &iy) 
-       {GetPadI(x, y, ix, iy);}
+    virtual void    GetPad(Float_t x, Float_t y , Float_t z, Int_t &ix, Int_t &iy);
     // Set pad position
     virtual void    SetPad(Int_t ix,Int_t iy);
     // Stepper