Rivet analyses

Measurement of forward and forward+central jets at $\sqrt{s} = 7$ TeV

Experiment: CMS (LHC)

Inspire ID: 1087342

Status: VALIDATED

Authors: - Albert Knutsson - Rasmus Sloth Hansen - Bo Zhu

References: - JHEP 1206 (2012) 036 - Expt page: CMS-FWD-11-002 - CERN-PH-EP-2011-179 - doi 10.1007/JHEP06(2012)036 - arXiv: 1202.0704

Beams: p+ p+

Beam energies: (3500.0, 3500.0)GeV

Run details: - pp QCD interactions at 7 TeV.

Inclusive forward jets and forward+central jets measured by CMS at $\sqrt{s} = 7$ TeV.

Source code:CMS_2012_I1087342.cc

// -*- C++ -*-
#include "Rivet/Analysis.hh"
#include "Rivet/Projections/FinalState.hh"
#include "Rivet/Projections/FastJets.hh"


namespace Rivet {

  // This analysis is a derived from the class Analysis:
  class CMS_2012_I1087342 : public Analysis {

  public:

    // Constructor
    CMS_2012_I1087342() : Analysis("CMS_2012_I1087342") {
    }

    void init() {
      const FinalState fs;
      declare(FastJets(fs, JetAlg::ANTIKT, 0.5),"Jets");

      book(_hist_jetpt_fwdincl ,1, 1, 1);
      book(_hist_jetpt_forward ,2, 1, 1);
      book(_hist_jetpt_central ,3, 1, 1);
    }

    void analyze(const Event& event) {

      const FastJets& fj = apply<FastJets>(event,"Jets");
      const Jets jets = fj.jets(Cuts::ptIn(35*GeV, 150*GeV) && Cuts::abseta < 4.7);

      double cjet_pt = 0.0;
      double fjet_pt = 0.0;

      for(const Jet& j : jets) {
        double pT = j.pT();
        if (j.abseta() > 3.2) {
          _hist_jetpt_fwdincl->fill(j.pT()/GeV);
        }
        if (j.abseta() < 2.8) {
          if (cjet_pt < pT) cjet_pt = pT;
        }
        if (inRange(j.abseta(), 3.2, 4.7)) {
          if (fjet_pt < pT) fjet_pt = pT;
        }
      }

      if (cjet_pt > 35*GeV && fjet_pt > 35*GeV) {
        _hist_jetpt_forward->fill(fjet_pt/GeV);
        _hist_jetpt_central->fill(cjet_pt/GeV);
      }

    }


    void finalize() {
      scale(_hist_jetpt_fwdincl, crossSection() / picobarn / sumOfWeights() / 3.0);
      scale(_hist_jetpt_forward, crossSection() / picobarn / sumOfWeights() / 3.0);
      scale(_hist_jetpt_central, crossSection() / picobarn / sumOfWeights() / 5.6);
    }


  private:

    Histo1DPtr _hist_jetpt_fwdincl;
    Histo1DPtr _hist_jetpt_forward;
    Histo1DPtr _hist_jetpt_central;

  };


  RIVET_DECLARE_PLUGIN(CMS_2012_I1087342);

}