CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Functions
customiseForQuadrupletsHLTPixelTracksByCellularAutomaton Namespace Reference

Functions

def customiseForQuadrupletsHLTPixelTracksByCellularAutomaton
 
def producers_by_type
 

Function Documentation

def customiseForQuadrupletsHLTPixelTracksByCellularAutomaton.customiseForQuadrupletsHLTPixelTracksByCellularAutomaton (   process)

Definition at line 8 of file customiseForQuadrupletsHLTPixelTracksByCellularAutomaton.py.

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

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

Definition at line 5 of file customiseForQuadrupletsHLTPixelTracksByCellularAutomaton.py.

Referenced by customiseForQuadrupletsHLTPixelTracksByCellularAutomaton().

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