Hi All,
What is the difference between Ntuple and Tree output with respect to the use of those below ?
//a template of a script for Ntuple and Tree
TTree *tree = new TTree("tree","tree for some data");
tree->Branch("x",&x,"x/F");
tree->Branch("y",&y,"y/F");
tree->Branch("z",&z,"z/F");
tree->Fill();
TNtuple *ntuple =new TNtuple("ntuple","ntuple for some data","x:y:z");
ntuple->Fill(x,y,z);
Thanks for your help,
Cheers,
Ersel