Rivet analyses


title: MC_TAUS

Monte Carlo validation observables for tau production

Experiment: ()

Status: VALIDATED

Authors: - Andy Buckley

References: none listed

Beams: * *

Beam energies: ANY

Run details: none listed

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

Source code:MC_TAUS.cc

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

include "Rivet/Analyses/MC_PARTICLES_BASE.hh"

include "Rivet/Projections/TauFinder.hh"

namespace Rivet {

/// @brief MC validation analysis for taus class MC_TAUS : public MC_PARTICLES_BASE { public:

/// Constructor
MC_TAUS()
    : MC_PARTICLES_BASE("MC_TAUS", 2, "tau") { }


/// Book projections and histograms
void init() {
  TauFinder taus(TauDecay::ANY);
  declare(taus, "Taus");

  MC_PARTICLES_BASE::init();
}


/// Per-event analysis
void analyze(const Event& event) {
  const Particles taus = apply<TauFinder>(event, "Taus").particlesByPt(0.5 * GeV);
  MC_PARTICLES_BASE::_analyze(event, taus);
}


/// Normalisations etc.
void finalize() {
  MC_PARTICLES_BASE::finalize();
}

};

RIVET_DECLARE_PLUGIN(MC_TAUS);

} ```