Rivet Analyses Reference

ATLAS_2013_I1216670

W + DPI at 7 TeV
Experiment: ATLAS (LHC)
Inspire ID: 1216670
Status: VALIDATED
Authors:
  • Tim Martin
References:Beams: p+ p+
Beam energies: (3500.0, 3500.0) GeV
Run details:
  • W + 2 jets (W -> l nu)

The production of $W$ bosons in association with two jets in proton-proton collisions at a centre-of-mass energy of $\sqrt{s} = 7$ TeV has been analysed for the presence of double-parton interactions using data corresponding to an integrated luminosity of 36/pb, collected with the ATLAS detector at the LHC.

Source code: ATLAS_2013_I1216670.cc
  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
// -*- C++ -*-
#include "Rivet/Analysis.hh"
#include "Rivet/Projections/FinalState.hh"
#include "Rivet/Projections/WFinder.hh"
#include "Rivet/Projections/FastJets.hh"
#include "Rivet/Projections/VetoedFinalState.hh"

namespace Rivet {

  /// @brief MPI sensitive di-jet balance variables for W->ejj or W->mujj events.
  class ATLAS_2013_I1216670 : public Analysis {
  public:

    /// @name Constructor
    ATLAS_2013_I1216670()
      : Analysis("ATLAS_2013_I1216670")
    {    }


    /// @name Analysis methods
    //@{

    /// Book histograms, set up projections for W and jets
    void init() {

      book(_h_delta_jets_n ,1, 1, 1);
      book(_h_delta_jets   ,2, 1, 1);

      FinalState fs;

      Cut cuts = Cuts::abseta < 2.5 && Cuts::pT >= 20*GeV;

      WFinder w_e_finder(fs, cuts, PID::ELECTRON, 40*GeV, DBL_MAX, 0.0*GeV, 0.0, WFinder::ChargedLeptons::PROMPT, WFinder::ClusterPhotons::NODECAY,
                         WFinder::AddPhotons::NO, WFinder::MassWindow::MT);
      declare(w_e_finder, "W_E_FINDER");

      WFinder w_mu_finder(fs, cuts, PID::MUON, 40*GeV, DBL_MAX, 0.0*GeV, 0.0, WFinder::ChargedLeptons::PROMPT, WFinder::ClusterPhotons::NODECAY,
                          WFinder::AddPhotons::NO, WFinder::MassWindow::MT);
      declare(w_mu_finder, "W_MU_FINDER");

      VetoedFinalState jet_fs(fs);
      jet_fs.addVetoOnThisFinalState(getProjection<WFinder>("W_E_FINDER"));
      jet_fs.addVetoOnThisFinalState(getProjection<WFinder>("W_MU_FINDER"));
      FastJets jets(jet_fs, FastJets::ANTIKT, 0.4);
      declare(jets, "JETS");

    }

    /// Do the analysis
    void analyze(const Event &e) {

      const WFinder& w_e_finder  = apply<WFinder>(e, "W_E_FINDER" );
      const WFinder& w_mu_finder = apply<WFinder>(e, "W_MU_FINDER");
      Particle lepton, neutrino;
      Jets all_jets, jets;

      // Find exactly 1 W->e or W->mu boson
      if(w_e_finder.bosons().size() == 1 && w_mu_finder.bosons().size() == 0) {
        MSG_DEBUG(" Event identified as W->e nu.");
        if( !(w_e_finder.mT() > 40*GeV && w_e_finder.constituentNeutrino().Et() > 25.0*GeV) )  vetoEvent;
        lepton = w_e_finder.constituentLepton();
      } else if(w_mu_finder.bosons().size() == 1 && w_e_finder.bosons().size() == 0) {
        MSG_DEBUG(" Event identified as W->mu nu.");
        if( !(w_mu_finder.mT() > 40*GeV && w_mu_finder.constituentNeutrino().Et() > 25.0*GeV) )  vetoEvent;
        lepton = w_mu_finder.constituentLepton();
      } else {
        MSG_DEBUG(" No W found passing cuts.");
        vetoEvent;
      }

      all_jets = apply<FastJets>(e, "JETS").jetsByPt(Cuts::pt>20.0*GeV && Cuts::absrap<2.8);

      // Remove jets DeltaR < 0.5 from W lepton
      for(Jets::iterator it = all_jets.begin(); it != all_jets.end(); ++it) {
        double distance = deltaR( lepton, (*it) );
        if(distance < 0.5) {
          MSG_DEBUG("   Veto jet DeltaR " << distance << " from W lepton");
        } else {
          jets.push_back(*it);
        }
      }

      // Exactly two jets required
      if( jets.size() != 2 )  vetoEvent;

      // Calculate analysis quantities from the two jets
      double delta_jets = (jets.front().momentum() + jets.back().momentum()).pT();
      double total_pt = jets.front().momentum().pT() + jets.back().momentum().pT();
      double delta_jets_n = delta_jets / total_pt;

      _h_delta_jets->fill(   delta_jets); // Jet pT balance
      _h_delta_jets_n->fill( delta_jets_n); // Jet pT balance, normalised by scalar dijet pT

    }

    /// Finalize
    void finalize() {

      // Data is normalised to 0.03 and 3
      normalize(_h_delta_jets_n, 0.03);
      normalize(_h_delta_jets  , 3.0 );

    }

    //@}

  private:

    /// @name Histograms
    //@{
    Histo1DPtr _h_delta_jets_n;
    Histo1DPtr _h_delta_jets;
    //@}

  };

  // The hook for the plugin system
  RIVET_DECLARE_PLUGIN(ATLAS_2013_I1216670);

}