Rivet
1.8.0
|
00001 // -*- C++ -*- 00002 #ifndef RIVET_UnstableFinalState_HH 00003 #define RIVET_UnstableFinalState_HH 00004 00005 #include "Rivet/Projections/FinalState.hh" 00006 #include "Rivet/Particle.hh" 00007 #include "Rivet/Event.hh" 00008 00009 namespace Rivet { 00010 00011 00024 class UnstableFinalState : public FinalState { 00025 public: 00026 00028 00029 00032 UnstableFinalState(double mineta = -MAXRAPIDITY, 00033 double maxeta = MAXRAPIDITY, 00034 double minpt = 0.0*GeV) 00035 : FinalState(mineta,maxeta,minpt) 00036 { 00037 setName("UnstableFinalState"); 00038 } 00039 00040 00042 virtual const Projection* clone() const { 00043 return new UnstableFinalState(*this); 00044 } 00045 00047 00048 protected: 00049 00051 virtual void project(const Event& e); 00052 00053 }; 00054 00055 00056 } 00057 00058 00059 #endif