rivet is hosted by Hepforge, IPPP Durham

Rivet analyses reference

MC_MUONS

Monte Carlo validation observables for muon production
Experiment: ()
Status: VALIDATED
Authors:
  • Andy Buckey
No references listed
Beams: * *
Beam energies: ANY
    No run details listed

Any muons with $p_\perp > 0.5$ GeV are found and projected onto many different observables. There is currently no photon clustering on to these muons. Multiplicities are tracked for both inclusive and prompt-only particles -- maybe a MC_PROMPTMUONS analysis is needed?

Source code: MC_MUONS.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
// -*- C++ -*-
#include "Rivet/Analyses/MC_ParticleAnalysis.hh"
#include "Rivet/Projections/IdentifiedFinalState.hh"

namespace Rivet {


  /// @brief MC validation analysis for muons
  class MC_MUONS : public MC_ParticleAnalysis {
  public:

    MC_MUONS()
      : MC_ParticleAnalysis("MC_MUONS", 2, "muon")
    {    }


  public:

    void init() {
      IdentifiedFinalState muons;
      muons.acceptIdPair(PID::MUON);
      declare(muons, "Muons");

      MC_ParticleAnalysis::init();
    }


    void analyze(const Event& event) {
      const Particles mus = apply<FinalState>(event, "Muons").particlesByPt(Cuts::pT > 0.5*GeV);
      MC_ParticleAnalysis::_analyze(event, mus);
    }


    void finalize() {
      MC_ParticleAnalysis::finalize();
    }

  };


  // The hook for the plugin system
  DECLARE_RIVET_PLUGIN(MC_MUONS);

}