[ROOT] Problem with TTree::MakeSelector/chains/var length arrays

From: Edward Chen (edward@SLAC.stanford.edu)
Date: Wed Jan 15 2003 - 02:19:41 MET


Hi - (using 3.04/02) I am storing variable length arrays in my ntuples.
These ntuple files are chained together.  Now - if I call
TTree::MakeSelector, the header file will declare arrays with sizes that
correspond to the max sizes in the FIRST file, rather then look at all the
files in the chain.

Was this intended?

Would I run into problems if I edited the header file and declared arrays
with sizes that are much larger than the conceivable maximum size?  For
example - if my known maximum size were 50, and I declared an array of
length 75.  That would not cause problems with I invoked
TChain::SetBranchAddress() would it?

Thanks.

-Ed



This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:08 MET