Float_t AliTRDltuParam::fgLengthInnerPadC0 = 9.0;
Float_t AliTRDltuParam::fgLengthOuterPadC0 = 8.0;
Float_t AliTRDltuParam::fgScalePad = 256. * 32.;
-Float_t AliTRDltuParam::fgDriftLength = 3.e-2;
+Float_t AliTRDltuParam::fgDriftLength = 3.;
AliTRDltuParam::AliTRDltuParam() :
TObject(),
fOmegaTau(0.),
fPtMin(0.1),
fNtimebins(20 << 5),
- fScaleQ0(1),
- fScaleQ1(1),
+ fScaleQ0(0),
+ fScaleQ1(0),
fPidTracklengthCorr(kFALSE),
fTiltCorr(kFALSE)
{
Int_t layer = det % 6;
- Float_t dyTilt = ( fgDriftLength * TMath::Tan(fgTiltingAngle[layer]) *
+ Float_t dyTilt = ( fgDriftLength * TMath::Tan(fgTiltingAngle[layer] * TMath::Pi()/180.) *
GetLocalZ(det, rob, mcm) / fgX[layer] );
// calculate Lorentz correction
dyMinInt = fgDyMin;
dyMaxInt = fgDyMax;
- if (fMagField < 0.1)
+ if (TMath::Abs(fMagField) < 0.1)
return;
Float_t e = 0.30;
{
Int_t layer = det%6;
// calculate the pad position as in the TRAP
- Float_t ypos = (-4 + (rob&0x1) * 4 + (mcm&0x3)) * 18 - ch - 0.5; // y position in bins of pad widths
+ Float_t ypos = (-4 + 1 + (rob&0x1) * 4 + (mcm&0x3)) * 18 - ch - 0.5; // y position in bins of pad widths
return ypos*fgWidthPad[layer];
}