// NOTE - class is not owner of correction
//
if (!fgVisualCorrection) fgVisualCorrection=new TObjArray;
+ if (position>=fgVisualCorrection->GetEntriesFast()) fgVisualCorrection->Expand(position*2);
fgVisualCorrection->AddAt(corr, position);
}
Float_t fRodVoltShiftC[36]; // Rod (&strips) shift in Volt (40V~1mm)
Float_t fRotatedClipVoltA[2]; // rotated clips at HV rod
Float_t fRotatedClipVoltC[2]; // rotated clips at HV rod
- Float_t fOFCRodShiftA[18]; // only Rod shift on OFC
- Float_t fOFCRodShiftC[18]; // only Rod shift on OFC
+ Float_t fOFCRodShiftA[18]; // only Rod shift on OFC
+ Float_t fOFCRodShiftC[18]; // only Rod shift on OFC
Bool_t fInitLookUp; // flag to check it the Look Up table was created (SUM)
Bool_t fInitLookUpBasic[5]; // flag if the basic lookup was created (shifted Rod (IFC,OFC) or rotated clip (IFC,OFC))
TMatrixD *fLookUpBasic5DeltaEz[kPhiSlices]; // Array to store electric field integral
- ClassDef(AliTPCFCVoltError3D,0); //
+ ClassDef(AliTPCFCVoltError3D,1); //
};
#endif
// basic numbers for the poisson relaxation //can be set individually in each class
enum {kRows =257}; // grid size in r direction used in the poisson relaxation // ( 2**n + 1 ) eg. 65, 129, 257 etc.
enum {kColumns=129}; // grid size in z direction used in the poisson relaxation // ( 2**m + 1 ) eg. 65, 129, 257 etc.
- enum {kPhiSlicesPerSector=6}; // phi slices per sector
+ enum {kPhiSlicesPerSector=10}; // phi slices per sector
enum {kPhiSlices = 18*kPhiSlicesPerSector }; // number of points in phi for the basic lookup tables
enum {kIterations=100}; // Number of iterations within the poisson relaxation
- ClassDef(AliTPCROCVoltError3D,0);
+ ClassDef(AliTPCROCVoltError3D,1);
};
#endif
resVector[1]= 9.*TMath::ATan2(xyz[1],xyz[0])/TMath::Pi();
if (resVector[1]<0) resVector[1]+=18;
resVector[2]= TMath::Sqrt(cl->GetX()*cl->GetX()+cl->GetY()*cl->GetY());
- resVector[3]= cl->GetZ()/cl->GetX();
+ resVector[3]= cl->GetZ()/resVector[2];
//
resVector[0]= cl->GetY()-trackOut.GetY();
fClusterDelta[0]->Fill(resVector);
resVector[1]= 9.*TMath::ATan2(xyz[1],xyz[0])/TMath::Pi();
if (resVector[1]<0) resVector[1]+=18;
resVector[2]= TMath::Sqrt(cl->GetX()*cl->GetX()+cl->GetY()*cl->GetY());
- resVector[3]= cl->GetZ()/cl->GetX();
+ resVector[3]= cl->GetZ()/resVector[2];
//
resVector[0]= cl->GetY()-trackIn.GetY();
fClusterDelta[0]->Fill(resVector);
Double_t resVector[5];
resVector[1]= 9.*gphi/TMath::Pi();
resVector[2]= TMath::Sqrt(c->GetX()*c->GetX()+c->GetY()*c->GetY());
- resVector[3]= c->GetZ()/c->GetX();
+ resVector[3]= c->GetZ()/resVector[2];
//
//
resVector[0]= c->GetY()-yfitC;