rivet is hosted by Hepforge, IPPP Durham

Rivet analyses reference

MC_JETS

Monte Carlo validation observables for jet production
Experiment: ()
Status: VALIDATED
Authors:
  • Frank Siegert
No references listed
Beams: * *
Beam energies: ANY
Run details:
  • Pure QCD jet production events at an arbitrary collider.

Jets with $p_\perp>20$ GeV are constructed with an anti-$k_\perp$ jet finder with $R=0.4$ and projected onto many different observables.

Source code: MC_JETS.cc
 1// -*- C++ -*-
 2#include "Rivet/Analyses/MC_JetAnalysis.hh"
 3#include "Rivet/Projections/FinalState.hh"
 4#include "Rivet/Projections/FastJets.hh"
 5#include "fastjet/contrib/SoftDrop.hh"
 6
 7namespace Rivet {
 8
 9
10
11  /// @brief MC validation analysis for jet events
12  class MC_JETS : public MC_JetAnalysis {
13  public:
14
15    MC_JETS()
16      : MC_JetAnalysis("MC_JETS", 4, "Jets")
17    {    }
18
19
20    void init() {
21      FinalState fs;
22      FastJets jetpro(fs, FastJets::ANTIKT, 0.4);
23      const string groomopt = getOption("GROOM", "");
24      if (groomopt == "SD") {
25        jetpro.addTrf(new fastjet::contrib::SoftDrop(0.0, 0.1));
26      } else if (groomopt == "TRIM") {
27        jetpro.addTrf(new fastjet::Filter(fastjet::JetDefinition(fastjet::kt_algorithm, 0.2), fastjet::SelectorPtFractionMin(0.05)));
28      } else if (groomopt != "") {
29        MSG_WARNING("Unknown GROOM=" + groomopt + " option. Not applying jet grooming");
30      }
31      declare(jetpro, "Jets");
32      MC_JetAnalysis::init();
33    }
34
35
36    void analyze(const Event& event) {
37      MC_JetAnalysis::analyze(event);
38    }
39
40
41    void finalize() {
42      MC_JetAnalysis::finalize();
43    }
44
45  };
46
47
48  // The hook for the plugin system
49  RIVET_DECLARE_PLUGIN(MC_JETS);
50
51}