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

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

Namespaces

Name
Rivet

Classes

Name
classRivet::METFinder
Interface for projections that find missing transverse energy/momentum.

Source code

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

#include "Rivet/Projection.hh"

namespace Rivet {


  class METFinder : public Projection {
  public:


    virtual const Vector3& vectorPt() const = 0;

    const Vector3 vectorMissingPt() const { return -vectorPt(); }
    // Alias
    const Vector3 vectorMPT() const { return vectorMissingPt(); }

    double missingPt() const { return vectorPt().mod(); }




    virtual const Vector3& vectorEt() const = 0;

    const Vector3 vectorMissingEt() const { return -vectorEt(); }
    // Alias
    const Vector3 vectorMET() const { return vectorMissingEt(); }

    double missingEt() const { return vectorEt().mod(); }
    double met() const { return missingEt(); }



    virtual void reset() {  }

  };


}

#endif

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