HepMC3 event record library
Functions
rootIOTree_example_write.cc File Reference

Basic example of use of root I/O: writing events to file. More...

#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:

Go to the source code of this file.

Functions

int main (int argc, char **argv)
 

Detailed Description

Basic example of use of root I/O: writing events to file.

Author
Witold Pokorski/Andrii Verbytskyi
Date
29/10/15

Definition in file rootIOTree_example_write.cc.

Function Documentation

int main ( int  argc,
char **  argv 
)