Using SetBranchAddress when all branches are leaves.

From: Brett Viren <>
Date: Wed, 09 Feb 2005 14:06:14 -0500


I have an hbook CWN converted to root with h2root. The result has no main branches, that is, each variable in the ntuple is a top level branch.

I also have a struct which has data memebers coresponding to all the variables from the CWN. I'd like to create an instance of this struct and use that with SetBranchAddress() like in the Event example in the user manual.

However, since all variables are in their same branch, this seems impossible. Do I miss something?

-Brett. Received on Wed Feb 09 2005 - 20:06:24 MET

This archive was generated by hypermail 2.2.0 : Tue Jan 02 2007 - 14:45:04 MET