diff --git a/CalibTracker/SiPixelLorentzAngle/src/SiPixelLorentzAnglePCLHarvester.cc b/CalibTracker/SiPixelLorentzAngle/src/SiPixelLorentzAnglePCLHarvester.cc index 9171b36accc7e..a2681b7c4d8f6 100644 --- a/CalibTracker/SiPixelLorentzAngle/src/SiPixelLorentzAnglePCLHarvester.cc +++ b/CalibTracker/SiPixelLorentzAngle/src/SiPixelLorentzAnglePCLHarvester.cc @@ -669,12 +669,14 @@ SiPixelLAHarvest::fitResults SiPixelLorentzAnglePCLHarvester::fitAndStore( if (doChebyshevFit_) { const int npar = order_ + 1; auto cheb = std::make_unique(order_, theFitRange_.first, theFitRange_.second); - f1_ = std::make_unique("f1", cheb.release(), theFitRange_.first, theFitRange_.second, npar, "Chebyshev"); + f1_ = std::make_unique( + "f1", cheb.release(), theFitRange_.first, theFitRange_.second, npar, 1, TF1::EAddToList::kNo); } else { f1_ = std::make_unique("f1", "[0] + [1]*x + [2]*x*x + [3]*x*x*x + [4]*x*x*x*x + [5]*x*x*x*x*x", theFitRange_.first, - theFitRange_.second); + theFitRange_.second, + TF1::EAddToList::kNo); } // DO NOT REMOVE diff --git a/SimG4CMS/Calo/src/EvolutionECAL.cc b/SimG4CMS/Calo/src/EvolutionECAL.cc index 9938f318e0be5..003671d710c7e 100644 --- a/SimG4CMS/Calo/src/EvolutionECAL.cc +++ b/SimG4CMS/Calo/src/EvolutionECAL.cc @@ -228,14 +228,8 @@ double EvolutionECAL::InducedAbsorptionEM(double lumi, double eta) { double mu_max = 2.0; double alpha1 = 3.41488e+00; - std::unique_ptr ftmp1 = std::make_unique("ftmp1", - this, - &EvolutionECAL::EquilibriumFractionColorCentersEM, - 0.0, - 22.0, - 3, - "EvolutionECAL", - "EquilibriumFractionColorCentersEM"); + std::unique_ptr ftmp1 = std::make_unique( + "ftmp1", this, &EvolutionECAL::EquilibriumFractionColorCentersEM, 0.0, 22.0, 3, 1, TF1::EAddToList::kNo); ftmp1->SetParameters(lumi, eta, alpha1); double muEM = mu_max * ftmp1->Integral(0.0, 22.0) / 22.0;