A toy model for X(3872) -> J/psi pi+ pi- with coherenct background. Invariant mass m(J/psi pi+ pi-) is considered. The X(3872) lineshape is described with a relativistic Breit-Wigner. Backgound is divided into coherennt and non-coherent parts. Coherent background is described with 1st order polynomial, while non-coherent background is described with 2nd order polynomial. Detector resolution is described with Gaussian.
The model parameters are:
- X(3872) mass
- X(3872) width
- fraction of coherent background
- phase of coherent background
- fraction of non-coherent background
- width of the Gaussian (detector resolution)
- polynomial coefficient for coherent background lineshape 8 and 9. two polynomial coefficients for non-coherent background lineshape
Dependences:
scipy
:numpy
andmatplotlib
iminuit
Content:
lineshapes.py
contains model definition and model parametersplots.py
contains a number of ploting functionstoymc.py
runs toy MC generationfitter.py
runs toy MC generation and then fitting with different modelsinteractive_model.py
runs interactive lineshape visualization