On Tue, 26 Dec 2000, Rene Brun wrote: > 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 Thanks a lot Brun and all the best in the New Year (and the best version ROOT). Best regards, 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