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 882 of file EventContent_cff.py.

882 def _addOutputCommands(mod, newCommands):
883  phase2_timing_layer.toModify(mod, outputCommands = mod.outputCommands + newCommands.outputCommands)
884 
885 _addOutputCommands(FEVTDEBUGEventContent,RecoLocalFastTimeFEVT)
886 _addOutputCommands(FEVTDEBUGHLTEventContent,RecoLocalFastTimeFEVT)
887 _addOutputCommands(FEVTEventContent,RecoLocalFastTimeFEVT)
888 _addOutputCommands(RECOSIMEventContent,RecoLocalFastTimeRECO)
889 _addOutputCommands(AODSIMEventContent,RecoLocalFastTimeAOD)
890 
def _addOutputCommands(mod, newCommands)
def EventContent_cff.SwapKeepAndDrop (   l)

Definition at line 744 of file EventContent_cff.py.

745  r=[]
746  for item in l:
747  if 'keep ' in item:
748  r.append(item.replace('keep ','drop '))
749  elif 'drop ' in item:
750  r.append(item.replace('drop ','keep '))
751  return r
752