Implement reading event source data from ROOT file

Open
#6 1 comment 0 reactions 1 assignee View on GitHub

@lobis is already working on this.

Since Apr 27, 2021.

Assessment

This issue has not been assessed yet.

Description

enhancement

Currently the only way to read external data to generate a custom source is through a .dat file.

I would be nice to extend TRestGeant4Metadata::ReadEventDataFile to also read root files containing a tree which defines the source and generates a TRestGeant4ParticleCollection just like TRestGeant4Metadata::ReadNewDecay0File.

Dominant language
C++
Stars
2
Forks
4
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from rest-for-physics/geant4lib

All issues in rest-for-physics/geant4lib

Similar issues

More C++ issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.