Rivet API documentation

Rivet 4.1.3
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)
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< stringweightNames (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?