Replace PoolOutputModule by NanoAODOutputModule to get NanoAOD-like (flat tree) output without merging step
Definition at line 3 of file customiseAlCaNano.py.
4 """ Replace PoolOutputModule by NanoAODOutputModule to get NanoAOD-like (flat tree) output without merging step """
5 orig = getattr(process, outputName)
6 setattr(process, outputName,
7 cms.OutputModule(
"NanoAODOutputModule", **{
8 pn: orig.getParameter(pn)
for pn
in orig.parameterNames_()
9 if pn !=
"eventAutoFlushCompressedSize"
Referenced by flatSiStripCalCosmicsNano().