rivet is hosted by Hepforge, IPPP Durham
FinalPartons.hh
Go to the documentation of this file.
00001 // -*- C++ -*-
00002 #ifndef RIVET_FinalPartons_HH
00003 #define RIVET_FinalPartons_HH
00004 
00005 #include "Rivet/Projections/FinalState.hh"
00006 
00007 namespace Rivet {
00008 
00009 
00010   class FinalPartons : public FinalState {
00011   public:
00012 
00013     /// Constructor
00014     FinalPartons(const Cut& c=Cuts::open())
00015       : FinalState(c) { }
00016 
00017     /// Clone method
00018     const Projection* clone() const {
00019       return new FinalPartons(*this);
00020     }
00021 
00022     /// Do the calculation
00023     void project(const Event& e);
00024 
00025 
00026   protected:
00027 
00028     /// Cut-applying method overload
00029     bool accept(const Particle& p) const;
00030 
00031   };
00032 
00033 
00034 }
00035 
00036 #endif