rivet is hosted by Hepforge, IPPP Durham
Rivet 4.0.0
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,
19 size_t njet,
20 const string& jetpro_name,
21 double jetptcut=20*GeV);
22
23
26 virtual void init();
27 virtual void analyze(const Event& event);
28 virtual void finalize();
30
31
32 protected:
33
35 size_t _njet;
36
39 const std::string _jetpro_name;
40
42 double _jetptcut;
43
45
48 std::vector<Histo1DPtr> _h_pT_jet;
49 std::vector<Histo1DPtr> _h_eta_jet;
50 std::vector<Histo1DPtr> _h_eta_jet_plus, _h_eta_jet_minus;
51 std::vector<Histo1DPtr> _h_rap_jet;
52 std::vector<Histo1DPtr> _h_rap_jet_plus, _h_rap_jet_minus;
53 std::vector<Histo1DPtr> _h_mass_jet;
54 std::vector<Estimate1DPtr> tmpeta, tmprap;
55 std::map<std::pair<size_t, size_t>, Histo1DPtr> _h_deta_jets;
56 std::map<std::pair<size_t, size_t>, Histo1DPtr> _h_dphi_jets;
57 std::map<std::pair<size_t, size_t>, Histo1DPtr> _h_dR_jets;
58 BinnedHistoPtr<int> _h_jet_multi_exclusive;
59 BinnedHistoPtr<int> _h_jet_multi_inclusive;
60 BinnedEstimatePtr<std::string> _h_jet_multi_ratio;
61 Histo1DPtr _h_jet_HT, _h_mjj_jets;
63
64 };
65
66}
67
68#endif
This is the base class of all analysis classes in Rivet.
Definition Analysis.hh:67
virtual std::string name() const
Get the name of the analysis.
Definition Analysis.hh:142
Representation of a HepMC event, and enabler of Projection caching.
Definition Event.hh:22
Base class providing common functionality for MC jet validation analyses.
Definition MC_JETS_BASE.hh:14
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 RivetYODA.hh:1330
Definition MC_CENT_PPB_Projections.hh:10