Rivet API documentation

Rivet 4.1.3
MC_JETS_BASE.hh
1// -*- C++ -*-
2#ifndef RIVET_MC_JETS_BASE_HH
3#define RIVET_MC_JETS_BASE_HH
4
5#include "Rivet/Analysis.hh"
6#include "Rivet/Projections/FinalState.hh"
7
8namespace Rivet {
9
10
14 class MC_JETS_BASE : public Analysis {
15 public:
16
18 MC_JETS_BASE(const string& name, size_t njet, const string& jetpro_name, double jetptcut = 20 * GeV);
19
20
23 virtual void init();
24 virtual void analyze(const Event& event);
25 virtual void finalize();
27
28
29 protected:
30
32 size_t _njet;
33
36 const std::string _jetpro_name;
37
39 double _jetptcut;
40
42
45 std::vector<Histo1DPtr> _h_pT_jet;
46 std::vector<Histo1DPtr> _h_eta_jet;
47 std::vector<Histo1DPtr> _h_eta_jet_plus, _h_eta_jet_minus;
48 std::vector<Histo1DPtr> _h_rap_jet;
49 std::vector<Histo1DPtr> _h_rap_jet_plus, _h_rap_jet_minus;
50 std::vector<Histo1DPtr> _h_mass_jet;
51 std::vector<Estimate1DPtr> tmpeta, tmprap;
52 std::map<std::pair<size_t, size_t>, Histo1DPtr> _h_deta_jets;
53 std::map<std::pair<size_t, size_t>, Histo1DPtr> _h_dphi_jets;
54 std::map<std::pair<size_t, size_t>, Histo1DPtr> _h_dR_jets;
55 BinnedHistoPtr<int> _h_jet_multi_exclusive;
56 BinnedHistoPtr<int> _h_jet_multi_inclusive;
57 BinnedEstimatePtr<std::string> _h_jet_multi_ratio;
58 Histo1DPtr _h_jet_HT, _h_mjj_jets;
60 };
61
62}
63
64#endif
Analysis(const std::string &name)
Constructor.
virtual std::string name() const
Get the name of the analysis.
Definition Analysis.hh:165
Representation of a HepMC event, and enabler of Projection caching.
Definition Event.hh:22
virtual void finalize()
MC_JETS_BASE(const string &name, size_t njet, const string &jetpro_name, double jetptcut=20 *GeV)
Default constructor.
virtual void analyze(const Event &event)
virtual void init()
Definition LHCbCommon.hh:9