Hi,
From you macro I see:
theAnalysis->FillList(eplus, "ElectronTightPlus");
//theAnalysis->FillList(eplus, "ElectronTightPlus","PidAlgoEmcBayes");
theAnalysis->FillList(eminus, "ElectronTightPlus");
//theAnalysis->FillList(eminus, "ElectronTightMinus","PidAlgoEmcBayes");
This means you disabled your choice of Algorithm and take the default "PidAlgoIdealCharged". By switching back you should get reasonable results.
Be reminded that you can manually reset to any other PID combination "by hand". Ref. the turorial.
Cheers.
Ralf