Dump histos code added to macro1, normally not active unless bool printYield set to true.