Adapt AVE_50_BX_50ns to work on CMSSW629