Only merge events from a TEventList

Hello all,

Is there any simple way to merge all of the events listed in TEventList? Using merge while a TChain has an event list on still seems to merge all the events in the TChain, not just the events in the event list.

I’ve searched, but to no avail. Any help or suggestions would be most appreciated.

Thanks,
John

HI,

A priori doing:oldtree->SetEntryList(entrylist); // or SetEventList TTree *newtree = oldtree->CloneTree();should do the partial copy.

Cheers,
Philippe.