2 #ifndef RIVET_LossyFinalState_HH
3 #define RIVET_LossyFinalState_HH
5 #include "Rivet/Tools/Logging.hh"
6 #include "Rivet/Rivet.hh"
7 #include "Rivet/Particle.hh"
8 #include "Rivet/Event.hh"
9 #include "Rivet/Projection.hh"
10 #include "Rivet/Projections/FinalState.hh"
16 template <
typename FILTER>
57 const FinalState& fs = applyProjection<FinalState>(e,
"FS");
58 getLog() << Log::DEBUG <<
"Pre-loss number of FS particles = " << fs.
particles().size() << endl;
59 _theParticles.clear();
61 std::back_inserter(_theParticles), _filter);
62 getLog() << Log::DEBUG <<
"Filtered number of FS particles = " << _theParticles.size() << endl;
70 if (fscmp)
return fscmp;
71 return _filter.compare(other._filter);