Hi Belen, Looking at tutorials/tree2.C line 89, I bet you will have success with tree1->Branch("PU1 Smp",Tpu1.smp,"smp[432]/i"); Eddy --- Belen Salvachua Ferrando <Belen.Salvachua.Ferrando@cern.ch> wrote: > Hello! > > How can I fill a branch of a tree with a two > dimensional array? > > I've tried with: > > tree1->Branch("PU1_Smp",Tpu1.smp,"smp[9][48]/i"); > > smp is part of a structure (Tpu1) and it is defined > as an UInt_t 2dim > array. > > Thanks. > >
This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:16 MET