15 makeTtFullLepEvent = cms.Sequence(makeTtFullLepHypotheses *
27 process.makeTtFullLepHypotheses.remove(process.makeHypothesis_genMatch)
28 process.ttFullLepEvent.hypotheses.remove(
"ttFullLepHypGenMatch")
34 modules = [
"ttFullLepJetPartonMatch",
35 "ttFullLepHypGenMatch",
36 "ttFullLepHypKinSolution",
37 "kinSolutionTtFullLepEventHypothesis"]
38 for obj
in range(len(modules)):
39 object = getattr(process, modules[obj])
40 if hasattr(object, attribute):
41 setattr(object, attribute, value)
def removeTtFullLepHypGenMatch
helper functions (examples of usage can be found in the ttFullLepEvtBuilder_cfg.py) ...
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