Skip to content

Commit 8cd8f71

Browse files
authored
Please consider the following formatting changes (#502)
1 parent bf7c910 commit 8cd8f71

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Common/Tools/Multiplicity/multGlauberNBDFitter.cxx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -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
}

Common/Tools/Multiplicity/multGlauberNBDFitter.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ class multGlauberNBDFitter : public TNamed
7979

8080
// For estimating Npart, Ncoll in multiplicity bins
8181
// also viable: eccentricity, impact parameter, ancestor cross-check plot
82-
void CalculateAvNpNc(TProfile* lNPartProf, TProfile* lNCollProf, TH2F* lNPart2DPlot, TH2F* lNColl2DPlot, TH1F* hPercentileMap, Double_t lLoRange = -1, Double_t lHiRange = -1, TH3D* lNpNcEcc = 0x0, TH2F* lEcc2DPlot = 0x0, TH3D* lNpNcB = 0x0, TH2F* lB2DPlot = 0x0, TH2F *lNancestor2DPlot = 0x0);
82+
void CalculateAvNpNc(TProfile* lNPartProf, TProfile* lNCollProf, TH2F* lNPart2DPlot, TH2F* lNColl2DPlot, TH1F* hPercentileMap, Double_t lLoRange = -1, Double_t lHiRange = -1, TH3D* lNpNcEcc = 0x0, TH2F* lEcc2DPlot = 0x0, TH3D* lNpNcB = 0x0, TH2F* lB2DPlot = 0x0, TH2F* lNancestor2DPlot = 0x0);
8383

8484
// void Print(Option_t *option="") const;
8585

0 commit comments

Comments
 (0)