|
def | __init__ (self, rootfile, removeRadiativeGammaFlag=False) |
|
def | get_string (self, decayHash, decayHashExtended) |
|
def | get_original_decay (self, decayHash, decayHashExtended) |
|
def | get_reconstructed_decay (self, decayHash, decayHashExtended) |
|
def | print_hash (self, decayHash, decayHashExtended) |
|
|
| _string |
| Dict Int -> DecayStrings.
|
|
| _forest |
| Dict Int -> Reconstructed DecayTree.
|
|
DecayHashMap using the C++ implementation of DecayTree and DecayNode
Definition at line 52 of file decayHash.py.
◆ __init__()
def __init__ |
( |
|
self, |
|
|
|
rootfile, |
|
|
|
removeRadiativeGammaFlag = False |
|
) |
| |
Constructor
Definition at line 56 of file decayHash.py.
56 def __init__(self, rootfile, removeRadiativeGammaFlag=False):
59 ntuple = root_numpy.root2array(rootfile)
65 for decayHash, decayHashExtended, decayString
in ntuple:
67 if decayInt
in self._string:
69 self._string[decayInt] = decayString
70 self._forest[decayInt] =
Belle2.DecayForest(decayString,
True, removeRadiativeGammaFlag)
◆ get_original_decay()
def get_original_decay |
( |
|
self, |
|
|
|
decayHash, |
|
|
|
decayHashExtended |
|
) |
| |
Return original (MC) DecayTree given the decayHash and decayHashExtended
@param decayHash output of extraInfo(decayHash)
@param decayHashExtended output of extraInfo(decayHashExtended)
Definition at line 80 of file decayHash.py.
◆ get_reconstructed_decay()
def get_reconstructed_decay |
( |
|
self, |
|
|
|
decayHash, |
|
|
|
decayHashExtended |
|
) |
| |
Return reconstructed DecayTree given the decayHash and decayHashExtended
@param decayHash output of extraInfo(decayHash)
@param decayHashExtended output of extraInfo(decayHashExtended)
Definition at line 88 of file decayHash.py.
◆ get_string()
def get_string |
( |
|
self, |
|
|
|
decayHash, |
|
|
|
decayHashExtended |
|
) |
| |
Return DecayString given the decayHash and decayHashExtended
@param decayHash output of extraInfo(decayHash)
@param decayHashExtended output of extraInfo(decayHashExtended)
Definition at line 72 of file decayHash.py.
◆ print_hash()
def print_hash |
( |
|
self, |
|
|
|
decayHash, |
|
|
|
decayHashExtended |
|
) |
| |
Print the DecayString in a fancy way given the decayHash and decayHashExtended
@param decayHash output of extraInfo(decayHash)
@param decayHashExtended output of extraInfo(decayHashExtended)
Definition at line 96 of file decayHash.py.
The documentation for this class was generated from the following file: