-
Notifications
You must be signed in to change notification settings - Fork 60
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In-situ creation and addition of containers to the EventStore #112
Comments
I have just had a brief look into the possibility of having something like "per-event collections", respectively the possibility of not having to register collections in an initialization phase prior to the actual processing. For context: the initialization phase approach is something that From what I gathered, it seems that this will not be easy with a "naive" root approach of storing the event data in a For example auto* tree = new TTree("test_tree", "test tree");
int index = 0;
double val = 0;
tree->Branch("index", &index);
tree->Branch("val", &val);
while (index++ < 11) {
val = 0.5 * index;
tree->Fill();
}
double lateVal = 0;
tree->Branch("lateVal", &lateVal);
lateVal = 2.5;
tree->Fill();
while (index++ < 20) {
val = 0.75 * index;
tree->Fill();
} results in a I am not yet sure how or if this can be easily solved. Another thing that came to my mind after the discussion on Friday: While I think that |
This is a general ROOT "issue". It is documented for the FrameWriter: podio/include/podio/ROOTFrameWriter.h Lines 32 to 38 in 705721d
|
Define a policy about enabling "on-demand" creation and addition of containers
(a follow up on #109)
The text was updated successfully, but these errors were encountered: