Skip to content

[ROOT639] TF1 changes required to build root639#49818

Merged
cmsbuild merged 2 commits into
cms-sw:masterfrom
akritkbehera:root639_fix
Jan 17, 2026
Merged

[ROOT639] TF1 changes required to build root639#49818
cmsbuild merged 2 commits into
cms-sw:masterfrom
akritkbehera:root639_fix

Conversation

@akritkbehera

Copy link
Copy Markdown
Contributor

PR description:

Changes needed as the constructor of TF1 was modified in ROOT639.
Remove CINT compatibility constructors from TF1, THF2, and TF3

@cmsbuild

cmsbuild commented Jan 14, 2026

Copy link
Copy Markdown
Contributor

cms-bot internal usage

@cmsbuild

Copy link
Copy Markdown
Contributor

-code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-49818/47472

Code check has found code style and quality issues which could be resolved by applying following patch(s)

const int npar = order_ + 1;
auto cheb = std::make_unique<siPixelLACalibration::Chebyshev>(order_, theFitRange_.first, theFitRange_.second);
f1_ = std::make_unique<TF1>("f1", cheb.release(), theFitRange_.first, theFitRange_.second, npar, "Chebyshev");
f1_ = std::make_unique<TF1>("f1", cheb.release(), theFitRange_.first, theFitRange_.second, npar);

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It could be good to add the EAddToList::kNo (or "NL" if need to pass it as a string) to avoid adding the functions to the global list (that is not thread safe).

@akritkbehera akritkbehera marked this pull request as ready for review January 15, 2026 13:43
@cmsbuild

Copy link
Copy Markdown
Contributor

-code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-49818/47503

Code check has found code style and quality issues which could be resolved by applying following patch(s)

@cmsbuild

Copy link
Copy Markdown
Contributor

-code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-49818/47504

Code check has found code style and quality issues which could be resolved by applying following patch(s)

@cmsbuild

Copy link
Copy Markdown
Contributor

@cmsbuild

Copy link
Copy Markdown
Contributor

A new Pull Request was created by @akritkbehera for master.

It involves the following packages:

  • CalibTracker/SiPixelLorentzAngle (alca)
  • SimG4CMS/Calo (simulation)

@Alejandro1400, @JanChyczynski, @arunhep, @atpathak, @civanch, @cmsbuild, @kpedro88, @mdhildreth, @perrotta can you please review it and eventually sign? Thanks.
@ReyerBand, @argiro, @bsunanda, @dkotlins, @fabiocos, @felicepantaleo, @ferencek, @martinamalberti, @mmusich, @mroguljic, @rchatter, @rovere, @rsreds, @slomeo, @thomreis, @tocheng, @tsusa, @wang0jin, @yuanchao this is something you requested to watch as well.
@ftenchini, @mandrenguyen, @sextonkennedy you are the release manager for this.

cms-bot commands are listed here

@smuzaffar

Copy link
Copy Markdown
Contributor

please test

@smuzaffar

Copy link
Copy Markdown
Contributor

this change works for new ROOT master

@cmsbuild

Copy link
Copy Markdown
Contributor

+1

Size: This PR adds an extra 32KB to repository
Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-744b0f/50670/summary.html
COMMIT: 2174999
CMSSW: CMSSW_16_1_X_2026-01-15-2300/el8_amd64_gcc13
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week0/cms-sw/cmssw/49818/50670/install.sh to create a dev area with all the needed externals and cmssw changes.

Comparison Summary

Summary:

  • No significant changes to the logs found
  • Reco comparison results: 0 differences found in the comparisons
  • DQMHistoTests: Total files compared: 52
  • DQMHistoTests: Total histograms compared: 4025536
  • DQMHistoTests: Total failures: 44
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 4025472
  • DQMHistoTests: Total skipped: 20
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 51 files compared)
  • Checked 222 log files, 193 edm output root files, 52 DQM output files
  • TriggerResults: no differences found

@perrotta

Copy link
Copy Markdown
Contributor

+alca

@smuzaffar

Copy link
Copy Markdown
Contributor

@cms-sw/simulation-l2 can you please review this change ? This is needed due to changes in ROOT master

@civanch

civanch commented Jan 16, 2026

Copy link
Copy Markdown
Contributor

+1

@cmsbuild

Copy link
Copy Markdown
Contributor

This pull request is fully signed and it will be integrated in one of the next master IBs (tests are also fine). This pull request will now be reviewed by the release team before it's merged. @sextonkennedy, @ftenchini, @mandrenguyen (and backports should be raised in the release meeting by the corresponding L2)

@smuzaffar

Copy link
Copy Markdown
Contributor

@cms-sw/orp-l2 , can we get this in next IB? This is needed for ROOT6_X update cms-sw/cmsdist#10274

@mandrenguyen

Copy link
Copy Markdown
Contributor

+1

@cmsbuild cmsbuild merged commit 52be86b into cms-sw:master Jan 17, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants