[ROOT] Selective filling of part of a branch

From: cstrato@EUnet.at
Date: Sun Feb 18 2001 - 23:03:30 MET


Dear Rooters

When I have a class:
class ClassA: public TNamed{
   private:
   TString Name1;
   TString Name2;
   TString Name3;
}
and a tree with one branch:
tree->Branch("br","ClassA",&classA,64000,0);

Initially, I can fill the tree only with Name1 and Name2, but not with
Name3.
However, at a later time, I want to fill selective entries with Name3.

How can I fill a selected entry of the tree with Name3?
How can I replace one member variable of ClassA for a selected entry
only?

Thank you in advance for your help
Christian

----------------------------------
C.h.r.i.s.t.i.a.n  S.t.r.a.t.o.w.a
V.i.e.n.n.a.  A.U.S.T.R.I.A
e-mail: cstrato@EUnet.at



This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:50:36 MET