15 makeTtFullLepEvent = cms.Sequence(makeTtFullLepHypotheses *
27 process.makeTtFullLepHypotheses.remove(process.makeHypothesis_genMatch)
28 process.ttFullLepEvent.hypotheses.remove(
"ttFullLepHypGenMatch")
34 modules = [
"ttFullLepHypGenMatch",
35 "ttFullLepHypKinSolution",
36 "kinSolutionTtFullLepEventHypothesis"]
37 for obj
in range(len(modules)):
38 object = getattr(process, modules[obj])
39 if hasattr(object, attribute):
40 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