/* $Id$ */
+///////////////////////////////////////////////////////////////////////////////
+// //
+// TRD cluster, alternative version //
+// //
+///////////////////////////////////////////////////////////////////////////////
#include "AliTRDcluster.h"
#include "TMath.h"
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
};