Old cmssw usercode code