Histogtram subtraction

Hello!

Is there a way to subtract a 1D histogram from another 1D histogram?
Hadd can merge root files.
But I need to make subtraction between indivisual 1D histograms.

Cheers, Sangryul Ro

see our reference guide for the histogram class TH1 and the function Add
root.cern.ch/root/html/TH1.html#TH1:Add

in short, if you have TH1 *h1, *h2, you can subtract h2 from h1 with the result in h1 with

h1->Add(h2,-1)
Rene