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

922 def _addOutputCommands(mod, newCommands):
923  phase2_timing_layer.toModify(mod, outputCommands = mod.outputCommands + newCommands.outputCommands)
924 
925 _addOutputCommands(FEVTDEBUGEventContent,RecoLocalFastTimeFEVT)
926 _addOutputCommands(FEVTDEBUGHLTEventContent,RecoLocalFastTimeFEVT)
927 _addOutputCommands(FEVTEventContent,RecoLocalFastTimeFEVT)
928 _addOutputCommands(RECOSIMEventContent,RecoLocalFastTimeRECO)
929 _addOutputCommands(AODSIMEventContent,RecoLocalFastTimeAOD)
930 
def _addOutputCommands(mod, newCommands)
def EventContent_cff.SwapKeepAndDrop (   l)

Definition at line 784 of file EventContent_cff.py.

785  r=[]
786  for item in l:
787  if 'keep ' in item:
788  r.append(item.replace('keep ','drop '))
789  elif 'drop ' in item:
790  r.append(item.replace('drop ','keep '))
791  return r
792