rivet is hosted by Hepforge, IPPP Durham
Rivet 4.0.0
Rivet::HepMCUtils Namespace Reference

Functions

ConstGenParticlePtr getParticlePtr (const RivetHepMC::GenParticle &gp)
 
std::vector< ConstGenParticlePtr > particles (ConstGenEventPtr ge)
 
std::vector< ConstGenParticlePtr > particles (const GenEvent *ge)
 
std::vector< ConstGenVertexPtr > vertices (ConstGenEventPtr ge)
 
std::vector< ConstGenVertexPtr > vertices (const GenEvent *ge)
 
std::vector< ConstGenParticlePtr > particles (ConstGenVertexPtr gv, const Relatives &relo)
 
std::vector< ConstGenParticlePtr > particles (ConstGenParticlePtr gp, const Relatives &relo)
 
int uniqueId (ConstGenParticlePtr gp)
 
int particles_size (ConstGenEventPtr ge)
 
int particles_size (const GenEvent *ge)
 
std::pair< ConstGenParticlePtr, ConstGenParticlePtr > beams (const GenEvent *ge)
 
std::shared_ptr< HepMC_IO_type > makeReader (std::string filename, std::shared_ptr< std::istream > &istrp, std::string *errm=0)
 
bool readEvent (std::shared_ptr< HepMC_IO_type > io, std::shared_ptr< GenEvent > evt)
 
void strip (GenEvent &ge, const set< long > &stripid={1, -1, 2, -2, 3,-3, 21})
 
vector< string > weightNames (const GenEvent &ge)
 
std::valarray< double > weights (const GenEvent &ge)
 
pair< double, double > crossSection (const GenEvent &ge, size_t index=0)
 

Detailed Description

Todo:
Use MCUtils?