rivet is hosted by Hepforge, IPPP Durham

## Rivet analyses reference

### ALICE_2010_S8625980

Pseudorapidities at three energies, charged multiplicity at 7 TeV
Experiment: ALICE (LHC)
Inspire ID: 852264
Status: VALIDATED
Authors:
• Holger Schulz
• Jan Fiete Grosse-Oetringhaus@cern.ch
References:
• Eur.Phys.J. C68 (2010) 345-354
• arXiv: 1004.3514
Beams: p+ p+
Beam energies: (450.0, 450.0); (1180.0, 1180.0); (3500.0, 3500.0) GeV
Run details:
• Diffractive events need to be enabled.

This is an ALICE publication with pseudorapities for 0.9, 2.36 and $7\;\text{TeV}$ and the charged multiplicity at $7\;\text{TeV}$. The analysis requires at least on charged particle in the event. Only the INEL distributions are considered here

Source code: ALICE_2010_S8625980.cc
  1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 // -*- C++ -*- #include "Rivet/Analysis.hh" #include "Rivet/Projections/ChargedFinalState.hh" namespace Rivet { class ALICE_2010_S8625980 : public Analysis { public: /// @name Constructors etc. //@{ /// Constructor ALICE_2010_S8625980() : Analysis("ALICE_2010_S8625980"), _Nevt_after_cuts(0.0) { } //@} public: /// @name Analysis methods //@{ /// Book histograms and initialise projections before the run void init() { ChargedFinalState cfs(-1.0, 1.0); declare(cfs, "CFS"); if (fuzzyEquals(sqrtS()/GeV, 900, 1E-3)) { _h_dN_deta = bookHisto1D(4, 1, 1); } else if (fuzzyEquals(sqrtS()/GeV, 2360, 1E-3)) { _h_dN_deta = bookHisto1D(5, 1, 1); } else if (fuzzyEquals(sqrtS()/GeV, 7000, 1E-3)) { _h_dN_deta = bookHisto1D(6, 1, 1); _h_dN_dNch = bookHisto1D(3, 1, 1); } } /// Perform the per-event analysis void analyze(const Event& event) { const double weight = event.weight(); const ChargedFinalState& charged = apply(event, "CFS"); if (charged.size() < 1) { vetoEvent; } _Nevt_after_cuts += weight; foreach (const Particle& p, charged.particles()) { const double eta = p.eta(); _h_dN_deta->fill(eta, weight); } if (fuzzyEquals(sqrtS()/GeV, 7000, 1E-3)) { _h_dN_dNch->fill(charged.size(), weight); } } /// Normalise histograms etc., after the run void finalize() { if (fuzzyEquals(sqrtS()/GeV, 7000, 1E-3)) { normalize(_h_dN_dNch); } scale(_h_dN_deta, 1.0/_Nevt_after_cuts); } //@} private: /// @name Histograms //@{ Histo1DPtr _h_dN_deta; Histo1DPtr _h_dN_dNch; double _Nevt_after_cuts; //@} }; // The hook for the plugin system DECLARE_RIVET_PLUGIN(ALICE_2010_S8625980); }