Rivet analyses

Measurement of Hadron Production in $\pi^-$-C Interactions at 158 and 350 GeV/c with NA61/SHINE at the CERN SPS

Experiment: NA61 (SPS)

Inspire ID: 2155140

Status: VALIDATED

Authors: - ChloƩ Gaudu

References: - Phys.Rev.D 107 (2023) 6, 062004 - DOI:10.1103/PhysRevD.107.062004 - arXiv: 2209.10561

Beams: -211 1000060120

Beam energies: (158.0, 12.0); (350.0, 12.0)GeV

Run details: - pi-C to pi+X, pi-X, K+X, K-X, p+X, p-X

We present a measurement of the momentum spectra of $\pi^\pm$, $K^\pm$, $p^\pm$, $\Lambda$, $\bar{\Lambda}$ and $K^0_S$ produced in interactions of negatively charged pions with carbon nuclei at beam momenta of 158 and 350 GeV/c. The total production cross sections are measured as well. The data were collected with the large-acceptance spectrometer of the fixed target experiment NA61/SHINE at the CERN SPS. The obtained double-differential $p-p_\text{T}$ spectra provide a unique reference data set with unprecedented precision and large phase-space coverage to tune models used for the simulation of particle production in extensive air showers in which pions are the most numerous projectiles.

Source code:

NA61_2022_I2155140.cc

#include "Rivet/Analysis.hh"
#include "Rivet/Projections/AliceCommon.hh"
#include "Rivet/Projections/Beam.hh"

namespace Rivet {


  /// @brief Measurement of Hadron Production in $\pi^-$-C Interactions at 158 and 350 GeV
  class NA61_2022_I2155140 : public Analysis {
  public:

    /// Constructor
    RIVET_DEFAULT_ANALYSIS_CTOR(NA61_2022_I2155140);


    /// @name Analysis methods
    /// @{

    /// Book histograms and initialise projections before the run
    void init() {

      declare(ALICE::PrimaryParticles(), "APRIM");

      const ParticlePair& beam = beams();
      if (beam.first.pid() == PID::PIMINUS && beam.second.pid() == 1000060120) {
        const double pz = fabs(beam.first.pz());
        if (fuzzyEquals(pz, 158.0))       _sqs = 0;
        else if (fuzzyEquals(pz, 350.0))  _sqs = 1;
      }
      raiseBeamErrorIf(_sqs == 2);

      for (size_t ih : {0,1}) {
        book(_h[ih], { PID::PIPLUS, PID::PIMINUS, PID::KPLUS, PID::KMINUS, PID::PROTON,
                       PID::ANTIPROTON, PID::LAMBDA, -PID::LAMBDA, PID::K0S });
        for (auto& b : _h[ih]->bins()) {
          size_t offset = 18 + ih*6 + (b.index() > 6)*(ih? 3 : 6);
          book(b, b.index() + offset, 1, 1);
        }
      }
    }


    /// Perform the per-event analysis
    void analyze(const Event& event) {

      // working with charged particles, excluding weak decay feed-down
      for (const Particle& p : apply<ALICE::PrimaryParticles>(event, "APRIM").particles(
          Cuts::abspid == PID::PIPLUS || Cuts::abspid == PID::KPLUS || Cuts::abspid == PID::PROTON
          || Cuts::abspid == PID::LAMBDA || Cuts::pid == PID::K0S)) {
        // momentum-weighted distribution p*dN/dp
        _h[_sqs]->fill(p.pid(), p.p3().mod()/GeV, p.p3().mod()/GeV);
      }
    }

    /// Normalise histograms etc., after the run
    void finalize() {
      scale(_h, 1.0/sumOfWeights());
    }

    /// @}


    /// @name Histograms
    /// @{
    HistoGroupPtr<int, double> _h[2];
    size_t _sqs = 2;
    /// @}

  };


  RIVET_DECLARE_ALIASED_PLUGIN(NA61_2022_I2155140, NA61_2023_I2155140);
}

Aliases: - NA61_2023_I2155140