Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

Event Class Reference

#include <Event.hh>

List of all members.


Detailed Description

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 Projections object which have been applied to the Event so far.

Definition at line 29 of file Event.hh.


Public Member Functions

const GenEventgenEvent () const
 Return the generated event obtained from an external event generator.
template<typename PROJ>
const PROJ & applyProjection (PROJ &p) const
double weight () const
 The weight associated with the event.
Standard constructors and destructors.
 Event (const GenEvent &geneve)
 The default constructor.
 Event (const Event &x)
 The copy constructor.
virtual ~Event ()
 The destructor.

Constructor & Destructor Documentation

Event const GenEvent geneve  )  [inline]
 

The default constructor.

Definition at line 36 of file Event.hh.

Event const Event x  )  [inline]
 

The copy constructor.

Definition at line 42 of file Event.hh.

virtual ~Event  )  [inline, virtual]
 

The destructor.

Definition at line 47 of file Event.hh.


Member Function Documentation

const PROJ& applyProjection PROJ &  p  )  const [inline]
 

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.

Definition at line 62 of file Event.hh.

References Projection::project().

Referenced by ZPhys73C11::analyze(), TestAnalysis::analyze(), PRD65092002::analyze(), HepEx9506012::analyze(), HepEx0409040::analyze(), HepEx0112029::analyze(), ExampleTree::analyze(), PL273B181::analyze(), VetoedFinalState::project(), TrackJet::project(), TotalVisibleMomentum::project(), Thrust::project(), Sphericity::project(), ParisiTensor::project(), Multiplicity::project(), KtJets::project(), FinalStateHCM::project(), FastJets::project(), DISLepton::project(), DISKinematics::project(), D0ILConeJets::project(), ChargedLeptons::project(), ChargedFinalState::project(), and CentralEtHCM::project().

const GenEvent& genEvent  )  const [inline]
 

Return the generated event obtained from an external event generator.

Definition at line 53 of file Event.hh.

References Rivet::GenEvent.

Referenced by ExampleTree::analyze(), WZandh::project(), PVertex::project(), FinalState::project(), and Beam::project().

double weight  )  const [inline]
 

The weight associated with the event.

Definition at line 76 of file Event.hh.

Referenced by ZPhys73C11::analyze(), TestAnalysis::analyze(), HepEx9506012::analyze(), HepEx0409040::analyze(), HepEx0112029::analyze(), and PL273B181::analyze().


The documentation for this class was generated from the following file: