Skip to content

Conversation

@guitargeek
Copy link
Contributor

The Measurement uses several other helper classes, which are scattered in different header and implementation files.

Merging these classes to one header and compilation unit has several advantages:

  • User only needs to include one header

  • Easier to get an overview on the structure of the Measurement class, which helps for refactoring and re-designing of HistFactor using the new ROOT histogram classes

  • Shorter compilation times

There is no breaking of backwards compatibility, as the old header files are all kept around, just with no content. However, the headers are clearly deprecated with a warning that they are going to be removed in ROOT 7.

@github-actions
Copy link

Test Results

    22 files      22 suites   3d 18h 3m 29s ⏱️
 3 781 tests  3 781 ✅ 0 💤 0 ❌
81 190 runs  81 190 ✅ 0 💤 0 ❌

Results for commit fe239d4.

The Measurement uses several other helper classes, which are scattered
in different header and implementation files.

Merging these classes to one header and compilation unit has several
advantages:

  * User only needs to include one header

  * Easier to get an overview on the structure of the Measurement class,
    which helps for refactoring and re-designing of HistFactor using the
    new ROOT histogram classes

  * Shorter compilation times

There is no breaking of backwards compatibility, as the old header files
are all kept around, just with no content. However, the headers are
clearly deprecated with a warning that they are going to be removed in
ROOT 7.
Copy link
Member

@lmoneta lmoneta left a comment

Choose a reason for hiding this comment

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

LGTM!
Thanks Jonas for the improvement

@guitargeek guitargeek merged commit e14d129 into root-project:master Dec 11, 2025
27 of 28 checks passed
@guitargeek guitargeek deleted the hf_header_collaple branch December 11, 2025 20:05
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.

2 participants