Rivet::Event Class Reference
Detailed DescriptionRivet wrapper for HepMC event and Projection references. 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()
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::filter_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::filter_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::Log::getLog(), and Rivet::Projection::project(). Referenced by applyProjection(), and Rivet::ProjectionApplier::ProjectionApplier(). ◆ centrality()
Get the generator centrality (impact-parameter quantile in [0,1]; or -1 if undefined (usual for non-HI generators))
References genEvent(). Referenced by genEvent(). ◆ weight()
The generation weight associated with the event.
References genEvent(), and Rivet::Log::getLog(). Referenced by Rivet::MC_JetSplittings::analyze(), Rivet::MC_JetAnalysis::analyze(), Rivet::AnalysisHandler::analyze(), genEvent(), and Rivet::PercentileTBase< T >::init(). The documentation for this class was generated from the following files:
Generated on Sun Feb 17 2019 21:05:07 for Rivet by ![]() |