1 #ifndef ALITRDCLUSTERCORRECTION_H
2 #define ALITRDCLUSTERCORRECTION_H
3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
9 ////////////////////////////////////////////////////////////////////////////
11 // Used for correcting the cluster positions in some way or the other //
13 ////////////////////////////////////////////////////////////////////////////
15 class AliTRDclusterCorrection : public TObject {
19 AliTRDclusterCorrection();
20 Float_t GetCorrection(Int_t plane, Int_t timebin, Float_t angle) const;
21 Float_t GetSigma(Int_t plane, Int_t timebin, Float_t angle) const;
22 Float_t GetOffsetAngle() const { return fOffsetAngle; }
23 void SetOffsetAngle(Float_t angle){fOffsetAngle=angle;}
24 void SetCorrection(Int_t plane,Int_t timebin, Float_t angle, Float_t value,Float_t sigma);
25 Float_t GetAngle(Int_t i){return (i-10.)/10.+fOffsetAngle;}
26 static AliTRDclusterCorrection * GetCorrection();
30 Float_t fCorrections[6][30][20][2]; // Correction values
31 Float_t fOffsetAngle; // Offset angle
33 ClassDef(AliTRDclusterCorrection,1) // ClusterCorrection for the TRD