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

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

Namespaces

Name
Rivet

Classes

Name
classRivet::MergedFinalState
Get final state particles merged from two FinalState projections.

Source code

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

#include "Rivet/Tools/Logging.hh"
#include "Rivet/Config/RivetCommon.hh"
#include "Rivet/Particle.hh"
#include "Rivet/Event.hh"
#include "Rivet/Projection.hh"
#include "Rivet/Projections/FinalState.hh"

namespace Rivet {


  class MergedFinalState : public FinalState {
  public:


    MergedFinalState(const FinalState& fspa, const FinalState& fspb) {
      setName("MergedFinalState");
      declare(fspa, "FSA");
      declare(fspb, "FSB");
    }

    DEFAULT_RIVET_PROJ_CLONE(MergedFinalState);


  protected:

    void project(const Event& e);

    CmpState compare(const Projection& p) const;
  };


}


#endif

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