]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Removing warnings ...
authormartinez <martinez@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 18 Aug 2003 09:58:21 +0000 (09:58 +0000)
committermartinez <martinez@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 18 Aug 2003 09:58:21 +0000 (09:58 +0000)
MUON/AliMUONClusterInput.cxx
MUON/AliMUONResponseV0.cxx
MUON/AliMUONSegmentationV01.cxx
MUON/AliMUONSegmentationV1.cxx
MUON/AliMUONSegmentationV1.h

index ba0a17f3f1570237de38f5741e676f27f21723b6..05dc3edc1fd56a6f5314da7e10f252b8c62f76d2 100644 (file)
@@ -212,7 +212,7 @@ Float_t AliMUONClusterInput::DiscrChargeCombiS2(Int_t i,Double_t *par, Int_t cat
 }
 
 AliMUONClusterInput& AliMUONClusterInput
-::operator = (const AliMUONClusterInput& rhs)
+::operator = (const AliMUONClusterInput& /*rhs*/)
 {
 // Dummy assignment operator
     return *this;
index 25b16d06ed17daac7bc618e80a9b68b1fb65459c..496f7061360087113f132395639a2aba724ee203 100644 (file)
@@ -92,7 +92,7 @@ Float_t AliMUONResponseV0::IntXY(AliSegmentation * segmentation)
                      fKy4*(TMath::ATan(uy2)-TMath::ATan(uy1)));
 }
 
-Int_t  AliMUONResponseV0::DigitResponse(Int_t digit, AliMUONTransientDigit* where)
+Int_t  AliMUONResponseV0::DigitResponse(Int_t digit, AliMUONTransientDigit* /*where*/)
 {
     // add white noise and do zero-suppression and signal truncation
 //     Float_t meanNoise = gRandom->Gaus(1, 0.2);
index f6ad0b6ab632abb3c934636d637e4a7d1f5029e7..399b3304650663c576fdaa1cf9d9cadd07f77f76 100644 (file)
@@ -615,7 +615,7 @@ TF1* AliMUONSegmentationV01::CorrFunc(Int_t isec) const
 }
 
 AliMUONSegmentationV01& AliMUONSegmentationV01::operator 
-=(const AliMUONSegmentationV01 & rhs)
+=(const AliMUONSegmentationV01 & /*rhs*/)
 {
 // Dummy assignment operator
     return *this;
index 872c63e56ddd4e87a544956e4231667895270e3d..9f7e36007a70fc58a2d42181fabb922dc0e86464 100644 (file)
@@ -29,7 +29,7 @@
 //___________________________________________
 ClassImp(AliMUONSegmentationV1)
 
-AliMUONSegmentationV1::AliMUONSegmentationV1(const AliMUONSegmentationV1& segmentation)
+  AliMUONSegmentationV1::AliMUONSegmentationV1(const AliMUONSegmentationV1& segmentation):AliSegmentation(segmentation)
 {
 // Dummy copy constructor
 }
@@ -283,7 +283,7 @@ Int_t AliMUONSegmentationV1::IsParallel3(Int_t iX, Int_t iY)
     return (iX%9)/3+1 - (iY%3==2 && iX%3==0);
 }
 
-Int_t AliMUONSegmentationV1::NParallel2(Int_t iX, Int_t iY)
+Int_t AliMUONSegmentationV1::NParallel2(Int_t /*iX*/, Int_t iY)
 {
 // returns the number of pads connected in parallel for zone 2
 // iX and iY are assumed to be positive and starting at 0 numbering (cF. iX)
@@ -355,7 +355,7 @@ Int_t AliMUONSegmentationV1::ISector()
     return GetZone(fIx,fIy);
 }
 
-void AliMUONSegmentationV1::SigGenInit(Float_t x,Float_t y,Float_t z)
+void AliMUONSegmentationV1::SigGenInit(Float_t x,Float_t y,Float_t /*z*/)
 {
 //
 //  Initialises pad and wire position during stepping
@@ -366,7 +366,7 @@ void AliMUONSegmentationV1::SigGenInit(Float_t x,Float_t y,Float_t z)
 
 }
 
-Int_t AliMUONSegmentationV1::SigGenCond(Float_t x,Float_t y,Float_t z)
+Int_t AliMUONSegmentationV1::SigGenCond(Float_t x,Float_t y,Float_t /*z*/)
 {
 //
 //  Signal will be generated if particle crosses pad boundary or
@@ -539,7 +539,7 @@ void AliMUONSegmentationV1::GiveTestPoints(Int_t &n, Float_t *x, Float_t *y) con
     y[0]=x[0];
 }
 
-AliMUONSegmentationV1& AliMUONSegmentationV1::operator =(const AliMUONSegmentationV1 & rhs)
+AliMUONSegmentationV1& AliMUONSegmentationV1::operator =(const AliMUONSegmentationV1 & /*rhs*/)
 {
 // Dummy assignment operator
     return *this;
index 4998c0b825accd3a10c2ce2f8e94d0adfb8cb3e6..aa63ed8edef9611136bb91bffea204f0cc9ca94b 100644 (file)
@@ -43,9 +43,9 @@ public AliSegmentation {
      // Pad size in y 
     virtual Float_t Dpy() const {return fDpy;}
     // Pad size in x by Sector
-    virtual Float_t Dpx(Int_t i) const {return fDpx;}
+    virtual Float_t Dpx(Int_t /*i*/) const {return fDpx;}
     // Pad size in y by Sector 
-    virtual Float_t Dpy(Int_t i)const {return fDpy;}
+    virtual Float_t Dpy(Int_t /*i*/)const {return fDpy;}
     // Maximum number of Pads in x
     virtual Int_t   Npx() const {return fNpx;}
     // Maximum number of Pads in y
@@ -61,7 +61,7 @@ public AliSegmentation {
     virtual Float_t GetAnod(Float_t xhit) const;
     // 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)
+    virtual void    GetPadI(Float_t x, Float_t y , Float_t /*z*/, Int_t &ix, Int_t &iy)
        {GetPadI(x, y, ix, iy);}
     // Transform from real to pad coordinates
     virtual void    GetPadC(Int_t ix, Int_t iy, Float_t &x, Float_t &y);
@@ -71,7 +71,7 @@ public AliSegmentation {
     virtual void     SetPad(Int_t ix, Int_t iy);
     // Set hit position
     virtual void     SetHit(Float_t xhit, Float_t yhit);
-    virtual void     SetHit(Float_t xhit, Float_t yhit, Float_t zhit)
+    virtual void     SetHit(Float_t xhit, Float_t yhit, Float_t /*zhit*/)
         {SetHit(xhit, yhit);}
     //
     // Iterate over pads
@@ -79,7 +79,7 @@ public AliSegmentation {
     virtual void SetPadCoord(Int_t iX, Int_t iY);
     // 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)
+    virtual void  FirstPad(Float_t xhit, Float_t yhit, Float_t /*zhit*/, Float_t dx, Float_t dy)
        {FirstPad(xhit, yhit, dx, dy);}
     // Stepper
     virtual void  NextPad();
@@ -103,8 +103,8 @@ public AliSegmentation {
     // current sector
     virtual Int_t ISector();
     // calculate sector from pad coordinates
-    virtual Int_t Sector(Int_t ix, Int_t iy)   {return 1;}
-    virtual Int_t Sector(Float_t x, Float_t y) {return 1;}
+    virtual Int_t Sector(Int_t /*ix*/, Int_t /*iy*/)   {return 1;}
+    virtual Int_t Sector(Float_t /*x*/, Float_t /*y*/) {return 1;}
     // Position of pad in perellel read-out
     virtual Int_t IsParallel2(Int_t iX, Int_t iY);
     virtual Int_t IsParallel3(Int_t iX, Int_t iY);
@@ -131,7 +131,7 @@ public AliSegmentation {
     virtual void Draw(const char * = "") const {}
     // Function for systematic corrections
     // Set the correction function
-    virtual void SetCorrFunc(Int_t dum, TF1* func) {fCorr=func;}
+    virtual void SetCorrFunc(Int_t /*dum*/, TF1* func) {fCorr=func;}
     // Get the correction function
     virtual TF1* CorrFunc(Int_t) const {return fCorr;}
     //