Use TClass::GetClass(), not gROOT->GetClass()
Merge pull request #5630 from wmtan/UseTClassGetClass

Use TClass::GetClass(), not gROOT->GetClass()