HepMC3 event record library
|
Basic example of use of HepMC3 search library: profiling the search of relatives of particles.
Definition in file search_example.cc.
#include "HepMC3/GenEvent.h"
#include "HepMC3/Print.h"
#include "HepMC3/GenParticle.h"
#include "HepMC3/GenVertex.h"
#include "HepMC3/Relatives.h"
Go to the source code of this file.
Functions | |
HepMC3::GenEvent * | generate_event (const size_t n, const size_t iterations) |
int | main () |
HepMC3::GenEvent * generate_event | ( | const size_t | n, |
const size_t | iterations ) |
Definition at line 17 of file search_example.cc.
int main | ( | ) |
Definition at line 51 of file search_example.cc.