]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MUON/AliMUONSt345SlatSegmentationV2.h
In PointSetArray: added member for default daughter PointSet capacity (fDefPointSetCa...
[u/mrichter/AliRoot.git] / MUON / AliMUONSt345SlatSegmentationV2.h
index 741f1ba1be200bf9416bc4f951da3e27a194ac0e..8409a4241d3998a00946baafe83c3e7a1fe4b2c7 100644 (file)
@@ -31,7 +31,8 @@ class AliMUONSt345SlatSegmentationV2 : public AliMUONVGeometryDESegmentation
  public:
 
   AliMUONSt345SlatSegmentationV2();
-  AliMUONSt345SlatSegmentationV2(Int_t detElemId,
+  AliMUONSt345SlatSegmentationV2(AliMpVSegmentation* segmentation,
+                                 Int_t detElemId,
                                 AliMpPlaneType bendingOrNonBending);
   virtual ~AliMUONSt345SlatSegmentationV2();
 
@@ -67,22 +68,22 @@ class AliMUONSt345SlatSegmentationV2 : public AliMUONVGeometryDESegmentation
   Int_t SigGenCond(Float_t x, Float_t y, Float_t z);
   void SigGenInit(Float_t x, Float_t y, Float_t z);
 
-  void SetCorrFunc(Int_t,  TF1*);
+  void SetCorrFunc(Int_t isec,  TF1* func);
 
-  TF1* CorrFunc(Int_t) const;
+  TF1* CorrFunc(Int_t isec) const;
 
-  void SetPadSize(float,float);
+  void SetPadSize(float x,float y);
 
-  void SetDAnod(float);
+  void SetDAnod(float d);
 
-  void Init(int);
-  void Draw(Option_t * = "");
+  void Init(int /*chamber*/) {}  ///< Not implemented
+  void Draw(Option_t* opt = "");
 
   Float_t Dpx() const;
   Float_t Dpy() const;
   
-  Float_t Dpx(int) const;
-  Float_t Dpy(int) const;
+  Float_t Dpx(int ipcb) const;
+  Float_t Dpy(int ipcb) const;
   
   Float_t GetAnod(Float_t xhit) const;
 
@@ -93,13 +94,13 @@ class AliMUONSt345SlatSegmentationV2 : public AliMUONVGeometryDESegmentation
   void SetPad(Int_t ix,Int_t iy);
   
   /// Sets the current hit.
-  void SetHit(Float_t x, Float_t y, Float_t z_is_not_used);
+  void SetHit(Float_t x, Float_t y, Float_t zIsNotUsed);
  
   AliMUONGeometryDirection GetDirection();// { return kDirUndefined; }
 
   const AliMpVSegmentation* GetMpSegmentation() const;
 
-  /// to be deprecated. Use the one below w/o z instead.
+  /// \deprecated. Use the one below w/o z instead.
   void GetPadC(Int_t ix, Int_t iy, Float_t& x, Float_t& y, Float_t& z);
 
   /// From pad indices to coordinates (cm).
@@ -121,21 +122,21 @@ class AliMUONSt345SlatSegmentationV2 : public AliMUONVGeometryDESegmentation
   /// Print.
   void Print(Option_t* opt = "") const;
 
+ protected:
+  AliMUONSt345SlatSegmentationV2(const AliMUONSt345SlatSegmentationV2& right);
+  AliMUONSt345SlatSegmentationV2&  operator = (const AliMUONSt345SlatSegmentationV2& right);
+     
  private:
 
-   void ReadMappingData();
-        
- private:
-
-  Int_t fDetElemId;
-       AliMpPlaneType fPlaneType;
-  const AliMpSlat* fSlat; //!
-  AliMpSlatSegmentation* fSlatSegmentation; //!
-  AliMpVPadIterator* fPadIterator; //!
-  AliMpPad fCurrentPad; //!FIXME: should not be needed, if we externalise the SetPad, SetHit, IntegrationLimits methods which have nothing to do here anyway, together with the iteration methods FirstPad, NextPad, MorePads, which have nothing to do here either.
-  Float_t fXhit; //!
-  Float_t fYhit; //!
-  ClassDef(AliMUONSt345SlatSegmentationV2,1)
+  Int_t fDetElemId;                ///< det element Id
+       AliMpPlaneType fPlaneType; ///< plane type
+  const AliMpSlat* fSlat;          ///< slat
+  AliMpSlatSegmentation* fSlatSegmentation; ///< slat segmentation
+  AliMpVPadIterator* fPadIterator; //!< pad iterator
+  AliMpPad fCurrentPad; //!< FIXME: should not be needed, if we externalise the SetPad, SetHit, IntegrationLimits methods which have nothing to do here anyway, together with the iteration methods FirstPad, NextPad, MorePads, which have nothing to do here either.
+  Float_t fXhit;        //!<  x-position of hit
+  Float_t fYhit;        //!<  y-position of hit
+  ClassDef(AliMUONSt345SlatSegmentationV2,1) // St345 segmentation V2
 };
 
 #endif