file /home/anarendran/Documents/temp/rivet/include/Rivet/Projections/FinalState.hh

/home/anarendran/Documents/temp/rivet/include/Rivet/Projections/FinalState.hh

Namespaces

Name
Rivet

Classes

Name
classRivet::FinalState
Project out all final-state particles in an event. Probably the most important projection in Rivet!

Source code

// -*- C++ -*-
#ifndef RIVET_FinalState_HH
#define RIVET_FinalState_HH

#include "Rivet/Projections/ParticleFinder.hh"

namespace Rivet {


  class FinalState : public ParticleFinder {
  public:



    FinalState(const Cut& c=Cuts::open());

    FinalState(const FinalState& fsp, const Cut& c);

    DEFAULT_RIVET_PROJ_CLONE(FinalState);



    virtual void project(const Event& e);

    virtual CmpState compare(const Projection& p) const;

    virtual bool accept(const Particle& p) const;


  private:

    // Hide lossy copy constructors for all classes derived from FinalState
    template<typename T> FinalState(const T& rhs);
    template<typename T> FinalState const& operator=(T const& rhs);

  };


}

#endif

Updated on 2022-08-07 at 20:17:18 +0100