Rivet::Event Class Reference
Representation of a HepMC event, and enabler of Projection caching.
Event is a concrete class representing an generated event in Rivet. It is constructed given a HepMC::GenEvent, a pointer to which is kept by the Event object throughout its lifetime. The user must therefore make sure that the corresponding HepMC::GenEvent will persist at least as long as the Event object.
Constructor & Destructor Documentation
Constructor from a HepMC GenEvent reference
Member Function Documentation
template<typename FN >
template<typename PROJ >
Add a projection p to this Event.
If an equivalent Projection has been applied before, the Projection::project(const Event&) of p is not called and a reference to the previous equivalent projection is returned. If no previous Projection was found, the Projection::project(const Event&) of p is called and a reference to p is returned.
Referenced by applyProjection().
The documentation for this class was generated from the following file:
Generated on Mon Jan 6 2020 11:04:46 for Rivet by 1.8.13