Consolidating different TTrees into one

From: Suvayu Ali <fatkasuvayu_at_gmail.com>
Date: Tue, 2 Nov 2010 02:49:55 -0700


Hi ROOTers,

I'm in bit of a predicament. I have several different TNtuples in a ROOT file with the exact same branches but different number of events. I want to add all these TNtuples into one consolidated TNtuple with a different weight for each TNtuple.

At first I thought of friending them but then I realised that won't work, as that will treat those "identical" branches as different branches. Is their any way do this other than an event by event copy? Even if I go with that, how do I use weights?

Any clues would be helpful. Thanks in advance for your thoughts.

-- 
Suvayu

Open source is the future. It sets us free.
Received on Tue Nov 02 2010 - 10:50:13 CET

This archive was generated by hypermail 2.2.0 : Tue Nov 02 2010 - 11:50:01 CET