CMS 3D CMS Logo

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

Functions

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

Variables

 makeTtFullLepEventTask
 make ttFullLepEvent More...
 

Function Documentation

◆ removeTtFullLepHypGenMatch()

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 27 of file ttFullLepEvtBuilder_cff.py.

27 def removeTtFullLepHypGenMatch(process):
28  #process.makeTtFullLepHypotheses.remove(process.makeHypothesis_genMatch)
29  process.ttFullLepEvent.hypotheses.remove("ttFullLepHypGenMatch")
30  process.ttFullLepEvent.genEvent = ''
31 
32 
def removeTtFullLepHypGenMatch(process)
helper functions (examples of usage can be found in the ttFullLepEvtBuilder_cfg.py) ...

◆ setForAllTtFullLepHypotheses()

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 35 of file ttFullLepEvtBuilder_cff.py.

References FastTimerService_cff.range.

35 def setForAllTtFullLepHypotheses(process, attribute, value):
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)
44 
45 
46 
47 
def setForAllTtFullLepHypotheses(process, attribute, value)
set a specific attribute for all hypotheses to a given value -> this works for "jets", "leps", "mets", "maxNJets"

Variable Documentation

◆ makeTtFullLepEventTask

ttFullLepEvtBuilder_cff.makeTtFullLepEventTask

make ttFullLepEvent

Definition at line 15 of file ttFullLepEvtBuilder_cff.py.