rivet is hosted by Hepforge, IPPP Durham

Rivet analyses reference

CMS_2017_I1635889

Measurement of the underlying event using inclusive Z-boson production in proton-proton collisions at $\sqrt{s} = 13$ TeV
Experiment: CMS (LHC)
Inspire ID: 1635889
Status: VALIDATED
Authors:
  • Rajat Gupta
  • Ramandeep Kumar
  • Ankita Mehta
  • Sunil Bansal
  • J.B. Singh
References: Beams: p+ p+
Beam energies: (6500.0, 6500.0) GeV
Run details:
  • Drell-Yan events with $Z/\gamma^* \to \mu\mu$.

Measurement of the underlying event activity, in proton-proton collisions at a centre-of-mass energy of $13 \mathrm{TeV}$, performed using inclusive Z-boson events collected by the CMS experiment at the Large Hadron Collider. The analyzed data corresponds to an integrated luminosity of $2.1 \mathrm{fb}^{-1}$. The underlying event activity is quantified in terms of charged particle multiplicity and their scalar sum of their transverse momentum in different topological regions defined with respect to the resultatnt azimuthal direction of the two muons coming from the decay of a Z-boson. The distributions are unfolded to stable charged-particle level and are compared with predictions from various simulations, as well as with the measurements at a centre-of-mass energy of $1.96 \mathrm{TeV}$ and $7 \mathrm{TeV}$ by the CDF and CMS experiments.

Source code: CMS_2017_I1635889.cc
  1// -*- C++ -*-
  2#include "Rivet/Analysis.hh"
  3#include "Rivet/Projections/FinalState.hh"
  4#include "Rivet/Projections/ZFinder.hh"
  5#include "Rivet/Projections/FinalState.hh"
  6#include "Rivet/Projections/ChargedFinalState.hh"
  7#include "Rivet/Projections/VetoedFinalState.hh"
  8//#include "Rivet/ParticleName.hh"
  9
 10namespace Rivet {
 11
 12  
 13
 14
 15  /// Underlying event activity in the Drell-Yan process at 13 TeV
 16  class CMS_2017_I1635889 : public Analysis {
 17  public:
 18
 19    /// Constructor
 20    CMS_2017_I1635889()
 21      : Analysis("CMS_2017_I1635889")
 22    {   }
 23
 24
 25    /// Initialization
 26    void init() {
 27
 28      /// @note Using a bare muon Z (but with a clustering radius!?)
 29      Cut cut = Cuts::abseta < 2.4 && Cuts::pT > 10*GeV;
 30      ZFinder zfinder(FinalState(), cut, PID::MUON, 81*GeV, 101*GeV, 0.2, ZFinder::ClusterPhotons::NONE);
 31      declare(zfinder, "ZFinder");
 32
 33      ChargedFinalState cfs(zfinder.remainingFinalState());
 34      declare(cfs, "cfs");
 35
 36      book(_h_Nchg_towards_pTmumu     , 1, 1, 1);
 37      book(_h_Nchg_transverse_pTmumu  , 2, 1, 1);
 38      book(_h_Nchg_away_pTmumu        , 3, 1, 1);
 39      book(_h_pTsum_towards_pTmumu    , 4, 1, 1);
 40      book(_h_pTsum_transverse_pTmumu , 5, 1, 1);
 41      book(_h_pTsum_away_pTmumu       , 6, 1, 1);
 42    }
 43
 44
 45    /// Perform the per-event analysis
 46    void analyze(const Event& event) {
 47      const ZFinder& zfinder = applyProjection<ZFinder>(event, "ZFinder");
 48
 49      if (zfinder.bosons().size() != 1) vetoEvent;
 50      if (zfinder.constituents()[0].pT()<20 && zfinder.constituents()[1].pT()<20)vetoEvent;
 51      //std::cout<<"pt[0] = "<<zfinder.constituents()[0].pT()<<"pt[1] = "<<zfinder.constituents()[1].pT()<<std::endl;
 52      double Zpt = zfinder.bosons()[0].pT()/GeV;
 53      double Zphi = zfinder.bosons()[0].phi();
 54      //double Zmass = zfinder.bosons()[0].mass()/GeV;
 55
 56     Particles particles = applyProjection<ChargedFinalState>(event, "cfs").particlesByPt(Cuts::pT > 0.5*GeV && Cuts::abseta <2.0);
 57
 58      int nTowards = 0;
 59      int nTransverse = 0;
 60      int nAway = 0;
 61      double ptSumTowards = 0;
 62      double ptSumTransverse = 0;
 63      double ptSumAway = 0;
 64
 65      for (const Particle& p : particles) {
 66        double dphi = fabs(deltaPhi(Zphi, p.phi()));
 67        double pT = p.pT();
 68
 69        if ( dphi < M_PI/3 ) {
 70          nTowards++;
 71          ptSumTowards += pT;
 72        } else if ( dphi < 2.*M_PI/3 ) {
 73          nTransverse++;
 74          ptSumTransverse += pT;
 75        } else {
 76          nAway++;
 77          ptSumAway += pT;
 78        }
 79
 80      } // Loop over particles
 81
 82
 83      const double area = 8./3.*M_PI;
 84        _h_Nchg_towards_pTmumu->         fill(Zpt, 1./area * nTowards);
 85        _h_Nchg_transverse_pTmumu->      fill(Zpt, 1./area * nTransverse);
 86        _h_Nchg_away_pTmumu->            fill(Zpt, 1./area * nAway);
 87        _h_pTsum_towards_pTmumu->        fill(Zpt, 1./area * ptSumTowards);
 88        _h_pTsum_transverse_pTmumu->     fill(Zpt, 1./area * ptSumTransverse);
 89        _h_pTsum_away_pTmumu->           fill(Zpt, 1./area * ptSumAway);
 90
 91
 92    }
 93
 94
 95    /// Normalise histograms etc., after the run
 96    void finalize() {
 97    }
 98
 99
100  private:
101
102
103    /// @name Histogram objects
104    //@{
105    Profile1DPtr _h_Nchg_towards_pTmumu;
106    Profile1DPtr _h_Nchg_transverse_pTmumu;
107    Profile1DPtr _h_Nchg_away_pTmumu;
108    Profile1DPtr _h_pTsum_towards_pTmumu;
109    Profile1DPtr _h_pTsum_transverse_pTmumu;
110    Profile1DPtr _h_pTsum_away_pTmumu;
111    //@}
112
113  };
114
115
116  // Hook for the plugin system
117  RIVET_DECLARE_PLUGIN(CMS_2017_I1635889);
118
119}