Fatal("ctor", "Couldn't find working pool") ;
}
- fParent = wPool->IndexOf((TObject*)parent);
+ if(wPool)
+ fParent = wPool->IndexOf((TObject*)parent);
+
fChi2Dof = parent->Chi2Dof();
if(cpv) {
// initialization
AliPHOSClusterizer* clusterizer = GetClusterizer();
if(!clusterizer) {
- Fatal("Init", "Cannot get clusterizer") ;
+ AliFatal("Cannot get clusterizer") ;
}
TClonesArray* digits = AliPHOSLoader::GetPHOSLoader(fEventFolderName)->Digits();
loop20: ;
Float_t step = st*gr;
- AliInfo(Form("Iteration %d dof %d chisq/dof %f chstop/dof %f step %d stpmin %d",
+ AliInfo(Form("Iteration %d dof %d chisq/dof %f chstop/dof %f step %f stpmin %f",
iter, dof, ch/dof, chstop/dof, step, stpmin)) ;
loop20: ;
Float_t step = st*gr;
- AliInfo(Form(" Iteration %d dof %d chisq/dof %f chstop/dof %f step %d stpMin %d",
- iter, dof, chisq/dof, chisq/dof, chstop/dof, step, stpMin)) ;
+ AliInfo(Form(" Iteration %d dof %d chisq/dof %f chstop/dof %f step %f stpMin %f",
+ iter, dof, chisq/dof, chstop/dof, step, stpMin)) ;
if(step<stpMin)
newRP->AddDigit(*digitMax,maxAtEnergy[iMax]);
//Neighbous ( matrix 3x3 around the local maximum)
- for(Int_t iDigit=0; iDigit<nDigits; iDigit++)
+ for(iDigit=0; iDigit<nDigits; iDigit++)
{
AliPHOSDigit* digit = (AliPHOSDigit*)fLoader->Digits()->At( digitsList[iDigit] );
Float_t eDigit = energies[iDigit];