CMS 3D CMS Logo

Functions
EventContent_cff Namespace Reference

Functions

def _addOutputCommands (mod, newCommands)
 
def SwapKeepAndDrop (l)
 

Function Documentation

def EventContent_cff._addOutputCommands (   mod,
  newCommands 
)
private

Definition at line 936 of file EventContent_cff.py.

936 def _addOutputCommands(mod, newCommands):
937  phase2_timing_layer.toModify(mod, outputCommands = mod.outputCommands + newCommands.outputCommands)
938 
939 _addOutputCommands(FEVTDEBUGEventContent,RecoLocalFastTimeFEVT)
940 _addOutputCommands(FEVTDEBUGHLTEventContent,RecoLocalFastTimeFEVT)
941 _addOutputCommands(FEVTEventContent,RecoLocalFastTimeFEVT)
942 _addOutputCommands(RECOSIMEventContent,RecoLocalFastTimeRECO)
943 _addOutputCommands(AODSIMEventContent,RecoLocalFastTimeAOD)
944 
def _addOutputCommands(mod, newCommands)
def EventContent_cff.SwapKeepAndDrop (   l)

Definition at line 799 of file EventContent_cff.py.

800  r=[]
801  for item in l:
802  if 'keep ' in item:
803  r.append(item.replace('keep ','drop '))
804  elif 'drop ' in item:
805  r.append(item.replace('drop ','keep '))
806  return r
807