Ilia,
The help of TTree::Draw says:
// Saving the result of Draw to an histogram
// =========================================
// By default the temporary histogram created is called htemp.
// If varexp0 contains >>hnew (following the variable(s) name(s),
// the new histogram created is called hnew and it is kept in the current
// directory.
// Example:
// tree.Draw("sqrt(x)>>hsqrt","y>0")
// will draw sqrt(x) and save the histogram as "hsqrt" in the current
// directory.
//
// By default, the specified histogram is reset.
// To continue to append data to an existing histogram, use "+" in front
// of the histogram name;
// tree.Draw("sqrt(x)>>+hsqrt","y>0")
// will not reset hsqrt, but will continue filling.
//
Rene Brun
On Tue, 26 Dec 2000, Ilia Ravinovich wrote:
> Hi,
>
> Does anybody know the equivalent in ROOT for command:
>
> nt/pl id.var ! -100
>
> where 100 is id of booked histogram.
>
> Ilia
>
> ************************************************************************
> * *
> * Ilia Ravinovich *
> * Department of Particle Physics PPE Division *
> * Weizmann Institute of Science Bld 892, 1D-015 *
> * Rehovot 76100 CERN, 1211 Geneva *
> * ISRAEL Switzerland *
> * *
> * PHONE : 972 8 9343187 41 22 7676437 *
> * FAX : 972 8 9466253 41 22 7677910 *
> * E-mail: Ilia.Ravinovich@weizmann.ac.il Ilia.Ravinovich@cern.ch *
> * *
> ************************************************************************
>
This archive was generated by hypermail 2b29 : Tue Jan 02 2001 - 11:50:40 MET