1 #ifndef ALITPCTRANSFORM_H
2 #define ALITPCTRANSFORM_H
16 class TTreeSRedirector;
29 virtual void Transform(Double_t *x,Int_t *i,UInt_t time,
30 Int_t coordinateType);
36 void GetCosAndSin(Int_t sector,Double_t &cos,Double_t &sin)
const;
45 Double_t
TimeBin2Z(
double t,
int sector,
double yLab)
const;
46 Double_t
Z2TimeBin(
double t,
int sector,
double yLab)
const;
67 void EvalCorrectionMap(
int roc,
int row,
const double xyz[3],
float *res, Bool_t ref=kFALSE);
68 Float_t
EvalCorrectionMap(
int roc,
int row,
const double xyz[3],
int dimOut, Bool_t ref=kFALSE);
70 void EvalDistortionMap(
int roc,
const double xyzSector[3],
float *res, Bool_t ref=kFALSE);
131 static const Double_t fgkSin20;
132 static const Double_t fgkCos20;
133 static const Double_t fgkMaxY2X;
134 TTreeSRedirector *fDebugStreamer;
144 idROC += ((idROC%18)==17) ? -17 : 1;
146 x[0] = fgkCos20*tmp - fgkSin20*x[1];
147 x[1] = fgkSin20*tmp + fgkCos20*x[1];
154 idROC += ((idROC%18)== 0) ? 17 : -1;
156 x[0] = fgkCos20*tmp + fgkSin20*x[1];
157 x[1] =-fgkSin20*tmp + fgkCos20*x[1];
164 idROC += ((idROC%18)==17) ? -17 : 1;
166 x[0] = fgkCos20*tmp - fgkSin20*x[1];
167 x[1] = fgkSin20*tmp + fgkCos20*x[1];
174 idROC += ((idROC%18)== 0) ? 17 : -1;
176 x[0] = fgkCos20*tmp + fgkSin20*x[1];
177 x[1] =-fgkSin20*tmp + fgkCos20*x[1];
184 return idROC + (((idROC%18)==17) ? -17 : 1);
191 return idROC + (((idROC%18)== 0) ? 17 : -1);
TFile f("CalibObjects.root")
TTreeSRedirector * pcstream
Implementation of the TPC cluser.
Class with TPC reconstruction parameters.