deleted unused code / added consumes fix / changed identifiers to match cmssw conventions