]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MUON/AliMUONSegmentationV01.h
Sign error for bz corrected.
[u/mrichter/AliRoot.git] / MUON / AliMUONSegmentationV01.h
index 87b4dc32e6bc33ec6b4e4a931cc0938c5f654d9a..5094bac57b45b7e2f0cd1202086f8d00992f7f21 100644 (file)
@@ -5,25 +5,26 @@
  * See cxx source for full Copyright notice                               */
 
 /* $Id$ */
+// Revision of includes 07/05/2004
 
 /////////////////////////////////////////////////////
 //  Segmentation and Response classes version 01   //
 /////////////////////////////////////////////////////
-class AliMUON;
-class TObjArray;
+
+#include <TArrayF.h>  // needed for CINT
+#include <TArrayI.h>  // needed for CINT
 
 #include "AliMUONSegmentationV0.h"
-#include "TArrayI.h" // because the object, and not the pointer,
-#include "TArrayF.h" // belongs to the class
 
+class TObjArray;
 
-class AliMUONSegmentationV01 :
-public AliMUONSegmentationV0 {
+class AliMUON;
+
+class AliMUONSegmentationV01 : public AliMUONSegmentationV0 
+{
  public:
     AliMUONSegmentationV01();
     AliMUONSegmentationV01(Int_t nsec);
-    AliMUONSegmentationV01(const AliMUONSegmentationV01 & segmentation);
-    
     virtual ~AliMUONSegmentationV01();
     
     //    
@@ -38,12 +39,10 @@ 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) 
-       {z=fZ; GetPadC(ix, iy, x , y);}
+    virtual void    GetPadC(Int_t ix, Int_t iy, Float_t &x, Float_t &y, Float_t &z);
     //
     // Initialisation
     virtual void Init(Int_t chamber);
@@ -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
@@ -92,10 +90,13 @@ public AliMUONSegmentationV0 {
     virtual void SetCorrFunc(Int_t dum, TF1* func);
     // Get the correction function
     virtual TF1* CorrFunc(Int_t iZone) const;
+    ClassDef(AliMUONSegmentationV01,1) // Segmentation approximating circular zones with different pad size
+
+  protected:
+    AliMUONSegmentationV01(const AliMUONSegmentationV01 & segmentation);
     // assignment operator
     AliMUONSegmentationV01& operator=(const AliMUONSegmentationV01& rhs);
-    ClassDef(AliMUONSegmentationV01,1) // Segmentation approximating circular zones with different pad size
- protected:
+
     //  Geometry
     //
     Int_t       fNsec;           // Number of sectors