Skip to content

[RF][RS] Remove unused DebuggingSampler and DebuggingTestStat classes#22839

Open
guitargeek wants to merge 1 commit into
root-project:masterfrom
guitargeek:rs_debug_classes
Open

[RF][RS] Remove unused DebuggingSampler and DebuggingTestStat classes#22839
guitargeek wants to merge 1 commit into
root-project:masterfrom
guitargeek:rs_debug_classes

Conversation

@guitargeek

Copy link
Copy Markdown
Contributor

These were mock implementations of the TestStatSampler and TestStatistic interfaces that returned uniform random numbers independent of the data. They were only meant for debugging the RooStats framework itself during its initial development and are referenced nowhere else in the codebase, tutorials, or tests.

They were also never fully functional: DebuggingSampler's GetTestStatistic() only prints "IS NOT IMPLEMENTED" and returns a nullptr, and DebuggingTestStat leaks its data members because it lacks a destructor.

These were mock implementations of the TestStatSampler and
TestStatistic interfaces that returned uniform random numbers
independent of the data. They were only meant for debugging the
RooStats framework itself during its initial development and are
referenced nowhere else in the codebase, tutorials, or tests.

They were also never fully functional: DebuggingSampler's
GetTestStatistic() only prints "IS NOT IMPLEMENTED" and returns a
nullptr, and DebuggingTestStat leaks its data members because it lacks
a destructor.
@guitargeek guitargeek self-assigned this Jul 17, 2026
@guitargeek
guitargeek requested a review from dpiparo as a code owner July 17, 2026 08:17
@github-actions

Copy link
Copy Markdown

Test Results

    23 files      23 suites   3d 16h 28m 16s ⏱️
 3 873 tests  3 873 ✅ 0 💤 0 ❌
78 786 runs  78 786 ✅ 0 💤 0 ❌

Results for commit 371d352.

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.

1 participant