Copying a histogram.

Sean Kelly (kelly@charm.physics.ucla.edu)
Wed, 10 Mar 1999 01:03:19 -0800 (PST)


Hi Rooters,

I realize this has been the subject of previous posts. My question is
does the code frag below represent the simplest way to duplicate
a histogram ?

TH1F *vxDHi = (TH1F*) vx->Clone();
vxDHi->SetName("vxDHi");

thanks

Sean Kelly