I have a code that used to work. Now I got the following error message:
Error in TTree::SetBranchAddress: Unable to determine the type given for the address for “MCEventHeader.”. This is probably due to a missing dictionary, the original data class for this branch is o2::dataformats::MCEventHeader.
I checked the simulation output Kine file and it does contain MCEventHeader. branch. I alos checked O2 codes and I think the dataformat I try to use is correct. I try to access in the following way:
Thanks for the answer. I’m still testing, may be some header is out dated. I’m working on WSL2 and my O2 is from 6th of September (commit e10235b536862f2fe690a9cbf5f3efd5abfd817d).
The macro I try to run worked in the beginning of the year, if I recall correctly.