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