CMS 3D CMS Logo

Functions | Variables

ttFullLepEvtBuilder_cff Namespace Reference

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

Function Documentation

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.

00027                                        :
00028     process.makeTtFullLepHypotheses.remove(process.makeHypothesis_genMatch)
00029     process.ttFullLepEvent.hypotheses.remove("ttFullLepHypGenMatch")
00030 

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 = ["ttFullLepHypGenMatch",     
00036                "ttFullLepHypKinSolution",
00037                "kinSolutionTtFullLepEventHypothesis"]
00038     for obj in range(len(modules)):
00039         object = getattr(process, modules[obj])
00040         if hasattr(object, attribute):
00041             setattr(object, attribute, value)
00042 
00043 
00044 

Variable Documentation

Initial value:
00001 cms.Sequence(makeTtFullLepHypotheses *
00002                                   ttFullLepEvent
00003                                   )

make ttFullLepEvent

Definition at line 15 of file ttFullLepEvtBuilder_cff.py.