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)
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
const uint16_t range(const Frame &aFrame)
produce ttFullLepEvent structure with all necessary ingredients