CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups 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 makeTtFullLepEventTask
 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 27 of file ttFullLepEvtBuilder_cff.py.

27 
28 def removeTtFullLepHypGenMatch(process):
29  #process.makeTtFullLepHypotheses.remove(process.makeHypothesis_genMatch)
30  process.ttFullLepEvent.hypotheses.remove("ttFullLepHypGenMatch")
31  process.ttFullLepEvent.genEvent = ''
32 
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 35 of file ttFullLepEvtBuilder_cff.py.

References sistrip::SpyUtilities.range().

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

Variable Documentation

tuple ttFullLepEvtBuilder_cff.makeTtFullLepEventTask
Initial value:
1 = cms.Task(
2  makeTtFullLepHypothesesTask,
3  ttFullLepEvent
4 )

make ttFullLepEvent

Definition at line 15 of file ttFullLepEvtBuilder_cff.py.