rivet is hosted by Hepforge, IPPP Durham
Rivet  2.7.0
MC_JetAnalysis.hh
1 // -*- C++ -*-
2 #ifndef RIVET_MC_JetAnalysis_HH
3 #define RIVET_MC_JetAnalysis_HH
4 
5 #include "Rivet/Analysis.hh"
6 #include "Rivet/Projections/FinalState.hh"
7 
8 namespace Rivet {
9 
10 
13  class MC_JetAnalysis : public Analysis {
14  public:
15 
17  MC_JetAnalysis(const string& name,
18  size_t njet,
19  const string& jetpro_name,
20  double jetptcut=20*GeV);
21 
22 
24 
25  virtual void init();
26  virtual void analyze(const Event& event);
27  virtual void finalize();
29 
30 
31  protected:
32 
34  size_t _njet;
35 
38  const std::string _jetpro_name;
39 
41  double _jetptcut;
42 
44 
46 
47  std::vector<Histo1DPtr> _h_pT_jet;
48  std::vector<Histo1DPtr> _h_eta_jet;
49  std::vector<Histo1DPtr> _h_eta_jet_plus, _h_eta_jet_minus;
50  std::vector<Histo1DPtr> _h_rap_jet;
51  std::vector<Histo1DPtr> _h_rap_jet_plus, _h_rap_jet_minus;
52  std::vector<Histo1DPtr> _h_mass_jet;
53  std::map<std::pair<size_t, size_t>, Histo1DPtr> _h_deta_jets;
54  std::map<std::pair<size_t, size_t>, Histo1DPtr> _h_dphi_jets;
55  std::map<std::pair<size_t, size_t>, Histo1DPtr> _h_dR_jets;
56  Histo1DPtr _h_jet_multi_exclusive;
57  Histo1DPtr _h_jet_multi_inclusive;
58  Scatter2DPtr _h_jet_multi_ratio;
59  Histo1DPtr _h_jet_HT, _h_mjj_jets;
61 
62  };
63 
64 }
65 
66 #endif
Definition: ALICE_2010_I880049.cc:13
MC_JetAnalysis(const string &name, size_t njet, const string &jetpro_name, double jetptcut=20 *GeV)
Default constructor.
Definition: MC_JetAnalysis.cc:10
virtual void analyze(const Event &event)
Definition: MC_JetAnalysis.cc:75
This is the base class of all analysis classes in Rivet.
Definition: Analysis.hh:52
Definition: Event.hh:22
virtual void init()
Definition: MC_JetAnalysis.cc:26
virtual std::string name() const
Get the name of the analysis.
Definition: Analysis.hh:120
Base class providing common functionality for MC jet validation analyses.
Definition: MC_JetAnalysis.hh:13
virtual void finalize()
Definition: MC_JetAnalysis.cc:143