Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-05-12 09:05:02

0001 // -*- C++ -*-
0002 #ifndef RIVET_FinalPartons_HH
0003 #define RIVET_FinalPartons_HH
0004 
0005 #include "Rivet/Projections/FinalState.hh"
0006 
0007 namespace Rivet {
0008 
0009 
0010   class FinalPartons : public FinalState {
0011   public:
0012 
0013     /// Constructor
0014     FinalPartons(const Cut& c=Cuts::open())
0015       : FinalState(c) { }
0016 
0017     /// Clone method
0018     RIVET_DEFAULT_PROJ_CLONE(FinalPartons);
0019 
0020     /// Import to avoid warnings about overload-hiding
0021     using Projection::operator =;
0022 
0023     /// Do the calculation
0024     void project(const Event& e);
0025 
0026 
0027   protected:
0028 
0029     /// Cut-applying method overload
0030     bool accept(const Particle& p) const;
0031 
0032   };
0033 
0034 
0035 }
0036 
0037 #endif