CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Functions | Variables
ttFullLepEvtBuilder_cff Namespace Reference

Functions

def removeTtFullLepHypGenMatch
 helper functions (examples of usage can be found in the ttFullLepEvtBuilder_cfg.py) More...
 
def setForAllTtFullLepHypotheses
 set a specific attribute for all hypotheses to a given value -> this works for "jets", "leps", "mets", "maxNJets" More...
 

Variables

tuple makeTtFullLepEvent
 make ttFullLepEvent More...
 

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.

26 
27 def removeTtFullLepHypGenMatch(process):
28  process.makeTtFullLepHypotheses.remove(process.makeHypothesis_genMatch)
29  process.ttFullLepEvent.hypotheses.remove("ttFullLepHypGenMatch")
30 
def removeTtFullLepHypGenMatch
helper functions (examples of usage can be found in the ttFullLepEvtBuilder_cfg.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.

33 
34 def setForAllTtFullLepHypotheses(process, attribute, value):
35  modules = ["ttFullLepJetPartonMatch",
36  "ttFullLepHypGenMatch",
37  "ttFullLepHypKinSolution",
38  "kinSolutionTtFullLepEventHypothesis"]
39  for obj in range(len(modules)):
40  object = getattr(process, modules[obj])
41  if hasattr(object, attribute):
42  setattr(object, attribute, value)
43 
44 
45 
def setForAllTtFullLepHypotheses
set a specific attribute for all hypotheses to a given value -> this works for "jets", "leps", "mets", "maxNJets"

Variable Documentation

tuple ttFullLepEvtBuilder_cff.makeTtFullLepEvent
Initial value:
1 = cms.Sequence(makeTtFullLepHypotheses *
2  ttFullLepEvent
3  )

make ttFullLepEvent

Definition at line 15 of file ttFullLepEvtBuilder_cff.py.