Copying a histogram.

From: Sean Kelly (kelly@charm.physics.ucla.edu)
Date: Wed Mar 10 1999 - 10:03:19 MET


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



This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:43:30 MET