Access raw data in HypoTestCalculator

Dear experts,

I did not find any way to access basic data when using HypoTestCalculators apart from the sampling distributions of the test statistic.
Is there a way to access (for example) distributions and pulls of given parameters?
(or are they deleted as soon as not needed?)

Thanks in advance,
Francesco

Hi,

You can enable a detailed output on the toys that were fitted for evaluating the test statistics. To have this information you need to call ProfileLikelihoodtestStatistics::EnableDetailedOutput before running the toys for testing the hypothesis and then you retrieve the detailed output from the HypoTestResult class via
HypoTestResult::GetNullDetailedOutput and HypoTestResult::GetAltDetailedOutput

Best Regards

Lorenzo