Functions | |
def | _currentTreeEntry (tree) |
def | _gotoEntry (tree, entry, forceCall=False) |
def | _makeArrayReader (tree, typ, nam) |
PRIVATE IMPLEMENTATION PART #######. More... | |
def | _makeValueReader (tree, typ, nam) |
def | _readAllBranches (tree) |
def | _remakeAllReaders (tree) |
def | clearExtraBranches (tree) |
def | getArrayReader (tree, branchName) |
def | getValueReader (tree, branchName) |
def | InputTree (tree, entrylist=ROOT.MakeNullPointer(ROOT.TEntryList)) |
def | readBranch (tree, branchName) |
def | setExtraBranch (tree, name, val) |
Variables | |
IgnoreCommandLineOptions | |
|
private |
Definition at line 137 of file treeReaderArrayTools.py.
Referenced by _readAllBranches().
|
private |
Definition at line 144 of file treeReaderArrayTools.py.
|
private |
PRIVATE IMPLEMENTATION PART #######.
Definition at line 100 of file treeReaderArrayTools.py.
References _remakeAllReaders().
Referenced by getArrayReader(), and readBranch().
|
private |
Definition at line 109 of file treeReaderArrayTools.py.
References _remakeAllReaders().
Referenced by getValueReader(), and readBranch().
|
private |
Definition at line 133 of file treeReaderArrayTools.py.
References _currentTreeEntry().
|
private |
Definition at line 118 of file treeReaderArrayTools.py.
Referenced by _makeArrayReader(), and _makeValueReader().
def treeReaderArrayTools.clearExtraBranches | ( | tree | ) |
Definition at line 58 of file treeReaderArrayTools.py.
Referenced by eventloop.eventLoop().
def treeReaderArrayTools.getArrayReader | ( | tree, | |
branchName | |||
) |
Make a reader for branch branchName containing a variable-length value array.
Definition at line 28 of file treeReaderArrayTools.py.
References _makeArrayReader(), and electrons_cff.bool.
def treeReaderArrayTools.getValueReader | ( | tree, | |
branchName | |||
) |
Make a reader for branch branchName containing a single value.
Definition at line 43 of file treeReaderArrayTools.py.
References _makeValueReader(), and electrons_cff.bool.
def treeReaderArrayTools.InputTree | ( | tree, | |
entrylist = ROOT.MakeNullPointer(ROOT.TEntryList) |
|||
) |
add to the PyROOT wrapper of a TTree a TTreeReader and methods readBranch, arrayReader, valueReader
Definition at line 6 of file treeReaderArrayTools.py.
Referenced by postprocessor.PostProcessor.run().
def treeReaderArrayTools.readBranch | ( | tree, | |
branchName | |||
) |
Return the branch value if the branch is a value, and a TreeReaderArray if the branch is an array
Definition at line 66 of file treeReaderArrayTools.py.
References _makeArrayReader(), _makeValueReader(), electrons_cff.bool, and Get().
Referenced by datamodel.Event.__getattr__(), and edm::RootOutputTree.checkEntriesInReadBranches().
def treeReaderArrayTools.setExtraBranch | ( | tree, | |
name, | |||
val | |||
) |
Definition at line 62 of file treeReaderArrayTools.py.
Referenced by output.OutputTree.fillBranch().
treeReaderArrayTools.IgnoreCommandLineOptions |
Definition at line 3 of file treeReaderArrayTools.py.