CMS 3D CMS Logo

Functions
customiseForQuadrupletsHLTPixelTracksByCellularAutomaton Namespace Reference

Functions

def customiseForQuadrupletsHLTPixelTracksByCellularAutomaton (process)
 
def producers_by_type (process, types)
 

Function Documentation

def customiseForQuadrupletsHLTPixelTracksByCellularAutomaton.customiseForQuadrupletsHLTPixelTracksByCellularAutomaton (   process)

Definition at line 8 of file customiseForQuadrupletsHLTPixelTracksByCellularAutomaton.py.

References customiseForQuadrupletsByCellularAutomaton.customiseNewSeeding(), and producers_by_type().

9  for module in producers_by_type(process, "PixelTrackProducer"):
10  quadrupletModuleName = module.SeedingHitSets.getModuleLabel()
11  quadrupletModule = getattr(process, quadrupletModuleName)
12  if quadrupletModule._TypedParameterizable__type == "PixelQuadrupletEDProducer":
13  customiseNewSeeding(process, quadrupletModule)
14 
15  return process
def customiseForQuadrupletsHLTPixelTracksByCellularAutomaton.producers_by_type (   process,
  types 
)

Definition at line 5 of file customiseForQuadrupletsHLTPixelTracksByCellularAutomaton.py.

Referenced by customiseForQuadrupletsHLTPixelTracksByCellularAutomaton().

5 def producers_by_type(process, *types):
6  return (module for module in process._Process__producers.values() if module._TypedParameterizable__type in types)
7