unifing code and working on RecHits/CalReco