Rivet analyses

Track-based minimum bias with low-pT tracks at 13 TeV

Experiment: ATLAS (LHC)

Inspire ID: 1467230

Status: VALIDATED

Authors: - Roman Lysak

References: - Expt page: ATLAS-STDM-2015-17 - Eur.Phys.J. C76 (2016) no.9, 502 - DOI: 10.1140/epjc/s10052-016-4335-y - arXiv: 1606.01133

Beams: p+ p+

Beam energies: (6500.0, 6500.0)GeV

Run details: - pp QCD interactions at 13 TeV. Diffractive events should be included. Multiple kinematic cuts should not be required.

Measurements of distributions of charged particles produced in proton-proton collisions with a centre-of-mass energy of 13 TeV are presented. The data were recorded by the ATLAS detector at the LHC and correspond to an integrated luminosity of 151 μb−1. The particles are required to have a transverse momentum greater than 100 MeV and an absolute pseudorapidity less than 2.5. The charged-particle multiplicity, its dependence on transverse momentum and pseudorapidity and the dependence of the mean transverse momentum on multiplicity are measured in events containing at least two charged particles satisfying the above kinematic criteria. The results are corrected for detector effects and compared to the predictions from several Monte Carlo event generators.

Source code:ATLAS_2016_I1467230.cc

// -*- C++ -*-
#include "Rivet/Analysis.hh"
#include "Rivet/Projections/ChargedFinalState.hh"

namespace Rivet {


  /// @brief ATLAS 13 TeV minimum bias analysis for low-pT tracks
  class ATLAS_2016_I1467230 : public Analysis {
  public:

    /// Particle types included
    enum PartTypes {
      k_NoStrange,
      k_AllCharged,
      kNPartTypes
    };

    /// Phase space regions
    enum regionID {
      k_pt100_nch2_eta25,
      kNregions
    };


    /// Default constructor
    RIVET_DEFAULT_ANALYSIS_CTOR(ATLAS_2016_I1467230);


    /// Initialization, called once before running
    void init() {

      for (int iT = 0; iT < kNPartTypes; ++iT) {
        for (int iR = 0; iR < kNregions; ++iR) {
          book(_sumW[iT][iR], "_sumW" + to_str(iT) + to_str(iR));
        }
      }

      // Initialize and register projections
      declare(ChargedFinalState(Cuts::abseta < 2.5 && Cuts::pT > 100*MeV), "CFS100_25");

      for (int iT = 0; iT < kNPartTypes; ++iT) {
        for (int iR = 0; iR < kNregions; ++iR) {
          book(_hist_nch  [iT][iR],  1, iR + 1, iT + 1);
          book(_hist_pt   [iT][iR],  2, iR + 1, iT + 1);
          book(_hist_eta  [iT][iR],  3, iR + 1, iT + 1);
          book(_hist_ptnch[iT][iR],  4, iR + 1, iT + 1);
        }
      }

    }


    /// Fill histograms for the given particle selection and phase-space region
    void fillPtEtaNch(const Particles& particles, int ptype, int iRegion) {

      // Skip if event fails multiplicity cut
      const size_t nch = particles.size();
      if (nch < 2) return;

      _sumW[ptype][iRegion]->fill();

      // Fill nch
      _hist_nch[ptype][iRegion]->fill(nch);

      // Loop over particles, fill pT, eta and ptnch
      for (const Particle& p : particles)  {
        const double pt  = p.pT()/GeV;
        const double eta = p.eta();
        _hist_pt   [ptype][iRegion]->fill(pt , 1.0/pt);
        _hist_eta  [ptype][iRegion]->fill(eta);
        _hist_ptnch[ptype][iRegion]->fill(nch, pt);
      }
    }


    /// Per-event analysis
    void analyze(const Event& event) {

      // Get all charged particles
      const ChargedFinalState& cfs = apply<ChargedFinalState>(event, "CFS100_25");
      const Particles& pall = cfs.particles();

      // Get charged particles, filtered to omit charged strange baryons
      const Cut& pcut = Cuts::abspid != PID::SIGMAMINUS && Cuts::abspid != PID::SIGMAPLUS && Cuts::abspid != PID::XIMINUS && Cuts::abspid != PID::OMEGAMINUS;
      const Particles& pnostrange = cfs.particles(pcut);

      // Fill all histograms
      for (int iR = 0; iR < kNregions; ++iR)  {
        fillPtEtaNch(pall,       k_AllCharged, iR);
        fillPtEtaNch(pnostrange, k_NoStrange,  iR);
      }

    }


    /// Post-run data manipulation
    void finalize() {

      // Scale all histograms
      for (int iT = 0; iT < kNPartTypes; ++iT) {
        for (int iR = 0; iR < kNregions; ++iR) {
          if (_sumW[iT][iR]->val() > 0) {
            scale(_hist_nch[iT][iR], 1.0/ *_sumW[iT][iR]);
            scale(_hist_pt [iT][iR], 1.0/ dbl(*_sumW[iT][iR])/TWOPI/5.);
            scale(_hist_eta[iT][iR], 1.0/ *_sumW[iT][iR]);
          }
        }
      }

    }


  private:

    /// Weight sums
    CounterPtr _sumW[kNPartTypes][kNregions];

    /// @name Histogram arrays
    /// @{
    Histo1DPtr   _hist_nch    [kNPartTypes][kNregions];
    Histo1DPtr   _hist_pt     [kNPartTypes][kNregions];
    Histo1DPtr   _hist_eta    [kNPartTypes][kNregions];
    Profile1DPtr _hist_ptnch  [kNPartTypes][kNregions];
    /// @}

  };


  RIVET_DECLARE_PLUGIN(ATLAS_2016_I1467230);

}