24 std::cerr <<
"could not find merge method for TObject*\n. Aborting operation.";
30 unsigned NObjs = objs.size();
31 for(
unsigned i=1; i<NObjs; ++i)
32 mergelist.
Add(objs[i]);
35 merge(obj, &mergelist,
nullptr);
virtual void Delete(Option_t *option="")
Remove all objects from the list AND delete all heap based objects.
TObject * ReduceObjects(const std::vector< TObject * > &objs)
Merge collection of TObjects.
Long64_t(* MergeFunc_t)(void *, TCollection *, TFileMergeInfo *)
Mother of all ROOT objects.
virtual void Add(TObject *obj)