Rivet analyses

Invariant cross section of neutral pions at mid-rapidity in 8 TeV pp collisions

Experiment: ALICE (LHC)

Inspire ID: 1620477

Status: VALIDATED

Authors: - Hendrik Poppenborg

References: - Eur. Phys. J. C (2018) 78: 263 - 10.1140/epjc/s10052-018-5612-8 - arXiv: hep-ex/1708.08745

Beams: p+ p+

Beam energies: (4000.0, 4000.0)GeV

Run details: none listed

Transverse momentum spectra of neutral pions and η mesons measured at 0.3 < pT < 35 GeV/c and 0.5 < pT < 35 GeV/c, respectively, and the ratio π0/η, obtained at mid-rapidity in pp collisions at $\sqrt(s) = 8\,$TeV with ALICE at the LHC.

Source code:ALICE_2017_I1620477.cc

//-*- C++ -*-
#include "Rivet/Analysis.hh"
#include "Rivet/Projections/UnstableParticles.hh"
#include "Rivet/Tools/ParticleUtils.hh"

namespace Rivet {


  class ALICE_2017_I1620477 : public Analysis {
  public:

    /// Constructor
    ALICE_2017_I1620477()
      : Analysis("ALICE_2017_I1620477"),
        _rapmax(0.8)
    {    }


    void init() {

      const UnstableParticles ufs(Cuts::absrap < _rapmax);
      declare(ufs, "UFS");

      book(_h_pi0,1,1,1);
      book(_h_eta,2,1,1);
      book(_h_etaToPion,8,1,1);

      // temporary plots with the binning of _h_etaToPion
      // to construct the eta/pi0 ratio in the end
      book(_temp_h_pion,"TMP/h_pion",refData(8,1,1));
      book(_temp_h_eta, "TMP/h_eta", refData(8,1,1));
    }


    void analyze(const Event& event) {

      const UnstableParticles& ufs = apply<UnstableParticles>(event, "UFS");

      for(const Particle& p : ufs.particles()) {

        if (p.pid() == 111) {
          // neutral pion; ALICE corrects for pi0 feed-down
          if ( !(p.hasAncestorWith(Cuts::pid == 310)  || p.hasAncestorWith(Cuts::pid == 130)   || // K0_s, K0_l
                 p.hasAncestorWith(Cuts::pid == 321)  || p.hasAncestorWith(Cuts::pid == -321)  || // K+,K-
                 p.hasAncestorWith(Cuts::pid == 3122) || p.hasAncestorWith(Cuts::pid == -3122) || // Lambda, Anti-Lambda
                 p.hasAncestorWith(Cuts::pid == 3212) || p.hasAncestorWith(Cuts::pid == -3212) || // Sigma0
                 p.hasAncestorWith(Cuts::pid == 3222) || p.hasAncestorWith(Cuts::pid == -3222) || // Sigmas
                 p.hasAncestorWith(Cuts::pid == 3112) || p.hasAncestorWith(Cuts::pid == -3112) || // Sigmas
                 p.hasAncestorWith(Cuts::pid == 3322) || p.hasAncestorWith(Cuts::pid == -3322) || // Cascades
                 p.hasAncestorWith(Cuts::pid == 3312) || p.hasAncestorWith(Cuts::pid == -3312) )) // Cascades
            {
              _h_pi0->fill(p.pT()/GeV, 1. /(TWOPI*p.pT()/GeV*2*_rapmax));
              _temp_h_pion->fill(p.pT()/GeV);
            }
        }
        else if (p.pid() == 221) {
          // eta meson
          _h_eta->fill(p.pT()/GeV, 1. /(TWOPI*p.pT()/GeV*2*_rapmax));
          _temp_h_eta->fill(p.pT()/GeV);

        }
      }
    }


    void finalize() {

      scale(_h_pi0, crossSection()/picobarn/sumOfWeights());
      scale(_h_eta, crossSection()/picobarn/sumOfWeights());
      divide(_temp_h_eta, _temp_h_pion, _h_etaToPion);

    }


  private:

    double _rapmax;
    Histo1DPtr _h_pi0;
    Histo1DPtr _h_eta;
    Histo1DPtr _temp_h_pion;
    Histo1DPtr _temp_h_eta;
    Estimate1DPtr _h_etaToPion;

  };


  RIVET_DECLARE_PLUGIN(ALICE_2017_I1620477);

}