Skip to content

TMCRootManager: implemented RNTuple writer#28

Open
karabowi wants to merge 5 commits into
vmc-project:masterfrom
karabowi:rntupleRootManager
Open

TMCRootManager: implemented RNTuple writer#28
karabowi wants to merge 5 commits into
vmc-project:masterfrom
karabowi:rntupleRootManager

Conversation

@karabowi

Copy link
Copy Markdown

Allows the TMCRootManager store data in TTree or RNTuple format.

Comment thread source/include/TMCRootManager.h
Comment thread source/include/TMCRootManager.h Outdated
Comment thread source/src/TMCRootManager.cxx Outdated
@karabowi

Copy link
Copy Markdown
Author

I have applied the requested changes.
Thank you for pointing them out.

Comment thread source/include/TMCRootManager.h Outdated
Comment on lines +39 to +40
using RNTupleFillContext = ROOT::Experimental::RNTupleFillContext;
using RNTParaWriter = ROOT::Experimental::RNTupleParallelWriter;

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The Experimental:: was removed since ROOT v6.38.00; when I compiled with ROOT v6.40.02, this was causing compilation error.
As we should not require ROOT build with experimental features (ROOT 7) for building vmc, I suggest to remove Experimental:: and add a test for ROOT version

#if (ROOT_VERSION_CODE >= ROOT_VERSION(6, 38, 0)))
using RNTupleFillContext = ROOT::Experimental::RNTupleFillContext;
using RNTParaWriter = ROOT::Experimental::RNTupleParallelWriter;
#endif

and also around the code requiring these classes below.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for this update. I can now compile vmc with ROOT versions v6.36.14 and v6.40.02; but the E03d example in vmc-project/geant4_vmc#85 does not compile with v6.36.14.
So I prefer to wait with merging when both PRs will work together.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants