Made static variables local variables in TkGluedMeasurementDet

To solve thread-safety issues, converted static variables used for
temporary storage into local variables.
Merge pull request #3617 from Dr15Jones/makeStaticLocalInTkGluedMeasurementDet

Reco -- Made static variables local variables in TkGluedMeasurementDet