]>
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" | |
16 | //#include "../TPC/AliTransform.h" | |
17 | ||
18 | class TGeoHMatrix; | |
19 | ||
20 | class AliTRDgeometry; | |
21 | class AliTRDcluster; | |
22 | class AliTRDCommonParam; | |
23 | class AliTRDcalibDB; | |
24 | class AliTRDCalROC; | |
25 | class AliTRDCalDet; | |
26 | class AliTRDpadPlane; | |
27 | ||
28 | //class AliTRDtransform : public AliTransform { | |
29 | class AliTRDtransform : public TObject { | |
a60b4183 | 30 | public: |
af26ce80 | 31 | AliTRDtransform(); |
32 | AliTRDtransform(Int_t det); | |
33 | AliTRDtransform(const AliTRDtransform &t); | |
c8ab4518 | 34 | virtual ~AliTRDtransform(); |
af26ce80 | 35 | AliTRDtransform &operator=(const AliTRDtransform &t) { *(new(this) AliTRDtransform(t)); |
36 | return *this; } | |
37 | ||
b72f4eaf | 38 | virtual Bool_t Transform(AliTRDcluster *c); |
af26ce80 | 39 | virtual void Recalibrate(AliTRDcluster *c, Bool_t setDet = kTRUE); |
40 | ||
41 | void SetDetector(Int_t det); | |
42 | ||
a60b4183 | 43 | protected: |
44 | AliTRDgeometry *fGeo; // TRD geometry | |
45 | Int_t fDetector; // Detector number | |
af26ce80 | 46 | |
a60b4183 | 47 | AliTRDCommonParam *fParam; // TRD common parameters |
af26ce80 | 48 | |
a60b4183 | 49 | AliTRDcalibDB *fCalibration; // TRD calibration interface object |
50 | AliTRDCalROC *fCalVdriftROC; // Pad wise Vdrift calibration object | |
51 | AliTRDCalROC *fCalT0ROC; // Pad wise T0 calibration object | |
52 | AliTRDCalROC *fCalPRFROC; // Pad wise PRF calibration object | |
53 | const AliTRDCalDet *fCalVdriftDet; // ROC wise Vdrift calibration object | |
54 | const AliTRDCalDet *fCalT0Det; // ROC wise T0 calibration object | |
55 | Double_t fCalVdriftDetValue; // ROC wise Vdrift calibration value | |
56 | Double_t fCalT0DetValue; // ROC wise T0 calibration value | |
af26ce80 | 57 | |
a60b4183 | 58 | Double_t fSamplingFrequency; // ADC sampling frequency |
af26ce80 | 59 | |
a60b4183 | 60 | AliTRDpadPlane *fPadPlane; // The current pad plane object |
61 | Double_t fZShiftIdeal; // Needed to define Z-position relative to middle of chamber | |
af26ce80 | 62 | |
a60b4183 | 63 | TGeoHMatrix *fMatrix; // Transformation matrix for a given chamber |
af26ce80 | 64 | |
a60b4183 | 65 | ClassDef(AliTRDtransform, 2) // Transforms clusters |
af26ce80 | 66 | |
67 | }; | |
68 | ||
69 | #endif |