]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - TRD/AliTRDclusterMI.h
Next round of effc++ changes
[u/mrichter/AliRoot.git] / TRD / AliTRDclusterMI.h
index 2ac4ea941f79de2a12cd4353350a6036cff8f9c2..4776f67369d6a1de15b3552c880c9cc327b3825c 100644 (file)
@@ -5,6 +5,11 @@
 
 /* $Id$ */
 
+///////////////////////////////////////////////////////////////////////////////
+//                                                                           //
+//  TRD cluster, alternative version                                         //
+//                                                                           //
+///////////////////////////////////////////////////////////////////////////////
 
 #include "AliTRDcluster.h"  
 #include "TMath.h"  
@@ -14,18 +19,26 @@ class AliTRDrecPoint;
 class AliTRDclusterMI : public AliTRDcluster {
 
  public:
+
   AliTRDclusterMI();
-  AliTRDclusterMI(AliTRDcluster&cl);
+  AliTRDclusterMI(const AliTRDcluster &c);
   AliTRDclusterMI(const AliTRDrecPoint &p);
-  void SetRelPos(Float_t pos){fRelPos = TMath::Nint(pos*128.);}
-  Float_t GetRelPos(){return float(fRelPos)/128.;}
-  void SetNPads(Int_t npads){fNPads = npads;}
-  Char_t GetNPads(){return fNPads;}
-  Float_t fRmsY;
+
+          void     SetRmsY(Float_t rmsy)          { fRmsY   = rmsy;                   }
+          void     SetNPads(Int_t npads)          { fNPads  = npads;                  }
+          void     SetRelPos(Float_t pos)         { fRelPos = TMath::Nint(pos*128.0); }
+
+          Float_t  GetRmsY() const                { return fRmsY;                     }
+          Char_t   GetNPads() const               { return fNPads;                    }
+          Float_t  GetRelPos() const              { return float(fRelPos)/128.0;      }
+
  protected:
-  Char_t fNPads;
-  Char_t fRelPos;                       
-  ClassDef(AliTRDclusterMI,1) // ClusterMI for the TRD
+
+          Float_t  fRmsY;                         // RMS in y direction ????
+          Char_t   fNPads;                        // Number of pads ????
+          Char_t   fRelPos;                      // Relative position ????
+
+  ClassDef(AliTRDclusterMI,2)                     // ClusterMI for the TRD
  
 };