The SetBinContent function, as you say, does not increment histogram statistics.
To copy histograms (or make operations between histograms) you can use the normal
C++ operators.
Example1:
Assume a TH1F object h1
Root > TH1F h2 = h1 ; h2 is a new object and is a copy of h1
Root > TH1H h3 = 2.5*h1 + 3.2*h2
Example2:
Assume a pointer to a TH1F. TH1F *h1;
Root > TH1F h2 = (*h1); You must use the dereferencing operator * to get the object
Root > TH1F h3 = 2.5*(*h1) + 3.2*h2;
Note that in case of pointers to histograms (TH1F *h1, *h2)
it would be wrong doing: TH1F h3 = h1+h2 (adding two pointers!!!)
Rene Brun