UnstableFinalState.hh
// -*- C++ -*-
#ifndef RIVET_UnstableFinalState_HH
#define RIVET_UnstableFinalState_HH
#include "Rivet/Projections/FinalState.hh"
#include "Rivet/Particle.hh"
#include "Rivet/Event.hh"
namespace Rivet {
class UnstableFinalState : public FinalState {
public:
UnstableFinalState(double mineta = -MAXRAPIDITY,
double maxeta = MAXRAPIDITY,
double minpt = 0.0*GeV)
: FinalState(mineta,maxeta,minpt)
{
setName("UnstableFinalState");
}
virtual const Projection* clone() const {
return new UnstableFinalState(*this);
}
protected:
virtual void project(const Event& e);
};
}
#endif
Rivet::UnstableFinalState::UnstableFinalState
UnstableFinalState(double mineta=-MAXRAPIDITY, double maxeta=MAXRAPIDITY, double minpt=0.0 *GeV)
Definition: UnstableFinalState.hh:32
Rivet::Projection::setName
void setName(const std::string &name)
Used by derived classes to set their name.
Definition: Projection.hh:120
Rivet
Definition: MC_JetAnalysis.hh:9
Rivet::UnstableFinalState::clone
virtual const Projection * clone() const
Clone on the heap.
Definition: UnstableFinalState.hh:42
Rivet::Event
Definition: Event.hh:22
Rivet::FinalState
Project out all final-state particles in an event. Probably the most important projection in Rivet! ...
Definition: FinalState.hh:14
Rivet::UnstableFinalState
Project out all physical-but-decayed particles in an event.
Definition: UnstableFinalState.hh:24
Rivet::MAXRAPIDITY
static const double MAXRAPIDITY
A sensible default maximum value of rapidity for Rivet analyses to use.
Definition: Rivet.hh:24
Rivet::Projection
Base class for all Rivet projections.
Definition: Projection.hh:28
Rivet::UnstableFinalState::project
virtual void project(const Event &e)
Apply the projection to the event.
Definition: UnstableFinalState.cc:12