pheno_work To run the code, just do: root -l -b -q runAll.C++ This will give two rootfiles: sig_out.root and bkg_out.root