]> git.uio.no Git - u/mrichter/AliRoot.git/blame - TRD/AliTRDclusterCorrection.h
Reconstruction of RAW data. Introduction of cluster finder (A. de Caro)
[u/mrichter/AliRoot.git] / TRD / AliTRDclusterCorrection.h
CommitLineData
6528d411 1#ifndef ALITRDCLUSTERCORRECTION_H
2#define ALITRDCLUSTERCORRECTION_H
456396b8 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
6528d411 9////////////////////////////////////////////////////////////////////////////
10// //
11// Used for correcting the cluster positions in some way or the other //
12// //
13////////////////////////////////////////////////////////////////////////////
14
456396b8 15class AliTRDclusterCorrection : public TObject {
16
17 public:
6528d411 18
456396b8 19 AliTRDclusterCorrection();
6528d411 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);
456396b8 25 Float_t GetAngle(Int_t i){return (i-10.)/10.+fOffsetAngle;}
26 static AliTRDclusterCorrection * GetCorrection();
6528d411 27
456396b8 28 protected:
6528d411 29
30 Float_t fCorrections[6][30][20][2]; // Correction values
31 Float_t fOffsetAngle; // Offset angle
456396b8 32
6528d411 33 ClassDef(AliTRDclusterCorrection,1) // ClusterCorrection for the TRD
456396b8 34
35};
36
37#endif