New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use TClass::GetClass(), not gROOT->GetClass() #5630
Conversation
A new Pull Request was created by @wmtan for CMSSW_7_3_X. Use TClass::GetClass(), not gROOT->GetClass() It involves the following packages: DataFormats/Common @cmsbuild, @Dr15Jones, @ktf, @nclopezo can you please review it and eventually sign? Thanks. |
+1 |
Use TClass::GetClass(), not gROOT->GetClass()
This is a trivial technical change. It is being requested for standardization, and for code commonality with the ROOT6 7_3_X branch, as these changes have already been made there.
gROOT->GetClass(...) is obsolete. It just calls TClass::GetClass(...). Instead, calling TClass::GetClass() directly is recommended by the ROOT team, and it saves a function call.