//
// default constructor
//
+ fCorrY[0] = fCorrY[1] = fCorrY[2] = fCorrY[3] = 0;
+ fCorrZ[0] = fCorrZ[1] = fCorrZ[2] = fCorrZ[3] = 0;
}
//
// Constructor
//
+ fCorrY[0] = fCorrY[1] = fCorrY[2] = fCorrY[3] = 0;
+ fCorrZ[0] = fCorrZ[1] = fCorrZ[2] = fCorrZ[3] = 0;
if (AliLog::GetDebugLevel("","AliTrackFitterRieman")) fDebugStream = new TTreeSRedirector("RiemanAlignDebug.root");
}
//
// copy constructor
//
+ fCorrY[0] = fCorrY[1] = fCorrY[2] = fCorrY[3] = 0;
+ fCorrZ[0] = fCorrZ[1] = fCorrZ[2] = fCorrZ[3] = 0;
if (AliLog::GetDebugLevel("","AliTrackFitterRieman")) fDebugStream = new TTreeSRedirector("RiemanAlignDebug.root");
}
// Float_t debugRatio = 1./(1.+debugLevel);
Float_t debugRatio = debugLevel? 1.0/debugLevel : 1.0;
+ if (!fPoints) {
+ AliError("Track points array not available! Exiting...");
+ return kFALSE;
+ }
Int_t npoints = fPoints->GetNPoints();
if ( npoints<fMinNPoints) return kFALSE;
//
Reset();
- if (fPoints && AliLog::GetDebugLevel("","AliTrackFitterRieman")>1&& gRandom->Rndm()<debugRatio){
+ if (fPoints && volIdsFit && AliLog::GetDebugLevel("","AliTrackFitterRieman")>1&& gRandom->Rndm()<debugRatio){
Int_t nVol = volIds->GetSize();
Int_t nVolFit = volIdsFit->GetSize();
Int_t volId = volIds->At(0);