]>
Commit | Line | Data |
---|---|---|
af26ce80 | 1 | #ifndef ALITRDTRANSFORM_H |
2 | #define ALITRDTRANSFORM_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 | // Transforms clusters into space points with calibrated positions // | |
11 | // defined in the local tracking system // | |
12 | // // | |
13 | //////////////////////////////////////////////////////////////////////////// | |
14 | ||
15 | #include "TObject.h" | |
af26ce80 | 16 | |
17 | class TGeoHMatrix; | |
18 | ||
19 | class AliTRDgeometry; | |
20 | class AliTRDcluster; | |
21 | class AliTRDCommonParam; | |
22 | class AliTRDcalibDB; | |
23 | class AliTRDCalROC; | |
24 | class AliTRDCalDet; | |
25 | class AliTRDpadPlane; | |
26 | ||
af26ce80 | 27 | class AliTRDtransform : public TObject { |
c893147d | 28 | |
29 | public: | |
30 | ||
af26ce80 | 31 | AliTRDtransform(); |
32 | AliTRDtransform(Int_t det); | |
33 | AliTRDtransform(const AliTRDtransform &t); | |
c8ab4518 | 34 | virtual ~AliTRDtransform(); |
fc1c9d79 | 35 | AliTRDtransform &operator=(const AliTRDtransform &t); |
36 | ||
37 | virtual void Copy(TObject &t) const; | |
126991d9 | 38 | AliTRDpadPlane* GetPadPlane() const {return fPadPlane;} |
b72f4eaf | 39 | virtual Bool_t Transform(AliTRDcluster *c); |
af26ce80 | 40 | virtual void Recalibrate(AliTRDcluster *c, Bool_t setDet = kTRUE); |
41 | ||
42 | void SetDetector(Int_t det); | |
9dcc64cc | 43 | static AliTRDgeometry& Geometry(); |
af26ce80 | 44 | |
9dcc64cc | 45 | protected: |
a60b4183 | 46 | Int_t fDetector; // Detector number |
af26ce80 | 47 | |
a60b4183 | 48 | AliTRDCommonParam *fParam; // TRD common parameters |
af26ce80 | 49 | |
a60b4183 | 50 | AliTRDcalibDB *fCalibration; // TRD calibration interface object |
51 | AliTRDCalROC *fCalVdriftROC; // Pad wise Vdrift calibration object | |
52 | AliTRDCalROC *fCalT0ROC; // Pad wise T0 calibration object | |
53 | AliTRDCalROC *fCalPRFROC; // Pad wise PRF calibration object | |
c893147d | 54 | const AliTRDCalDet *fkCalVdriftDet; // ROC wise Vdrift calibration object |
55 | const AliTRDCalDet *fkCalT0Det; // ROC wise T0 calibration object | |
803dc399 | 56 | const AliTRDCalDet *fkCalExBDet; // ROC wise ExB calibration object |
a60b4183 | 57 | Double_t fCalVdriftDetValue; // ROC wise Vdrift calibration value |
58 | Double_t fCalT0DetValue; // ROC wise T0 calibration value | |
803dc399 | 59 | Double_t fCalExBDetValue; // Det wise ExB calibration value |
af26ce80 | 60 | |
a60b4183 | 61 | Double_t fSamplingFrequency; // ADC sampling frequency |
af26ce80 | 62 | |
a60b4183 | 63 | AliTRDpadPlane *fPadPlane; // The current pad plane object |
64 | Double_t fZShiftIdeal; // Needed to define Z-position relative to middle of chamber | |
af26ce80 | 65 | |
a60b4183 | 66 | TGeoHMatrix *fMatrix; // Transformation matrix for a given chamber |
af26ce80 | 67 | |
c893147d | 68 | ClassDef(AliTRDtransform, 3) // Transforms clusters |
af26ce80 | 69 | |
70 | }; | |
af26ce80 | 71 | #endif |