ProfileLikelihood for Significance

Hi,
I work in astrophysics,Now I want to use ProfileLikehoodCalculator or another to find a signifince for Gamma Sources ,but my dataset is TH2D(Ra,Dec), not Energy Spectrum.I just use some calculators with 1D energy spectrum pdf,so this can be used with 2D pdf and2D data?

Hi,

You should be able to use it also with a 2D data, you need to convert it the input histogram to a RooDataHist (or RooDataSet) and describe your model using RooFit and a 2D pdf.

Lorenzo

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.