]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MUON/AliMUONSegmentationV0.h
Compiler warning removed
[u/mrichter/AliRoot.git] / MUON / AliMUONSegmentationV0.h
index ed0e18ab65041318974564dedffe6f6a805a8820..517338e55a460e0d86c523fbd250974efa283491 100644 (file)
@@ -33,8 +33,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)  
-       {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) 
@@ -61,14 +60,11 @@ 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)
-       {SetHit(xhit, yhit);}
-    //
+    virtual void     SetHit(Float_t xhit, Float_t yhit, Float_t zhit);
     // 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
@@ -79,8 +75,7 @@ public AliSegmentation {
 dummy);
     // Number of pads read in parallel and offset to add to x 
     // (specific to LYON, but mandatory for display)
-    virtual void GetNParallelAndOffset(Int_t iX, Int_t iY,
-        Int_t *Nparallel, Int_t *Offset) {*Nparallel=1;*Offset=0;}
+    virtual void GetNParallelAndOffset(Int_t iX, Int_t iY, Int_t *Nparallel, Int_t *Offset);
     // Get next neighbours 
     virtual void Neighbours
        (Int_t iX, Int_t iY, Int_t* Nlist, Int_t Xlist[10], Int_t Ylist[10]) ;
@@ -93,7 +88,8 @@ dummy);
     // current sector
     virtual Int_t  ISector() {return 1;}
     // calculate sector from pad coordinates
-    virtual Int_t  Sector(Int_t ix, Int_t iy)  {return 1;}
+    virtual Int_t  Sector(Int_t ix, Int_t iy);
+    virtual Int_t  Sector(Float_t x, Float_t y);
     //
     // Signal Generation Condition during Stepping
     virtual Int_t SigGenCond(Float_t x, Float_t y, Float_t z) ;
@@ -108,7 +104,7 @@ dummy);
     virtual void Draw(const char *opt="") 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);
     // Get the correction Function
     virtual TF1* CorrFunc(Int_t) const {return fCorr;}
     // assignment operator
@@ -133,29 +129,29 @@ dummy);
     
     
     // Chamber region consideres during disintegration   
-    Int_t fIxmin; // lower left  x
-    Int_t fIxmax; // lower left  y
-    Int_t fIymin; // upper right x
-    Int_t fIymax; // upper right y 
+    Int_t fIxmin; // lower left  x
+    Int_t fIxmax; // lower left  y
+    Int_t fIymin; // upper right x
+    Int_t fIymax; // upper right y 
     //
     // Current pad during integration (cursor for disintegration)
-    Int_t fIx;  // pad coord.  x 
-    Int_t fIy;  // pad coord.  y 
-    Float_t fX; // real coord. x
-    Float_t fY; // real ccord. y
+    Int_t fIx;  // pad coord.  x 
+    Int_t fIy;  // pad coord.  y 
+    Float_t fX; // real coord. x
+    Float_t fY; // real ccord. y
     //
     // Current pad and wire during tracking (cursor at hit centre)
     //
     //
-    Float_t fXhit;  // x-position of hit
-    Float_t fYhit;  // y-position of hit
+    Float_t fXhit;  // x-position of hit
+    Float_t fYhit;  // y-position of hit
     // Reference point to define signal generation condition
-    Int_t fIxt;     // pad coord. x
-    Int_t fIyt;     // pad coord. y
-    Int_t fIwt;     // wire number
-    Float_t fXt;    // x
-    Float_t fYt;    // y
-    TF1*    fCorr;  // !correction function
+    Int_t fIxt;     // pad coord. x
+    Int_t fIyt;     // pad coord. y
+    Int_t fIwt;     // wire number
+    Float_t fXt;    // x
+    Float_t fYt;    // y
+    TF1*    fCorr;  // ! correction function
     //
     AliMUONChamber* fChamber; // ! Reference to mother chamber
     Int_t fId;                // Identifier