Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make ECALHCAL.py python3 compatible #26408

Merged
merged 1 commit into from Apr 10, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions Validation/Configuration/python/ECALHCAL.py
Expand Up @@ -30,7 +30,7 @@ def customise(process):
# modify the content

#process.output.outputCommands.append("keep *_simHcalUnsuppressedDigis_*_*")
six.iteritems(process.outputModules_()).next()[1].outputCommands.append("keep *_simHcalUnsuppressedDigis_*_*")
six.next(six.iteritems(process.outputModules_()))[1].outputCommands.append("keep *_simHcalUnsuppressedDigis_*_*")

# user schedule: use only calorimeters digitization and local reconstruction

Expand Down Expand Up @@ -84,6 +84,6 @@ def customise(process):

process.schedule.append(process.endjob_step)
#process.schedule.append(process.out_step)
process.schedule.append(getattr(process,six.iteritems(process.outputModules_()).next()[0]+"_step"))
process.schedule.append(getattr(process,six.next(six.iteritems(process.outputModules_()))[0]+"_step"))

return(process)