#include #include using namespace std; int fw_binned(int *a1, int *a2, int *ad, double &f1, double &ef1, double &f2, double &ef2){ int debug_lv=0 ; double range=0.5; // +/- 0.5 is physics range double tf1=0.5; //init value i.e. middle of physics rage double tf2=0.5; double minf1=0.5; double minf2=0.5; int tott=1000000; int max_test=60; // int max_test=1; int totd=4000; int tlv=0, stagelv=0, paran=0; double minLogL=9999999; for(int t=0; t0) logP= -2*( -ex + ob*log(ex) - log(TMath::Factorial((int)ob))); // cout<<"my logP = "<4) cout<