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

853 def _addOutputCommands(mod, newCommands):
854  phase2_timing_layer.toModify(mod, outputCommands = mod.outputCommands + newCommands.outputCommands)
855 
856 _addOutputCommands(FEVTDEBUGEventContent,RecoLocalFastTimeFEVT)
857 _addOutputCommands(FEVTDEBUGHLTEventContent,RecoLocalFastTimeFEVT)
858 _addOutputCommands(FEVTEventContent,RecoLocalFastTimeFEVT)
859 _addOutputCommands(RECOSIMEventContent,RecoLocalFastTimeRECO)
860 _addOutputCommands(AODSIMEventContent,RecoLocalFastTimeAOD)
861 
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 723 of file EventContent_cff.py.

724  r=[]
725  for item in l:
726  if 'keep ' in item:
727  r.append(item.replace('keep ','drop '))
728  elif 'drop ' in item:
729  r.append(item.replace('drop ','keep '))
730  return r
731