Minimize the time spent holding the Cintex mutex lock
Minimize the time spent holding the Cintex mutex lock

To avoid lock order problems, we minimize the time spend holding
the Cintex lock by ROOTClassEnhancer. In addition, there was
a race condition in the previous code during the returning of the
value. That race condition is now fixed.

tc3t/qoot,tc3t/qoot,tc3t/qoot,tc3t/qoot,tc3t/qoot,tc3t/qoot,tc3t/qoot,tc3t/qoot,tc3t/qoot,tc3t/qoot