StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Member Functions | List of all members
HepMC::GenParticleEndRange Class Reference

GenParticleEndRange acts like a collection of particles. More...

#include <GenRanges.h>

Public Member Functions

 GenParticleEndRange (GenParticle const &p, IteratorRange range=relatives)
 the constructor requires a GenParticle
 
GenVertex::particle_iterator begin ()
 begin iterator throws an error if the particle end_vertex is undefined
 
GenVertex::particle_iterator end ()
 end iterator throws an error if the particle end_vertex is undefined
 

Detailed Description

GenParticleEndRange acts like a collection of particles.

HepMC::GenParticleEndRange is used to mimic a collection of particles associated with the particle's end vertex for ease of use Utilities such as the Boost foreach funtion will want to use this class.

Definition at line 224 of file GenRanges.h.


The documentation for this class was generated from the following file: