|
HepMC event record
|
Basic example of use of root I/O: writing events to file.
Definition in file rootIO_example_write.cc.
#include "HepMC/GenEvent.h"#include "HepMC/ReaderAscii.h"#include "HepMC/WriterRoot.h"#include "HepMC/Print.h"#include <iostream>
Include dependency graph for rootIO_example_write.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_write.cc.
References ReaderAscii::close(), WriterRoot::close(), ReaderAscii::failed(), Print::listing(), ReaderAscii::read_event(), and WriterRoot::write_event().
1.8.14