How to fit two separated sub ranges?

The variable filled in this histogram(see the attached picture) shoud obey an exponential distribution,but only those data in such two separated sub ranges are acquired.
How to fit such a histogram?
Thanks!

see tutorial fitExclude.C

Rene

I solved my problem.Thand you very much.