Rivet analyses referenceMC_TAUSMonte Carlo validation observables for tau productionExperiment: () Status: VALIDATED Authors:
Beams: * * Beam energies: ANY
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 1// -*- C++ -*-
2#include "Rivet/Analyses/MC_PARTICLES_BASE.hh"
3#include "Rivet/Projections/TauFinder.hh"
4
5namespace Rivet {
6
7
8 /// @brief MC validation analysis for taus
9 class MC_TAUS : public MC_PARTICLES_BASE {
10 public:
11
12 /// Constructor
13 MC_TAUS()
14 : MC_PARTICLES_BASE("MC_TAUS", 2, "tau")
15 { }
16
17
18 /// Book projections and histograms
19 void init() {
20 TauFinder taus(TauDecay::ANY);
21 declare(taus, "Taus");
22
23 MC_PARTICLES_BASE::init();
24 }
25
26
27 /// Per-event analysis
28 void analyze(const Event& event) {
29 const Particles taus = apply<TauFinder>(event, "Taus").particlesByPt(0.5*GeV);
30 MC_PARTICLES_BASE::_analyze(event, taus);
31 }
32
33
34 /// Normalisations etc.
35 void finalize() {
36 MC_PARTICLES_BASE::finalize();
37 }
38
39 };
40
41
42 RIVET_DECLARE_PLUGIN(MC_TAUS);
43
44}
|