computeChargeFlipProb
tags update n0145
sanity check on ROOTCOREDIR

Details:
without this check, the code will crash if ROOTCOREDIR is not set
(invalid NULL string initializer)