Ntuples with std::vectors are empty when read with ROOT(6.03) should be possible according https://geant4.web.cern.ch/geant4/UserDocumentation/UsersGuides/ForApplicationDeveloper/html/ch09s02.html There seems to be some incompatibility in the file format produced with g4tools and Root More details in http://hypernews.slac.stanford.edu/HyperNews/geant4/get/analysis/473/1/1/1.html
Created attachment 324 [details] Modified files in basic/B4/B4a example with added code to test the reported problem
Hello, Can you, please, update basic/B4/B4a example with the files from the attached tar file, build and run the example with run2.mac macro: ./exampleB4a -m run2.mac and then run the Root macro printInteractions.C, also included in the tar file? I made a mistake in my previous test, when fixing it, the ntuple with the vector of int is read back with Root ok. Please, let us know the result of this test. Thank you,
The reporter confirmed in hypernews that after providing the example his code works as expected. Closing the problem report as invalid.