Rivet: /Users/chrisg/software/rivet/include/Rivet/Projections/UnstableParticles.hh Source File

| Rivet 3.1.9

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
25 class UnstableParticles : public FinalState {
26 public:
27
29
30
32 UnstableParticles(const Cut& c=Cuts::open())
33 : FinalState(c)
34 {
35 setName("UnstableParticles");
36 }
37
39 DEFAULT_RIVET_PROJ_CLONE(UnstableParticles);
40
42
44 using Projection::operator =;
45
46
47 protected:
48
50 virtual void project(const Event& e);
51
52 };
53
54
55 // Backward compatibility alias
56 using UnstableFinalState = UnstableParticles;
57
58
59}
60
61
62#endif
Rivet::Event
Representation of a HepMC event, and enabler of Projection caching.
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:12
Rivet::Projection::setName
void setName(const std::string &name)
Used by derived classes to set their name.
Definition Projection.hh:142
Rivet::UnstableParticles
Project out all physical-but-decayed particles in an event.
Definition UnstableParticles.hh:25
Rivet::UnstableParticles::DEFAULT_RIVET_PROJ_CLONE
DEFAULT_RIVET_PROJ_CLONE(UnstableParticles)
Clone on the heap.
Rivet::UnstableParticles::project
virtual void project(const Event &e)
Apply the projection to the event.
Rivet::UnstableParticles::UnstableParticles
UnstableParticles(const Cut &c=Cuts::open())
Cut-based / default constructor.
Definition UnstableParticles.hh:32
Rivet::Cuts::open
const Cut & open()
Fully open cut singleton, accepts everything.
Rivet
Definition MC_Cent_pPb.hh:10