Functions | |
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" | |
Variables | |
tuple | makeTtFullLepEvent |
make ttFullLepEvent |
def ttFullLepEvtBuilder_cff::removeTtFullLepHypGenMatch | ( | process | ) |
helper functions (examples of usage can be found in the ttFullLepEvtBuilder_cfg.py)
remove genMatch hypothesis from the process
Definition at line 26 of file ttFullLepEvtBuilder_cff.py.
def ttFullLepEvtBuilder_cff::setForAllTtFullLepHypotheses | ( | process, | |
attribute, | |||
value | |||
) |
set a specific attribute for all hypotheses to a given value -> this works for "jets", "leps", "mets", "maxNJets"
Definition at line 33 of file ttFullLepEvtBuilder_cff.py.
00034 : 00035 modules = ["ttFullLepJetPartonMatch", 00036 "ttFullLepHypGenMatch", 00037 "ttFullLepHypKinSolution", 00038 "kinSolutionTtFullLepEventHypothesis"] 00039 for obj in range(len(modules)): 00040 object = getattr(process, modules[obj]) 00041 if hasattr(object, attribute): 00042 setattr(object, attribute, value) 00043 00044 00045
00001 cms.Sequence(makeTtFullLepHypotheses * 00002 ttFullLepEvent 00003 )
make ttFullLepEvent
Definition at line 15 of file ttFullLepEvtBuilder_cff.py.