One way is to use rootcling bare-cling -module-file-info some.pcm That will give you information which headers are contained in that module.
When there are linking errors I use nm -AC lib/*so | grep mangled_name to find which is the library containing the definition of the searched symbol.