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
5
int
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
}
EventStore.h
ROOTWriter.h
podio::EventStore
Definition:
EventStore.h:37
podio::ROOTWriter
Definition:
ROOTWriter.h:22
main
int main()
Definition:
read-multiple.cpp:4
write_test.h
write
void write(podio::EventStore &store, WriterT &writer)
Definition:
write_test.h:28
podio-00-16-03
tests
write.cpp
Generated by
1.9.6