]>
Commit | Line | Data |
---|---|---|
456396b8 | 1 | #ifndef ALITRDCLUSTERCORRECTON_H |
2 | #define ALITRDCLUSTERCORRECTON_H | |
3 | /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * | |
4 | * See cxx source for full Copyright notice */ | |
5 | ||
6 | ||
7 | #include "TObject.h" | |
8 | ||
9 | class AliTRDclusterCorrection : public TObject { | |
10 | ||
11 | public: | |
12 | AliTRDclusterCorrection(); | |
13 | Float_t GetCorrection(Int_t plane, Int_t timebin, Float_t angle); | |
14 | Float_t GetSigma(Int_t plane, Int_t timebin, Float_t angle); | |
15 | Float_t GetOffsetAngle(){return fOffsetAngle;} | |
16 | void SetOffsetAngle(Float_t angle){fOffsetAngle=angle;} | |
17 | void SetCorrection(Int_t plane,Int_t timebin, Float_t angle, Float_t value,Float_t sigma); | |
18 | Float_t GetAngle(Int_t i){return (i-10.)/10.+fOffsetAngle;} | |
19 | static AliTRDclusterCorrection * GetCorrection(); | |
20 | protected: | |
21 | Float_t fCorrections[6][30][20][2]; | |
22 | Float_t fOffsetAngle; | |
23 | ||
24 | ClassDef(AliTRDclusterCorrection,1) // ClusterCorrection for the TRD | |
25 | ||
26 | }; | |
27 | ||
28 | #endif |