HepMC3 event record library
|
Basic example of use of root I/O with tree: reading events from file.
Definition in file rootIOTree_example_read.cc.
#include "HepMC3/GenEvent.h"
#include "HepMC3/WriterAscii.h"
#include "HepMC3/ReaderRootTree.h"
#include "HepMC3/Print.h"
#include <iostream>
Go to the source code of this file.
Functions | |
int | main (int argc, char **argv) |
int main | ( | int | argc, |
char ** | argv | ||
) |
Main
Definition at line 23 of file rootIOTree_example_read.cc.
References WriterAscii::close(), ReaderRootTree::close(), ReaderRootTree::failed(), Print::listing(), ReaderRootTree::read_event(), and WriterAscii::write_event().