CMS 3D CMS Logo

Functions
customiseForTripletsHLTPixelTracksByCellularAutomaton Namespace Reference

Functions

def customiseForTripletsHLTPixelTracksByCellularAutomaton (process)
 
def producers_by_type (process, types)
 

Function Documentation

def customiseForTripletsHLTPixelTracksByCellularAutomaton.customiseForTripletsHLTPixelTracksByCellularAutomaton (   process)

Definition at line 9 of file customiseForTripletsHLTPixelTracksByCellularAutomaton.py.

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

10  for module in producers_by_type(process, "PixelTrackProducer"):
11  tripletModuleName = module.SeedingHitSets.getModuleLabel()
12  tripletModule = getattr(process, tripletModuleName)
13  if tripletModule._TypedParameterizable__type in ["PixelTripletHLTEDProducer", "PixelTripletLargeTipEDProducer"]:
14  customiseNewSeeding(process, tripletModule)
15 
16  return process
def customiseForTripletsHLTPixelTracksByCellularAutomaton.producers_by_type (   process,
  types 
)

Definition at line 5 of file customiseForTripletsHLTPixelTracksByCellularAutomaton.py.

Referenced by customiseForTripletsHLTPixelTracksByCellularAutomaton().

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