Skip to content

Instantly share code, notes, and snippets.

@raggleton
Created February 21, 2014 18:29
Show Gist options
  • Save raggleton/9140255 to your computer and use it in GitHub Desktop.
Save raggleton/9140255 to your computer and use it in GitHub Desktop.
Prints out event content during path run (like edmDumpEventContent)
process.eca= cms.EDAnalyzer("EventContentAnalyzer"
#getData = cms.untracked.bool(True),
#listContent = cms.untracked.bool(False)
)
then later on
process.p = cms.Path( ... + process.eca + ... )
# https://github.com/cms-sw/cmssw/blob/e858790c803839263e8b9c67ba6a07273d953af3/FWCore/Modules/python/printContent_cfi.py
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment