CMS 3D CMS Logo

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 

◆ 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.

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 

References FastTimerService_cff.range.

Variable Documentation

◆ makeTtFullLepEventTask

ttFullLepEvtBuilder_cff.makeTtFullLepEventTask

make ttFullLepEvent

Definition at line 15 of file ttFullLepEvtBuilder_cff.py.

FastTimerService_cff.range
range
Definition: FastTimerService_cff.py:34
ttFullLepEvtBuilder_cff.setForAllTtFullLepHypotheses
def setForAllTtFullLepHypotheses(process, attribute, value)
set a specific attribute for all hypotheses to a given value -> this works for "jets",...
Definition: ttFullLepEvtBuilder_cff.py:35
ttFullLepEvtBuilder_cff.removeTtFullLepHypGenMatch
def removeTtFullLepHypGenMatch(process)
helper functions (examples of usage can be found in the ttFullLepEvtBuilder_cfg.py)
Definition: ttFullLepEvtBuilder_cff.py:27