ROOT  6.06/09
Reference Guide
Functions
PoolUtils Namespace Reference

This namespace contains pre-defined functions to be used in conjuction with TPool::Map and TPool::MapReduce. More...

Functions

TObjectReduceObjects (const std::vector< TObject * > &objs)
 Merge collection of TObjects. More...
 

Detailed Description

This namespace contains pre-defined functions to be used in conjuction with TPool::Map and TPool::MapReduce.

Function Documentation

TObject * PoolUtils::ReduceObjects ( const std::vector< TObject * > &  objs)

Merge collection of TObjects.

This function looks for an implementation of the Merge method (e.g. TH1F::Merge) and calls it on the objects contained in objs. If Merge is not found, a null pointer is returned.

Definition at line 11 of file PoolUtils.cxx.

Referenced by TPoolProcessor< F >::Process(), and TProcPool::ProcTree().