PrintStats(10, 0.8, ptCut);
PrintStats(10, 1.5, ptCut);
}
+
+//____________________________________________________________________
+void AliCorrection::ResetErrorsOnCorrections()
+{
+ // resets the errors in the correction matrix
+
+ fEventCorr->ResetErrorsOnCorrections();
+ fTrackCorr->ResetErrorsOnCorrections();
+}
void Divide();
void Multiply();
void SetCorrectionToUnity();
+ void ResetErrorsOnCorrections();
void Scale(Double_t factor);
void Add(AliCorrection* aCorrectionToAdd, Float_t c=1);
fhMeas->Scale(factor);
fhGene->Scale(factor);
}
+
+//____________________________________________________________________
+void AliCorrectionMatrix::ResetErrorsOnCorrections()
+{
+ // set the errors on the correction matrix to 0
+
+ if (!fhCorr)
+ return;
+
+ for (Int_t x=0; x<=fhCorr->GetNbinsX()+1; ++x)
+ for (Int_t y=0; y<=fhCorr->GetNbinsY()+1; ++y)
+ for (Int_t z=0; z<=fhCorr->GetNbinsZ()+1; ++z)
+ fhCorr->SetBinError(x, y, z, 0);
+}
void Divide();
void Multiply();
void SetCorrectionToUnity();
+ void ResetErrorsOnCorrections();
void Scale(Double_t factor);
void Add(AliCorrectionMatrix* aMatrixToAdd, Float_t c=1);