rivet is hosted by Hepforge, IPPP Durham

Rivet analyses reference

MC_ZKTSPLITTINGS

Monte Carlo validation observables for $Z[\ell^+ \, \ell^-]$ + jets production
Experiment: ()
Status: VALIDATED
Authors:
  • Frank Siegert
  • Christian Gutschow
No references listed
Beams: * *
Beam energies: ANY
Run details:
  • $\ell^+ \ell^-$ + jets analysis. Needs mass cut on lepton pair to avoid photon singularity, e.g. a min range of $66 < m_{ll} < 116$ GeV

Monte Carlo validation observables for $Z[\ell^+ \, \ell^-]$ + jets production

Source code: MC_ZKTSPLITTINGS.cc
 1// -*- C++ -*-
 2#include "Rivet/Analyses/MC_JetSplittings.hh"
 3#include "Rivet/Projections/ZFinder.hh"
 4#include "Rivet/Projections/FastJets.hh"
 5
 6namespace Rivet {
 7
 8  
 9
10
11  /// @brief MC validation analysis for Z + jets events
12  class MC_ZKTSPLITTINGS : public MC_JetSplittings {
13  public:
14
15    /// Default constructor
16    MC_ZKTSPLITTINGS()
17      : MC_JetSplittings("MC_ZKTSPLITTINGS", 4, "Jets")
18    {    }
19
20
21    /// @name Analysis methods
22    //@{
23
24    /// Book histograms
25    void init() {
26		  _dR=0.2;
27      if (getOption("SCHEME") == "BARE")  _dR = 0.0;
28		  _lepton=PID::ELECTRON;
29      if (getOption("LMODE") == "MU")  _lepton = PID::MUON;
30
31      FinalState fs;
32      Cut cut = Cuts::abseta < 3.5 && Cuts::pT > 25*GeV;
33      ZFinder zfinder(fs, cut, _lepton, 65*GeV, 115*GeV, _dR, ZFinder::ClusterPhotons::NODECAY, ZFinder::AddPhotons::YES);
34      declare(zfinder, "ZFinder");
35      FastJets jetpro(zfinder.remainingFinalState(), FastJets::KT, 0.6);
36      declare(jetpro, "Jets");
37
38      MC_JetSplittings::init();
39    }
40
41
42
43    /// Do the analysis
44    void analyze(const Event & e) {
45      const ZFinder& zfinder = apply<ZFinder>(e, "ZFinder");
46      if (zfinder.bosons().size() != 1) vetoEvent;
47
48      MC_JetSplittings::analyze(e);
49    }
50
51
52    /// Finalize
53    void finalize() {
54      MC_JetSplittings::finalize();
55    }
56
57    //@}
58
59  protected:
60
61    /// @name Parameters for specialised e/mu and dressed/bare subclassing
62    //@{
63    double _dR;
64    PdgId _lepton;
65    //@}
66
67  };
68
69  // The hook for the plugin system
70  RIVET_DECLARE_PLUGIN(MC_ZKTSPLITTINGS);
71}