Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Please consider the following formatting changes to #3511 #172

Merged
merged 1 commit into from
Sep 27, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Common/Tasks/multiplicityQa.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ struct MultiplicityQa {
// Contributors correlation
histos.add("h2dNContribCorrAll", "h2dNContribCorrAll", kTH2D, {axisContributors, axisContributors});

if (doprocessFIT){
if (doprocessFIT) {
histos.add("multiplicityQa/hIsolatedFT0A", "isolated FT0A", kTH1D, {axisMultFT0});
histos.add("multiplicityQa/hIsolatedFT0C", "isolated FT0C", kTH1D, {axisMultFT0});
histos.add("multiplicityQa/hIsolatedFT0M", "isolated FT0M", kTH1D, {axisMultFT0});
Expand Down
26 changes: 13 additions & 13 deletions Common/Tools/Multiplicity/multGlauberNBDFitter.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -77,12 +77,12 @@ multGlauberNBDFitter::multGlauberNBDFitter() : TNamed(),
fGlauberNBD->SetParameter(1, fk);
fGlauberNBD->SetParameter(2, ff);
fGlauberNBD->SetParameter(3, fnorm);
fGlauberNBD->SetParName(0,"mu");
fGlauberNBD->SetParName(1,"k");
fGlauberNBD->SetParName(2,"f");
fGlauberNBD->SetParName(3,"norm");
fGlauberNBD->SetParName(4,"dMu/dNanc");

fGlauberNBD->SetParName(0, "mu");
fGlauberNBD->SetParName(1, "k");
fGlauberNBD->SetParName(2, "f");
fGlauberNBD->SetParName(3, "norm");
fGlauberNBD->SetParName(4, "dMu/dNanc");
}

multGlauberNBDFitter::multGlauberNBDFitter(const char* name, const char* title) : TNamed(name, title),
Expand Down Expand Up @@ -124,12 +124,12 @@ multGlauberNBDFitter::multGlauberNBDFitter(const char* name, const char* title)
fGlauberNBD->SetParameter(1, fk);
fGlauberNBD->SetParameter(2, ff);
fGlauberNBD->SetParameter(3, fnorm);
fGlauberNBD->SetParName(0,"mu");
fGlauberNBD->SetParName(1,"k");
fGlauberNBD->SetParName(2,"f");
fGlauberNBD->SetParName(3,"norm");
fGlauberNBD->SetParName(4,"dMu/dNanc");

fGlauberNBD->SetParName(0, "mu");
fGlauberNBD->SetParName(1, "k");
fGlauberNBD->SetParName(2, "f");
fGlauberNBD->SetParName(3, "norm");
fGlauberNBD->SetParName(4, "dMu/dNanc");
}
//________________________________________________________________
multGlauberNBDFitter::~multGlauberNBDFitter()
Expand Down Expand Up @@ -200,7 +200,7 @@ Double_t multGlauberNBDFitter::ProbDistrib(Double_t* x, Double_t* par)
//if(lNancestorCount<1e-12&&lNancestors>10) break;

// allow for variable mu in case requested
Double_t lThisMu = (((Double_t)lNancestors)) * (par[0] + par[4]*lNancestors);
Double_t lThisMu = (((Double_t)lNancestors)) * (par[0] + par[4] * lNancestors);
Double_t lThisk = (((Double_t)lNancestors)) * par[1];
Double_t lpval = TMath::Power(1.0 + lThisMu / lThisk, -1);
fNBD->SetParameter(1, lThisk);
Expand Down