Update7

Various changes to test progams.
All this is on the way to try the full pixel simulation-reconstruction chain in CMSSW7.