Commit 28342a77 authored by Shahid Khan's avatar Shahid Khan
Browse files

line 268-270 were added because the no background option wasn't working

parent c6805765
......@@ -264,6 +264,9 @@ Int_t AliHFInvMassFitter::MassFitter(Bool_t draw){
// fHistoInvMass->GetFunction(fBkgFuncSb->GetName())->SetBit(1<<9,kTRUE);
status=0;
}
}
if(fTypeOfFit4Bkg==3){
status=0;
}
else status=fHistoInvMass->Fit("funcbkgsb",Form("R,%s,+,0",fFitOption.Data()));
fBkgFuncSb->SetLineColor(kGray+1);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment