* 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();
//
//
// 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);
// 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
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