rivet is hosted by Hepforge, IPPP Durham

Rivet analyses reference

MC_WKTSPLITTINGS

Monte Carlo validation observables for $k_\perp$ splitting scales in $W[\ell \, \nu]$ + jets events
Experiment: ()
Status: VALIDATED
Authors:
  • Frank Siegert
  • Christian Gutschow
No references listed
Beams: * *
Beam energies: ANY
Run details:
  • $\ell \, \nu$ + jets analysis.

Monte Carlo validation observables for $k_\perp$ splitting scales in $W[\ell \, \nu]$ + jets events 60 GeV $<m_W<$ 100 GeV cut applied.

Source code: MC_WKTSPLITTINGS.cc
 1// -*- C++ -*-
 2#include "Rivet/Analyses/MC_KTSPLITTINGS_BASE.hh"
 3#include "Rivet/Projections/PromptFinalState.hh"
 4#include "Rivet/Projections/VetoedFinalState.hh"
 5#include "Rivet/Projections/LeptonFinder.hh"
 6#include "Rivet/Projections/MissingMomentum.hh"
 7#include "Rivet/Projections/FastJets.hh"
 8
 9namespace Rivet {
10
11
12  /// @brief MC validation analysis for kt splitting scales in W + jets events
13  class MC_WKTSPLITTINGS : public MC_KTSPLITTINGS_BASE {
14  public:
15
16    /// Default constructor
17    MC_WKTSPLITTINGS()
18      : MC_KTSPLITTINGS_BASE("MC_WKTSPLITTINGS", 4, "Jets")
19    {    }
20
21
22    /// @name Analysis methods
23    /// @{
24
25    /// Book histograms
26    void init() {
27
28      // Use analysis options
29      _dR = (getOption("SCHEME") == "BARE") ? 0.0 : 0.2;
30      _lepton = (getOption("LMODE") == "MU") ? PID::MUON : PID::ELECTRON;
31      const double ETACUT = getOption<double>("ABSETALMAX", 3.5);
32      const double PTCUT = getOption<double>("PTLMIN", 25.);
33      const Cut cut = Cuts::abseta < ETACUT && Cuts::pT > PTCUT*GeV;
34
35      // Define projections
36      LeptonFinder lf(_dR, cut && Cuts::abspid == _lepton);
37      declare(lf, "Leptons");
38
39      VetoedFinalState jetinput;
40      jetinput.vetoFinalState(lf);
41      const double R = getOption<double>("R", 0.6);
42      FastJets fj(jetinput, JetAlg::KT, R);
43      declare(fj, "Jets");
44
45      MC_KTSPLITTINGS_BASE::init();
46    }
47
48
49    /// Do the analysis
50    void analyze(const Event& event) {
51
52      // MET cut
53      const P4& pmiss = apply<MissingMom>(event, "MET").missingMom();
54      if (pmiss.pT() < 25*GeV) vetoEvent;
55
56      // Identify the closest-matching l+MET to m == mW
57      const Particles& ls = apply<LeptonFinder>(event, "Leptons").particles();
58      const int ifound = closestMassIndex(ls, pmiss, 80.4*GeV, 60*GeV, 100*GeV);
59      if (ifound < 0) vetoEvent;
60
61      MC_KTSPLITTINGS_BASE::analyze(event);
62    }
63
64
65    /// Finalize
66    void finalize() {
67      MC_KTSPLITTINGS_BASE::finalize();
68    }
69
70    /// @}
71
72
73  protected:
74
75    /// @name Parameters for specialised e/mu and dressed/bare subclassing
76    /// @{
77    double _dR;
78    PdgId _lepton;
79    /// @}
80
81  };
82
83
84  RIVET_DECLARE_PLUGIN(MC_WKTSPLITTINGS);
85
86}