CMSSW EDM code for analyzing HCAL trigger primitives