Opening an edm root file


Please fill also the fields below. Note that root -b -q will tell you this info, and starting from 6.28/06 upwards, you can call .forum bug from the ROOT prompt to pre-populate a topic.

ROOT Version: 6.30.04
Platform: Not Provided
Compiler: Not Provided


Hi,
I have an edm root file which i was trying to open with root. I got the following errors-

Warning in TClass::Init: no dictionary for class podio::ObjectID is available
Warning in TClass::Init: no dictionary for class edm4hep::ReconstructedParticleData is available
Warning in TClass::Init: no dictionary for class edm4hep::Vector3f is available
Warning in TClass::Init: no dictionary for class edm4hep::MCRecoParticleAssociationData is available

What are the possible solutions to this?

Hi @Ganesh_Hasda, welcome to the ROOT forum!

You might need to load the libraries that implement those classes before accessing them.
Alternatively, you can try the solution described here.

Please let me know if that helps.

2 Likes

Yes, you will need to load the edm4hep root dictionary. This happens automatically if you source the key4hep environment (edm4hep is a part of key4hep). However, we do not recommend to try to parse the file structure directly from root. See: EDM4hep - The common event data model — Key4hep documentation and further tutorials linked therein.

3 Likes

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.