CMS 3D CMS Logo

Functions | Variables
l1tGTAlgoBlockProducer_cff Namespace Reference

Functions

def collectAlgorithmPaths (process)
 

Variables

 algorithms
 
 l1tGTAlgoBlockProducer
 

Function Documentation

◆ collectAlgorithmPaths()

def l1tGTAlgoBlockProducer_cff.collectAlgorithmPaths (   process,
  tuple,
  cms,
  Path 
)

Definition at line 11 of file l1tGTAlgoBlockProducer_cff.py.

References submitPVValidationJobs.split(), and mkLumiAveragedPlots.tuple.

11 def collectAlgorithmPaths(process) -> "tuple[cms.Path]":
12  str_paths = set()
13  for algorithm in algorithms:
14  algo_paths = re.sub(r'[()]'," " , algorithm.expression.value()).split()
15  for algo in algo_paths:
16  if algo in process.pathNames() :
17  str_paths.add(algo)
18  paths = set()
19 
20  for str_path in str_paths:
21  paths.add(getattr(process, str_path))
22 
23  return tuple(paths)

Variable Documentation

◆ algorithms

l1tGTAlgoBlockProducer_cff.algorithms

Definition at line 4 of file l1tGTAlgoBlockProducer_cff.py.

◆ l1tGTAlgoBlockProducer

l1tGTAlgoBlockProducer_cff.l1tGTAlgoBlockProducer

Definition at line 6 of file l1tGTAlgoBlockProducer_cff.py.