]> git.uio.no Git - u/mrichter/AliRoot.git/blame - TRD/AliTRDclusterMI.h
Some code cleanup
[u/mrichter/AliRoot.git] / TRD / AliTRDclusterMI.h
CommitLineData
64b82e53 1#ifndef ALITRDCLUSTERMI_H
2#define ALITRDCLUSTERMI_H
3/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
5
6/* $Id$ */
7
6d50f529 8///////////////////////////////////////////////////////////////////////////////
9// //
10// TRD cluster, alternative version //
11// //
12///////////////////////////////////////////////////////////////////////////////
64b82e53 13
14#include "AliTRDcluster.h"
15#include "TMath.h"
16
64b82e53 17class AliTRDclusterMI : public AliTRDcluster {
18
19 public:
6d50f529 20
64b82e53 21 AliTRDclusterMI();
6d50f529 22 AliTRDclusterMI(const AliTRDcluster &c);
6d50f529 23
acc49af9 24 void SetRmsY(Float_t rmsy) { fRmsY = rmsy; }
25 void SetNPads(Int_t npads) { fNPadsMI = npads; }
26 void SetRelPos(Float_t pos) { fRelPos = TMath::Nint(pos*128.0); }
6d50f529 27
acc49af9 28 Float_t GetRmsY() const { return fRmsY; }
29 Char_t GetNPads() const { return fNPadsMI; }
30 Float_t GetRelPos() const { return float(fRelPos)/128.0; }
6d50f529 31
64b82e53 32 protected:
6d50f529 33
34 Float_t fRmsY; // RMS in y direction ????
acc49af9 35 Char_t fNPadsMI; // Number of pads ????
6d50f529 36 Char_t fRelPos; // Relative position ????
37
38 ClassDef(AliTRDclusterMI,2) // ClusterMI for the TRD
64b82e53 39
40};
41
42#endif