Rivet  1.8.3
UnstableFinalState.hh
1 // -*- C++ -*-
2 #ifndef RIVET_UnstableFinalState_HH
3 #define RIVET_UnstableFinalState_HH
4 
5 #include "Rivet/Projections/FinalState.hh"
6 #include "Rivet/Particle.hh"
7 #include "Rivet/Event.hh"
8 
9 namespace Rivet {
10 
11 
24  class UnstableFinalState : public FinalState {
25  public:
26 
28 
29 
32  UnstableFinalState(double mineta = -MAXRAPIDITY,
33  double maxeta = MAXRAPIDITY,
34  double minpt = 0.0*GeV)
35  : FinalState(mineta,maxeta,minpt)
36  {
37  setName("UnstableFinalState");
38  }
39 
40 
42  virtual const Projection* clone() const {
43  return new UnstableFinalState(*this);
44  }
45 
47 
48  protected:
49 
51  virtual void project(const Event& e);
52 
53  };
54 
55 
56 }
57 
58 
59 #endif