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

895 def _addOutputCommands(mod, newCommands):
896  phase2_timing_layer.toModify(mod, outputCommands = mod.outputCommands + newCommands.outputCommands)
897 
898 _addOutputCommands(FEVTDEBUGEventContent,RecoLocalFastTimeFEVT)
899 _addOutputCommands(FEVTDEBUGHLTEventContent,RecoLocalFastTimeFEVT)
900 _addOutputCommands(FEVTEventContent,RecoLocalFastTimeFEVT)
901 _addOutputCommands(RECOSIMEventContent,RecoLocalFastTimeRECO)
902 _addOutputCommands(AODSIMEventContent,RecoLocalFastTimeAOD)
903 
def _addOutputCommands(mod, newCommands)
def EventContent_cff.SwapKeepAndDrop (   l)

Definition at line 757 of file EventContent_cff.py.

758  r=[]
759  for item in l:
760  if 'keep ' in item:
761  r.append(item.replace('keep ','drop '))
762  elif 'drop ' in item:
763  r.append(item.replace('drop ','keep '))
764  return r
765