1 import FWCore.ParameterSet.Config
as cms
4 algorithms = cms.VPSet()
6 l1tGTAlgoBlockProducer = cms.EDProducer(
7 "L1GTAlgoBlockProducer",
8 algorithms = algorithms
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() :
20 for str_path
in str_paths:
21 paths.add(getattr(process, str_path))
def split(sequence, size)
def collectAlgorithmPaths(process)