Analysis code for the estimation of double Jpsi background