Skip to content

TRD Likelihood Method: Fix histograms not being loaded properly

As described here https://redmine.cbm.gsi.de/issues/2601 the input histograms were not loaded properly since the change from h[i] = (TH2D*)histFile->Get(histnames[i]); to h[i] = histFile->Get<TH2D>(histnames[i]);. The proplem was that the input histograms were actually of type TH2F. I changed this here to Get<TH2F>(histnames[i]) (and Get<TH1F> for the 1D method)

Merge request reports