rootpy.tree.TreeQueue

class rootpy.tree.TreeQueue(name, files, **kwargs)[source]

A chain of files in a multiprocessing Queue.

Note that asking for the number of files in the queue with len(treequeue) can be unreliable. Also, methods not overridden by TreeQueue will always be called on the current tree, so GetEntries will give you the number of entries in the current tree.

Draw(*args, **kwargs)

Loop over subfiles, draw each, and sum the output into a single histogram.

draw(*args, **kwargs)

Loop over subfiles, draw each, and sum the output into a single histogram.