I am trying to create a branch containing a TArrayS object in a Cint script. The call to tree->Branch always give a segment violation. What is correct for the third argument to TTree::Branch ? { TFile *file=new TFile("data.root","UPDATE"); TTree *tree=new TTree(); TArrayS *s=new TArrayS(5); TBranch *b=tree->Branch("my branch","TArrayS",???,0,0); *** }
This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:26:22 MET