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
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. Beam energy must be specified as analysis option "ENERGY" when rivet-merging samples.

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 Beam energy must be specified as analysis option "ENERGY" when rivet-merging samples.

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
// -*- C++ -*-
#include "Rivet/Analysis.hh"
#include "Rivet/Projections/ChargedFinalState.hh"

namespace Rivet {


  class ALICE_2010_S8625980 : public Analysis {
  public:

    /// Constructor
    RIVET_DEFAULT_ANALYSIS_CTOR(ALICE_2010_S8625980);


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

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

      ChargedFinalState cfs((Cuts::etaIn(-1.0, 1.0)));
      declare(cfs, "CFS");

      if (isCompatibleWithSqrtS(900)) {
        book(_h_dN_deta    ,4, 1, 1);
      } else if (isCompatibleWithSqrtS(2360)) {
        book(_h_dN_deta    ,5, 1, 1);
      } else if (isCompatibleWithSqrtS(7000)) {
        book(_h_dN_deta    ,6, 1, 1);
        book(_h_dN_dNch    ,3, 1, 1);
      }
      book(_Nevt_after_cuts, "Nevt_after_cuts");

    }


    /// Perform the per-event analysis
    void analyze(const Event& event) {
      const ChargedFinalState& charged = apply<ChargedFinalState>(event, "CFS");
      if (charged.size() < 1) {
        vetoEvent;
      }
      _Nevt_after_cuts->fill();


      for (const Particle& p : charged.particles()) {
        const double eta = p.eta();
        _h_dN_deta->fill(eta);
      }

      if (isCompatibleWithSqrtS(7000)) {
        _h_dN_dNch->fill(charged.size());
      }
    }


    /// Normalise histograms etc., after the run
    void finalize() {

      if (isCompatibleWithSqrtS(7000)) {
        normalize(_h_dN_dNch);
      }
      scale(_h_dN_deta, 1.0/ *_Nevt_after_cuts);

    }

    /// @}


  private:

    /// @name Histograms
    /// @{
    Histo1DPtr _h_dN_deta;
    Histo1DPtr _h_dN_dNch;
    CounterPtr _Nevt_after_cuts;
    /// @}

  };



  RIVET_DECLARE_ALIASED_PLUGIN(ALICE_2010_S8625980, ALICE_2010_I852264);

}