Skip to content

Commit 7980efe

Browse files
committed
avoid deprecated TF1 constructor
1 parent ab4d79a commit 7980efe

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎Common/Tools/Multiplicity/multGlauberNBDFitter.cxx‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ void multGlauberNBDFitter::InitGlauberNBD(const float mu, const float k, const f
107107
{
108108
fNBDFitterMode = NBDFitterMode::Glauber;
109109
fGlauberNBD = new TF1("fGlauberNBD", this, &multGlauberNBDFitter::GlauberProbDistrib,
110-
0, 50000, 5, "multGlauberNBDFitter", "GlauberProbDistrib");
110+
0, 50000, 5);
111111
fGlauberNBD->SetParameter(Index(FitPar::mu), mu);
112112
fGlauberNBD->SetParameter(Index(FitPar::k), k);
113113
fGlauberNBD->SetParameter(Index(FitPar::f), f);
@@ -125,7 +125,7 @@ void multGlauberNBDFitter::InitTrentoNBD(const float mu, const float k, const fl
125125
fNBDFitterMode = NBDFitterMode::Trento;
126126
fGlauberNBD = nullptr;
127127
fTrentoNBD = new TF1("fTrentoNBD", this, &multGlauberNBDFitter::TrentoProbDistrib,
128-
0, 50000, 5, "multGlauberNBDFitter", "TrentoProbDistrib");
128+
0, 50000, 5);
129129
fTrentoNBD->SetParameter(Index(FitPar::mu), mu);
130130
fTrentoNBD->SetParameter(Index(FitPar::k), k);
131131
fTrentoNBD->SetParameter(Index(FitPar::norm), norm);

0 commit comments

Comments
 (0)