Implemented a JpsiK fit
Added a subfolder to the Fitter
directory called jpsik
which will fit the B+ -> Jpsi K+ and B+ -> Jpsi pi+ MC (both reconstructed in the Jpsi K mode) to get templates for each.
Then apply a fit to the data.
As currently implemented does a fit to the TOS and TIS samples independently for all events.
-
Should be modified to implement a fit in bins of P and PT. This is very straightforward as the information is already in the DataFrame
so can just loop bins and call thefit()
andplot()
functions for the data in each bin.
FYI: I will merge this into the sweights branch and then merge that into the master
Edited by Matthew William Kenzie