Rivet::Event Class Reference Representation of a HepMC event, and enabler of Projection caching. More...
Detailed DescriptionRepresentation 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. In addition to the HepMC::GenEvent object the Event also keeps track of all Projection objects which have been applied to the Event so far. Constructor & Destructor Documentation◆ Event() [1/2]
Constructor from a HepMC GenEvent pointer
◆ Event() [2/2]
Constructor from a HepMC GenEvent reference
Member Function Documentation◆ allParticles() [1/2]
All the raw GenEvent particles, wrapped in Rivet::Particle objects, but with a Cut applied.
References allParticles(), and Rivet::select(). ◆ allParticles() [2/2]
template<typename FN >
All the raw GenEvent particles, wrapped in Rivet::Particle objects, but with a selection function applied.
References allParticles(), and Rivet::select(). ◆ applyProjection()
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.
References Rivet::getEnvParam(), MSG_TRACE, and Rivet::Projection::project(). Referenced by applyProjection(). ◆ genEvent()
The generated HepMC event pointer obtained from an external event generator. Backward-compatibility alias for hepmcEventPtr() The documentation for this class was generated from the following file:
Generated on Wed Oct 30 2024 15:42:55 for Rivet by 1.9.8 |