Dear all,
A basic question,
I am running on dec/alpha/4, and using root version 2.24/02.
I have create a tree of which one branch is a TH1F object with the
following procedure :
main(int argc, char **argv)
{
TH1F *myhisto;
TTree *CELL;
// Create a ROOT TTree
CELL = new TTree("T","My TTree");
CELL->Branch("myhisto","TH1F",&myhisto,128000,0);
... filling myhisto ...
// here i fill the Tree
CELL->Fill();
... write CELL in a root file ...
return 0;
}
I mean this is the right way to process, but how can I access to myhisto
(draw it for example)?
Thanks,
Lionel Neukermans
This archive was generated by hypermail 2b29 : Tue Jan 02 2001 - 11:50:23 MET