Re: [ROOT] Projecting TNuples -> TH1

From: Rene Brun (Rene.Brun@cern.ch)
Date: Sun Apr 09 2000 - 14:50:53 MEST


hiMax,
Use TTree::Draw (same principle as PAW Ntuple/Plot)
See the documentation of this function.

Rene Brun


On Fri, 7 Apr 2000, Max Sang wrote:

> Hi
> As an old PAW user, I used to project ntuples into 
> predefined histograms according to cuts.
> Is there a simple way to do this in ROOT?
> Many thanks,
> Max
> 
>  +--------------------------------------------------------------+
>  |      Max Sang    Email: max.sang@cern.ch or max.sang@desy.de |
>  +---------------------------------+----------------------------+
>  | Max Planck Institut fuer Physik | GSM    +44-(0)77 8866 7605 |
>  | Foehringer Ring 6               | Office +49-(0)89 32354 327 |
>  | 80805 Muenchen                  | Fax    +49-(0)89  322 6704 |
>  +---------------------------------+----------------------------+
> 



This archive was generated by hypermail 2b29 : Tue Jan 02 2001 - 11:50:23 MET