new code to make validation plots

submitting again pull request #74 on top of CMSSW_6_2_0_patch1