Rivet API documentation

Rivet 4.1.3
UnstableParticles.hh
1// -*- C++ -*-
2#ifndef RIVET_UnstableParticles_HH
3#define RIVET_UnstableParticles_HH
4
5#include "Rivet/Projections/FinalState.hh"
6
7namespace Rivet {
8
9
27 public:
28
31
33 UnstableParticles(const Cut& c = Cuts::open())
34 : FinalState(c) {
35 setName("UnstableParticles");
36 }
37
40
42
44 using Projection::operator=;
45
46
47 protected:
48
50 virtual void project(const Event& e);
51 };
52
53
54 // Backward compatibility alias
55 using UnstableFinalState = UnstableParticles;
56
57
58}
59
60
61#endif
Representation of a HepMC event, and enabler of Projection caching.
Definition Event.hh:22
FinalState(const Cut &c=Cuts::OPEN)
Construction using Cuts object.
void setName(const std::string &name)
Used by derived classes to set their name.
Definition Projection.hh:146
Project out all physical-but-decayed particles in an event.
Definition UnstableParticles.hh:26
RIVET_DEFAULT_PROJ_CLONE(UnstableParticles)
Clone on the heap.
virtual void project(const Event &e)
Apply the projection to the event.
UnstableParticles(const Cut &c=Cuts::open())
Cut-based / default constructor.
Definition UnstableParticles.hh:33
const Cut & open()
Fully open cut singleton, accepts everything.
Definition LHCbCommon.hh:9