]>
Commit | Line | Data |
---|---|---|
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 | ||
17 | class AliTRDrecPoint; | |
18 | ||
19 | class AliTRDclusterMI : public AliTRDcluster { | |
20 | ||
21 | public: | |
6d50f529 | 22 | |
64b82e53 | 23 | AliTRDclusterMI(); |
6d50f529 | 24 | AliTRDclusterMI(const AliTRDcluster &c); |
64b82e53 | 25 | AliTRDclusterMI(const AliTRDrecPoint &p); |
6d50f529 | 26 | |
27 | void SetRmsY(Float_t rmsy) { fRmsY = rmsy; } | |
28 | void SetNPads(Int_t npads) { fNPads = npads; } | |
29 | void SetRelPos(Float_t pos) { fRelPos = TMath::Nint(pos*128.0); } | |
30 | ||
31 | Float_t GetRmsY() const { return fRmsY; } | |
32 | Char_t GetNPads() const { return fNPads; } | |
33 | Float_t GetRelPos() const { return float(fRelPos)/128.0; } | |
34 | ||
64b82e53 | 35 | protected: |
6d50f529 | 36 | |
37 | Float_t fRmsY; // RMS in y direction ???? | |
38 | Char_t fNPads; // Number of pads ???? | |
39 | Char_t fRelPos; // Relative position ???? | |
40 | ||
41 | ClassDef(AliTRDclusterMI,2) // ClusterMI for the TRD | |
64b82e53 | 42 | |
43 | }; | |
44 | ||
45 | #endif |