Rivet analyses


title: ALICE_2010_I852450

Charged particle multiplicities at 0.9 and 2.36~TeV in three different pseudorapidity intervals

Experiment: ALICE (LHC)

Inspire ID: 852450

Status: VALIDATED

Authors: - Holger Schulz - Jan Fiete Grosse-Oetringhaus

References: - Eur.Phys.J.C68:89-108,2010 - arXiv: 1004.3034

Beams: p+ p+

Beam energies: (450.0, 450.0); (1180.0, 1180.0)GeV

Run details: - QCD and diffractive events at $\sqrt{s} = 0.9~\TeV$ and $\sqrt{s} = 2.36~\TeV$.

This is an ALICE analysis where charged particle multiplicities (including the zero bin) have been measured in three different pseudorapidity intervals ($|\eta|<0.5; |\eta|<1.0; |\eta|<1.3$. Only the INEL distributions have been considered here, i.e. this analysis can only be meaningfully compared to PYTHIA 6 with diffractive processes disabled. The data were taken at 900 and 2360~GeV.

Source code:ALICE_2010_I852450.cc

```c++ // -- C++ --

include "Rivet/Analysis.hh"

include "Rivet/Projections/ChargedFinalState.hh"

namespace Rivet {

class ALICE_2010_I852450 : public Analysis { public:

/// Constructor
RIVET_DEFAULT_ANALYSIS_CTOR(ALICE_2010_I852450);


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

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

  ChargedFinalState cfs05(Cuts::abseta < 0.5);
  ChargedFinalState cfs10(Cuts::abseta < 1.0);
  ChargedFinalState cfs13(Cuts::abseta < 1.3);
  declare(cfs05, "CFS05");
  declare(cfs10, "CFS10");
  declare(cfs13, "CFS13");

  for (double eVal : allowedEnergies()) {
    const string en = toString(round(eVal));
    if (isCompatibleWithSqrtS(eVal)) _sqs = en;
    size_t offset = (en == "2360"s) ? 6 : 0;

    book(_h[en + "dN_dNch_05"], 11 + offset, 1, 1);
    book(_h[en + "dN_dNch_10"], 12 + offset, 1, 1);
    book(_h[en + "dN_dNch_13"], 13 + offset, 1, 1);
  }
  raiseBeamErrorIf(_sqs.empty());
}


/// Perform the per-event analysis
void analyze(const Event& event) {
  const ChargedFinalState& charged_05 = apply<ChargedFinalState>(event, "CFS05");
  const ChargedFinalState& charged_10 = apply<ChargedFinalState>(event, "CFS10");
  const ChargedFinalState& charged_13 = apply<ChargedFinalState>(event, "CFS13");

  _h[_sqs + "dN_dNch_05"]->fill(charged_05.size());
  _h[_sqs + "dN_dNch_10"]->fill(charged_10.size());
  _h[_sqs + "dN_dNch_13"]->fill(charged_13.size());
}


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

/// @}

private:

/// @name Histograms
/// @{
map<string, Histo1DPtr> _h;

string _sqs = "";
/// @}

};

RIVET_DECLARE_ALIASED_PLUGIN(ALICE_2010_I852450, ALICE_2010_S8624100);

} ```

Aliases: - ALICE_2010_S8624100