PODIO v00-16-03
An Event-Data-Model Toolkit for High Energy Physics Experiments
Loading...
Searching...
No Matches
write.cpp
Go to the documentation of this file.
1#include "podio/EventStore.h"
2#include "podio/ROOTWriter.h"
3#include "write_test.h"
4
5int main(int, char**) {
6 auto store = podio::EventStore();
7 podio::ROOTWriter writer("example.root", &store);
8 write(store, writer);
9
10 // start from a clean slate for the second file
11 auto store2 = podio::EventStore();
12 auto writer2 = podio::ROOTWriter("example1.root", &store2);
13 write(store2, writer2);
14}
int main()
void write(podio::EventStore &store, WriterT &writer)
Definition: write_test.h:28