Saving selected TChain entries

From: suvayu ali <fatkasuvayu_at_gmail.com>
Date: Mon, 27 Feb 2012 15:00:12 +0100


Hi ROOT users & experts,

I want to save the selected entries for a TChain. I could just copy the required branches for the selected entries to a smaller tree, but it is not easily maintainable for my case as my list of required branches changes rather often. So I looked into TEntryList. But it seems I can generate a TEntryList only with the TChain::Draw() method. I would prefer to select by iterating over the chain instead. Is there anyway to get a TEntryList without using TChain::Draw()?

Thanks a lot,

-- 
Suvayu

Open source is the future. It sets us free.
Received on Mon Feb 27 2012 - 15:00:37 CET

This archive was generated by hypermail 2.2.0 : Mon Feb 27 2012 - 17:50:01 CET