rivet is hosted by Hepforge, IPPP Durham
Rivet  2.7.0
UnstableFinalState.hh
1 // -*- C++ -*-
2 #ifndef RIVET_UnstableFinalState_HH
3 #define RIVET_UnstableFinalState_HH
4 
5 #include "Rivet/Projections/FinalState.hh"
6 
7 namespace Rivet {
8 
9 
26  class UnstableParticles : public FinalState {
27  public:
28 
30 
31 
33  UnstableParticles(const Cut& c=Cuts::open())
34  : FinalState(c)
35  {
36  setName("UnstableParticles");
37  }
38 
41 
43 
44  protected:
45 
47  virtual void project(const Event& e);
48 
49  };
50 
51 
52  // Backward compatibility alias
54 
55 
56 }
57 
58 
59 #endif
void setName(const std::string &name)
Used by derived classes to set their name.
Definition: Projection.hh:133
Definition: ALICE_2010_I880049.cc:13
Project out all physical-but-decayed particles in an event.
Definition: UnstableFinalState.hh:26
virtual void project(const Event &e)
Apply the projection to the event.
Definition: UnstableFinalState.cc:10
Definition: Event.hh:22
UnstableParticles(const Cut &c=Cuts::open())
Cut-based / default constructor.
Definition: UnstableFinalState.hh:33
const Cut & open()
Fully open cut singleton, accepts everything.
Definition: Cuts.cc:81
DEFAULT_RIVET_PROJ_CLONE(UnstableParticles)
Clone on the heap.
Project out all final-state particles in an event. Probably the most important projection in Rivet! ...
Definition: FinalState.hh:12