@@ -384,7 +384,7 @@ Double_t multGlauberNBDFitter::ContinuousNBD(Double_t n, Double_t mu, Double_t k
384384 return F;
385385}
386386
387- void multGlauberNBDFitter::CalculateAvNpNc (TProfile* lNPartProf, TProfile* lNCollProf, TH2F* lNPart2DPlot, TH2F* lNColl2DPlot, TH1F* hPercentileMap, Double_t lLoRange, Double_t lHiRange, TH3D* lNpNcEcc, TH2F* lEcc2DPlot, TH3D* lNpNcB, TH2F* lB2DPlot, TH2F * lNancestor2DPlot)
387+ void multGlauberNBDFitter::CalculateAvNpNc (TProfile* lNPartProf, TProfile* lNCollProf, TH2F* lNPart2DPlot, TH2F* lNColl2DPlot, TH1F* hPercentileMap, Double_t lLoRange, Double_t lHiRange, TH3D* lNpNcEcc, TH2F* lEcc2DPlot, TH3D* lNpNcB, TH2F* lB2DPlot, TH2F* lNancestor2DPlot)
388388{
389389 cout << " Calculating <Npart>, <Ncoll> in centrality bins..." << endl;
390390 cout << " Range to calculate: " << lLoRange << " to " << lHiRange << endl;
@@ -438,7 +438,7 @@ void multGlauberNBDFitter::CalculateAvNpNc(TProfile* lNPartProf, TProfile* lNCol
438438 hEccentricity->SetName (Form (" hEccentricity_%i" , ibin));
439439 }
440440
441- // impact parameter handling
441+ // impact parameter handling
442442 TH1D* hImpactParameter = 0x0 ;
443443 if (lNpNcB) {
444444 // locate the histogram that corresponds to the eccentricity distribution in this NpNc pair
@@ -464,7 +464,7 @@ void multGlauberNBDFitter::CalculateAvNpNc(TProfile* lNPartProf, TProfile* lNCol
464464 lMultValueToFill = hPercentileMap->GetBinContent (hPercentileMap->FindBin (lMultValue));
465465 lNPartProf->Fill (lMultValueToFill, fNpart [ibin], lProbability);
466466 lNCollProf->Fill (lMultValueToFill, fNcoll [ibin], lProbability);
467- if (lNancestor2DPlot){
467+ if (lNancestor2DPlot) {
468468 // fill cross-check histogram with lNancestorCount at lNancestors value
469469 lNancestor2DPlot->Fill (lMultValueToFill, lNancestors, lProbability * lNancestorCount);
470470 }
0 commit comments