Code for release CMSSW_7_4_0_pre1. Code for CA with pairs added