CMS 3D CMS Logo

Functions
customiseAlCaNano Namespace Reference

Functions

def flatSiStripCalCosmicsNano (process)
 
def outputToFlat (process, outputName)
 

Function Documentation

◆ flatSiStripCalCosmicsNano()

def customiseAlCaNano.flatSiStripCalCosmicsNano (   process)

Definition at line 14 of file customiseAlCaNano.py.

14 def flatSiStripCalCosmicsNano(process):
15  return outputToFlat(process, "ALCARECOStreamSiStripCalCosmicsNano")

References outputToFlat().

◆ outputToFlat()

def customiseAlCaNano.outputToFlat (   process,
  outputName 
)
Replace PoolOutputModule by NanoAODOutputModule to get NanoAOD-like (flat tree) output without merging step 

Definition at line 3 of file customiseAlCaNano.py.

3 def outputToFlat(process, outputName):
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"
10  })
11  )
12  return process
13 

Referenced by flatSiStripCalCosmicsNano().

customiseAlCaNano.outputToFlat
def outputToFlat(process, outputName)
Definition: customiseAlCaNano.py:3
customiseAlCaNano.flatSiStripCalCosmicsNano
def flatSiStripCalCosmicsNano(process)
Definition: customiseAlCaNano.py:14