How to assign entries of TChain?

From: Bian JianMing <bianjm_at_ihep.ac.cn>
Date: Tue, 2 Jun 2009 07:04:11 +0800


Hi ROOTer:
When I use TChain input NTuple, how to set the entries of it? The codes:
TChain ddmc("etot");
ddmc.Add("mcstudy.root");
Double_t totcomb[100],totstab[100];
ddmc.SetBranchAddress("totcomb",totcomb); ddmc.SetBranchAddress("totstab",totstab);

Then what shall I do?

With my best wishes,  

Bian Jianming
Experimental Physics Center,
Institute of High Energy Physics(IHEP),
Chinese Academy of Sciences
P.O.Box 918-1
Beijing, 100049
P.R.China Received on Tue Jun 02 2009 - 01:07:00 CEST

This archive was generated by hypermail 2.2.0 : Tue Jun 02 2009 - 11:50:02 CEST