Rivet is hosted by Hepforge, IPPP Durham
RivetHepMC.hh File Reference
#include "HepMC/GenEvent.h"
#include "HepMC/GenParticle.h"
#include "HepMC/GenVertex.h"
#include "HepMC/GenRanges.h"
#include "HepMC/IO_GenEvent.h"
#include "Rivet/Tools/RivetSTL.hh"
#include "Rivet/Tools/Exceptions.hh"
Include dependency graph for RivetHepMC.hh:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  GenVertexIterRangeC

Namespaces

namespace  Rivet

Typedefs

typedef GenEvent * GenEventPtr
typedef GenParticle * GenParticlePtr
typedef GenVertex * GenVertexPtr

Functions

std::vector< GenParticle const * > particles (const GenEvent *ge)
std::vector< GenParticlePtr > particles (GenEvent *ge)
std::vector< const GenVertex * > vertices (const GenEvent *ge)
std::vector< GenVertex * > vertices (GenEvent *ge)
std::vector< const GenParticle * > particles (const GenVertex *gv, HepMC::IteratorRange range=HepMC::relatives)
std::vector< GenParticle * > particles (GenVertex *gv, HepMC::IteratorRange range=HepMC::relatives)
GenVertexIterRangeC particles_in (const GenVertex *gv)
GenVertexIterRangeC particles_out (const GenVertex *gv)
std::vector< const GenParticle * > particles_in (const GenParticle *gp, HepMC::IteratorRange range=HepMC::ancestors)
 Get the direct parents or all-ancestors of GenParticle gp.
std::vector< GenParticle * > particles_in (GenParticle *gp, HepMC::IteratorRange range=HepMC::ancestors)
 Get the direct parents or all-ancestors of GenParticle gp.
std::vector< const GenParticle * > particles_out (const GenParticle *gp, HepMC::IteratorRange range=HepMC::descendants)
 Get the direct children or all-descendents of GenParticle gp.
std::vector< GenParticle * > particles_out (GenParticle *gp, HepMC::IteratorRange range=HepMC::descendants)
 Get the direct children or all-descendents of GenParticle gp.
std::vector< const GenParticle * > particles (const GenParticle *gp, HepMC::IteratorRange range=HepMC::ancestors)
 Get any relatives of GenParticle gp.