mashephe / AmpTools

A utility library for performing amplitude analysis on particle physics data.
20 stars 12 forks source link

background subtraction in AmpPlotter #51

Open mashephe opened 3 years ago

mashephe commented 3 years ago

Is there a way to have the AmpPlotter generated background subtracted plots (in the case background is supplied)? Right now the behavior is to overlay data with a stack of background + signal, but maybe it would be useful to use background to subtract from data and compare with signal?

mashephe commented 3 years ago

consider adding a checkbox to draw options to enable this. The PlotFactory would then contain some member data linked to the state of this checkbox and perform the appropriate subtraction