Rejectin bins during histogram fitting


I tried searching in the roottalk archive and in this forum but was unable to determine the answer to my question. I want to know if there is some “one liner” interface for removing a specific bin from consideration during fitting. I understand that there are somewhat more complicated was of doing this, say by creating a TGraph, although in that case fitting the integral (“I” option) may be tough. I suppose one could also blow up the error on that bin.

I use root 4-00-04 on a linux pc.

Best Regards,

Mike Kordosky

see tutorial fitExclude.C and look at the doc of TH1::Fit