1 import FWCore.ParameterSet.Config
as cms
5 TYPE_STANDARD_PHYSICS = cms.vint32(1)
7 algorithms = cms.VPSet()
9 l1tGTAlgoBlockProducer = cms.EDProducer(
10 "L1GTAlgoBlockProducer",
11 algorithms = algorithms
16 for algorithm
in algorithms:
17 algo_paths = re.sub(
r'[()]',
" " , algorithm.expression.value()).
split()
18 for algo
in algo_paths:
19 if algo
in process.pathNames() :
23 for str_path
in str_paths:
24 paths.add(getattr(process, str_path))
def split(sequence, size)
def collectAlgorithmPaths(process)