Error while using edmDumpevent

Hi,
I experienced this error while using edmDumpEventContent command :


(/code/CMSSW_7_6_7/src) edmDumpEventContent --name savehits_output_0001.root
Traceback (most recent call last):
File “/cvmfs/cms.cern.ch/slc6_amd64_gcc493/cms/cmssw/CMSSW_7_6_7/bin/slc6_amd64_gcc493/edmDumpEventContent”, line 228, in
branches = Tree.GetListOfBranches()
AttributeError: ‘TObject’ object has no attribute ‘GetListOfBranches’

Hi!

edmDumpEventContent is a CMSSW helper script and it expects the input file to be in the CMS EDM (Event Data Model) format, see WorkBookCMSSWFramework < CMSPublic < TWiki

That would be an AOD or a MiniAOD file. If your input is a plain root file, have a look at ROOT files - ROOT

Hope this helps.

Best, Kati
for the CMS open data team

1 Like