]>
Commit | Line | Data |
---|---|---|
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 | ||
8 | /////////////////////////////////////////////////////////////////////////////// | |
9 | // // | |
10 | // TRD cluster, alternative version // | |
11 | // // | |
12 | /////////////////////////////////////////////////////////////////////////////// | |
13 | ||
14 | #include "AliTRDcluster.h" | |
15 | #include "TMath.h" | |
16 | ||
17 | class AliTRDclusterMI : public AliTRDcluster { | |
18 | ||
19 | public: | |
20 | ||
21 | AliTRDclusterMI(); | |
22 | AliTRDclusterMI(const AliTRDcluster &c); | |
23 | ||
24 | void SetRmsY(Float_t rmsy) { fRmsY = rmsy; } | |
25 | void SetNPads(Int_t npads) { fNPads = npads; } | |
26 | void SetRelPos(Float_t pos) { fRelPos = TMath::Nint(pos*128.0); } | |
27 | ||
28 | Float_t GetRmsY() const { return fRmsY; } | |
29 | Char_t GetNPads() const { return fNPads; } | |
30 | Float_t GetRelPos() const { return float(fRelPos)/128.0; } | |
31 | ||
32 | protected: | |
33 | ||
34 | Float_t fRmsY; // RMS in y direction ???? | |
35 | Char_t fNPads; // Number of pads ???? | |
36 | Char_t fRelPos; // Relative position ???? | |
37 | ||
38 | ClassDef(AliTRDclusterMI,2) // ClusterMI for the TRD | |
39 | ||
40 | }; | |
41 | ||
42 | #endif |