Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-04-19 09:06:48

0001 // -*- C++ -*-
0002 #ifndef RIVET_ChargedFinalState_HH
0003 #define RIVET_ChargedFinalState_HH
0004 
0005 #include "Rivet/Projections/FinalState.hh"
0006 
0007 namespace Rivet {
0008 
0009 
0010   /// @brief Project only charged final state particles.
0011   class ChargedFinalState : public FinalState {
0012   public:
0013 
0014     /// @name Constructors
0015     /// @{
0016 
0017     /// Construction from another FinalState
0018     ChargedFinalState(const FinalState& fsp);
0019 
0020     /// Construction using Cuts object
0021     ChargedFinalState(const Cut& c=Cuts::open());
0022 
0023     /// Clone on the heap.
0024     RIVET_DEFAULT_PROJ_CLONE(ChargedFinalState);
0025 
0026     /// @}
0027 
0028 
0029     /// Apply the projection on the supplied event.
0030     void project(const Event& e);
0031 
0032     /// Compare projections.
0033     CmpState compare(const Projection& p) const;
0034 
0035 
0036     /// Import to avoid warnings about overload-hiding
0037     using Projection::operator =;
0038 
0039   };
0040 
0041 
0042 }
0043 
0044 
0045 #endif