28 process.ttFullLepEvent.hypotheses.remove(
"ttFullLepHypGenMatch")
29 process.ttFullLepEvent.genEvent =
''
35 modules = [
"ttFullLepJetPartonMatch",
36 "ttFullLepHypGenMatch",
37 "ttFullLepHypKinSolution",
38 "kinSolutionTtFullLepEventHypothesis"]
39 for obj
in range(len(modules)):
40 object = getattr(process, modules[obj])
41 if hasattr(object, attribute):
42 setattr(object, attribute, value)
def removeTtFullLepHypGenMatch
make ttFullLepEvent makeTtFullLepEvent = cms.Sequence(makeTtFullLepHypotheses * ttFullLepEvent ) ...
def setForAllTtFullLepHypotheses
set a specific attribute for all hypotheses to a given value -> this works for "jets", "leps", "mets", "maxNJets"
configure ttFullLepEventBuilder
produce ttFullLepEvent structure with all necessary ingredients