Functions | |
def | allDaughters |
def | bosonToX |
def | findStatus1Leptons |
def | isNotHadronicId |
def | isPromptLepton |
def genutils.allDaughters | ( | particle, | |
daughters, | |||
rank | |||
) |
Fills daughters with all the daughters of particle. Recursive function.
Definition at line 19 of file genutils.py.
Referenced by bosonToX().
def genutils.bosonToX | ( | particles, | |
bosonType, | |||
xType | |||
) |
Definition at line 31 of file genutils.py.
References funct.abs(), allDaughters(), and alcazmumu_cfi.filter.
def genutils.findStatus1Leptons | ( | particle | ) |
Returns status 1 e and mu among the particle daughters
Definition at line 4 of file genutils.py.
References funct.abs().
def genutils.isPromptLepton | ( | lepton, | |
beforeFSR, | |||
includeMotherless = True , |
|||
includeTauDecays = False |
|||
) |
Definition at line 49 of file genutils.py.
References funct.abs(), and isNotHadronicId().
Referenced by GeneratorAnalyzer.GeneratorAnalyzer.makeMCInfo().