|
HepMC event record
|
Basic example of use of root I/O with tree: reading events from file.
Definition in file rootIO_example_read.cc.
#include "HepMC/GenEvent.h"#include "HepMC/WriterAscii.h"#include "HepMC/ReaderRoot.h"#include "HepMC/Print.h"#include <iostream>
Include dependency graph for rootIO_example_read.cc: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 25 of file rootIO_example_read.cc.
References ReaderRoot::close(), WriterAscii::close(), ReaderRoot::failed(), Print::listing(), ReaderRoot::read_event(), and WriterAscii::write_event().
1.8.14