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

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

Namespaces

Name
Rivet

Classes

Name
classRivet::GammaGammaFinalState
Final state particles boosted to the hadronic center of mass system.

Source code

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

#include "Rivet/Projections/FinalState.hh"
#include "Rivet/Projections/GammaGammaKinematics.hh"

namespace Rivet {


  class GammaGammaFinalState: public FinalState {
  public:



    GammaGammaFinalState(const FinalState& fs=FinalState(), const GammaGammaKinematics& kinematicsp=GammaGammaKinematics())
    {
      setName("GammaGammaFinalState");
      declare(fs, "FS");
      declare(kinematicsp, "Kinematics");
    }

    GammaGammaFinalState(const Cut& c, const GammaGammaKinematics& kinematicsp=GammaGammaKinematics())
      : GammaGammaFinalState(FinalState(c), kinematicsp)
    {    }

    // /// @brief Constructor with default FinalState
    // /// @note The GammaGammaKinematics has no parameters, hence explicitly passing it as an arg shouldn't be necessary.
    // GammaGammaFinalState(const GammaGammaKinematics& kinematicsp=GammaGammaKinematics())
    //   : GammaGammaFinalState(FinalState(), kinematicsp)
    // {    }

    GammaGammaFinalState(const GammaGammaKinematics& kinematicsp)
      : GammaGammaFinalState(FinalState(), kinematicsp)
    {    }


    DEFAULT_RIVET_PROJ_CLONE(GammaGammaFinalState);



  protected:

    void project(const Event& e);

    CmpState compare(const Projection& p) const {
      return mkNamedPCmp(p, "Kinematics") || mkNamedPCmp(p, "FS");
    }


  };


}

#endif

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