1 import FWCore.ParameterSet.Config
as cms
15 makeTtFullLepEventTask = cms.Task(
16 makeTtFullLepHypothesesTask,
29 process.ttFullLepEvent.hypotheses.remove(
"ttFullLepHypGenMatch")
30 process.ttFullLepEvent.genEvent =
''
36 modules = [
"ttFullLepJetPartonMatch",
37 "ttFullLepHypGenMatch",
38 "ttFullLepHypKinSolution",
39 "kinSolutionTtFullLepEventHypothesis"]
40 for obj
in range(len(modules)):
41 object = getattr(process, modules[obj])
42 if hasattr(object, attribute):
43 setattr(object, attribute, value)