[ROOT] ntuple to histogram

From: Andreas Adelmann (andreas.adelmann@psi.ch)
Date: Wed Jul 02 2003 - 16:34:21 MEST


Hi rooter suppose I have data filled in an 
ntuple of the following form:

TNtuple* ntuple = new
TNtuple("ntuple","NTUPLE","x:px:y:py:z:pz:id:node");

and I would like to make a density plot in the x and y
plane.

How do I fill a histogram from the ntuple? 

Thanks, Andreas 

-- 
Andreas (Andy) Adelmann
Paul Scherrer Institut 
CH-5232 Villigen PSI
Phone Office: xx41 56 310 42 33 Fax: xx41 56 310 31 91
Phone Home: xx41 62 891 91 44



This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:13 MET