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     DEFAULT_RIVET_PROJ_CLONE(FinalPartons);
00019 
00020     /// Do the calculation
00021     void project(const Event& e);
00022 
00023 
00024   protected:
00025 
00026     /// Cut-applying method overload
00027     bool accept(const Particle& p) const;
00028 
00029   };
00030 
00031 
00032 }
00033 
00034 #endif