Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@YanzhaoW
Copy link
Contributor

@YanzhaoW YanzhaoW commented Oct 23, 2024

New feature

FileSource2 now can add the input file with only root tree together with normal input files.

Example:

auto filesource = std::make_unique<R3B::FileSource2>();

// for normal input files:
filesource->AddFile("normal.root");

// for input files containing only root trees:
filesource->AddFile("only_tree.root", true);

@deshaJM Could you test this out and see whether it could solve your problem?


Checklist:

@YanzhaoW YanzhaoW force-pushed the edwin_filesource_update branch 10 times, most recently from 721c95f to a6a23de Compare October 25, 2024 12:58
@deshaJM
Copy link

deshaJM commented Oct 28, 2024

I tested the recent changes, and they resolved my issue. The digitizer now correctly handles the second simulation file created once the first file reaches its maximum size, labeled with _1.root.

Add a new feature of FileSource2 that can specify each individual input
file with or without tree option.
@YanzhaoW YanzhaoW force-pushed the edwin_filesource_update branch from 23d6c6a to b7a29ea Compare October 28, 2024 16:39
@YanzhaoW
Copy link
Contributor Author

Hi, @jose-luis-rs

This PR is ready to be merged.

@jose-luis-rs jose-luis-rs merged commit 2f6c548 into R3BRootGroup:dev Oct 31, 2024
@YanzhaoW YanzhaoW deleted the edwin_filesource_update branch November 1, 2024 15:43
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.

3 participants