Skip to content

Commit f79bd26

Browse files
committed
small fix
1 parent 7d7e7e5 commit f79bd26

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

Common/Tools/Multiplicity/multGlauberNBDFitter.cxx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,6 @@ void multGlauberNBDFitter::InitTrentoNBD(const float mu, const float k, const fl
128128
fTrentoNBD->SetParameter(Index(FitPar::mu), mu);
129129
fTrentoNBD->SetParameter(Index(FitPar::k), k);
130130
fTrentoNBD->SetParameter(Index(FitPar::norm), norm);
131-
fTrentoNBD->FixParameter(Index(FitPar::dMu), 0);
132131

133132
fTrentoNBD->SetParName(Index(FitPar::mu), "mu");
134133
fTrentoNBD->SetParName(Index(FitPar::k), "k");
@@ -217,7 +216,7 @@ double multGlauberNBDFitter::TrentoProbDistrib(const double* x, const double* pa
217216
fNBD->SetParameter(Index(NBDPar::k), lThisk);
218217
fNBD->SetParameter(Index(NBDPar::p), lpval);
219218
double lMult = fNBD->Eval(lMultValue);
220-
lProbability += fhNSources->GetBinContent(fhNSources->FindBin(iNSrc)) * lMult;
219+
lProbability += fhNSources->GetBinContent(iNSrc) * lMult;
221220
}
222221
//______________________________________________________
223222
return par[Index(FitPar::norm)] * lProbability;

0 commit comments

Comments
 (0)