CMS 3D CMS Logo

Functions
EventContent_cff Namespace Reference

Functions

def _addOutputCommands (mod, newCommands)
 
def dropPatTrigger (outputCommands)
 
def dropSimDigis (outputCommands)
 
def SwapKeepAndDrop (l)
 

Function Documentation

def EventContent_cff._addOutputCommands (   mod,
  newCommands 
)
private

Definition at line 847 of file EventContent_cff.py.

847 def _addOutputCommands(mod, newCommands):
848  phase2_timing_layer.toModify(mod, outputCommands = mod.outputCommands + newCommands.outputCommands)
849 
850 _addOutputCommands(FEVTDEBUGEventContent,RecoLocalFastTimeFEVT)
851 _addOutputCommands(FEVTDEBUGHLTEventContent,RecoLocalFastTimeFEVT)
852 _addOutputCommands(FEVTEventContent,RecoLocalFastTimeFEVT)
853 _addOutputCommands(RECOSIMEventContent,RecoLocalFastTimeRECO)
854 _addOutputCommands(AODSIMEventContent,RecoLocalFastTimeAOD)
855 
def _addOutputCommands(mod, newCommands)
def EventContent_cff.dropPatTrigger (   outputCommands)

Definition at line 3 of file EventContent_cff.py.

3 def dropPatTrigger(outputCommands):
4  print 'dropping patTrigger'
5  outputCommands.append("drop *_*patTrigger*_*_*")
6  outputCommands.append("drop *_*PatTrigger*_*_*")
7 
def dropPatTrigger(outputCommands)
def EventContent_cff.dropSimDigis (   outputCommands)

Definition at line 8 of file EventContent_cff.py.

8 def dropSimDigis(outputCommands):
9  outputCommands.append("drop *_sim*Digis*_*_*")
10  outputCommands.append("drop *_gmtDigis*_*_*")
11 
def dropSimDigis(outputCommands)
def EventContent_cff.SwapKeepAndDrop (   l)

Definition at line 742 of file EventContent_cff.py.

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