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 */
8 ////////////////////////////////////////////////////////////////////////////
10 // Transforms clusters into space points with calibrated positions //
11 // defined in the local tracking system //
13 ////////////////////////////////////////////////////////////////////////////
16 //#include "../TPC/AliTransform.h"
22 class AliTRDCommonParam;
28 //class AliTRDtransform : public AliTransform {
29 class AliTRDtransform : public TObject {
34 AliTRDtransform(Int_t det);
35 AliTRDtransform(const AliTRDtransform &t);
36 virtual ~AliTRDtransform();
37 AliTRDtransform &operator=(const AliTRDtransform &t) { *(new(this) AliTRDtransform(t));
40 virtual Bool_t Transform(Double_t *x
44 , Int_t coordinateType);
45 virtual void Recalibrate(AliTRDcluster *c, Bool_t setDet = kTRUE);
47 void SetDetector(Int_t det);
51 AliTRDgeometry *fGeo; // TRD geometry
52 Int_t fDetector; // Detector number
54 AliTRDCommonParam *fParam; // TRD common parameters
56 AliTRDcalibDB *fCalibration; // TRD calibration interface object
57 AliTRDCalROC *fCalVdriftROC; // Pad wise Vdrift calibration object
58 AliTRDCalROC *fCalT0ROC; // Pad wise T0 calibration object
59 const AliTRDCalDet *fCalVdriftDet; // ROC wise Vdrift calibration object
60 const AliTRDCalDet *fCalT0Det; // ROC wise T0 calibration object
61 Double_t fCalVdriftDetValue; // ROC wise Vdrift calibration value
62 Double_t fCalT0DetValue; // ROC wise T0 calibration value
64 Double_t fSamplingFrequency; // ADC sampling frequency
66 AliTRDpadPlane *fPadPlane; // The current pad plane object
67 Double_t fZShiftIdeal; // Needed to define Z-position relative to middle of chamber
69 TGeoHMatrix *fMatrix; // Transformation matrix for a given chamber
71 ClassDef(AliTRDtransform,1) // Transforms clusters