Re: Direct copy of a histogram

Fons Rademakers (Fons.Rademakers@cern.ch)
Thu, 25 Jun 1998 14:46:44 +0200


Hi Xie,

use either the histogram TH1::operator=() or the TH1::Copy()
or the TObject::Clone() methods.

Cheers, Fons.

Wei Xie wrote:
>
> Dear ROOTers'
>
> Is there a way to copy one histogram directly to another
> histogram ?
>
> Sincerely
>
> Xie

-- 
Org:    CERN, European Laboratory for Particle Physics.
Mail:   1211 Geneve 23, Switzerland          Phone: +41 22 7679248
E-Mail: Fons.Rademakers@cern.ch              Fax:   +41 22 7677910