This POET repository contains packages that verse instructions and examples on how to extract physics (objects) information from Run 2 (MiniAOD format) CMS open/legacy data and methods or tools needed for processing them. These objects can be: electrons, muons, photons, jets, tracks, etc.
Please check out the README
of a specific package (e.g., PhysObjectExtractor and the tutorials of the CMS open data workshop for further instructions on how to use the code.