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

861 def _addOutputCommands(mod, newCommands):
862  phase2_timing_layer.toModify(mod, outputCommands = mod.outputCommands + newCommands.outputCommands)
863 
864 _addOutputCommands(FEVTDEBUGEventContent,RecoLocalFastTimeFEVT)
865 _addOutputCommands(FEVTDEBUGHLTEventContent,RecoLocalFastTimeFEVT)
866 _addOutputCommands(FEVTEventContent,RecoLocalFastTimeFEVT)
867 _addOutputCommands(RECOSIMEventContent,RecoLocalFastTimeRECO)
868 _addOutputCommands(AODSIMEventContent,RecoLocalFastTimeAOD)
869 
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 731 of file EventContent_cff.py.

732  r=[]
733  for item in l:
734  if 'keep ' in item:
735  r.append(item.replace('keep ','drop '))
736  elif 'drop ' in item:
737  r.append(item.replace('drop ','keep '))
738  return r
739