MC_JetAnalysis.hh
// -*- C++ -*-
#ifndef RIVET_MC_JetAnalysis_HH
#define RIVET_MC_JetAnalysis_HH
#include "Rivet/Analysis.hh"
#include "Rivet/Projections/FinalState.hh"
#include "LWH/Histogram1D.h"
namespace Rivet {
class MC_JetAnalysis : public Analysis {
public:
MC_JetAnalysis(const string& name,
size_t njet,
const string& jetpro_name,
double jetptcut=20*GeV);
virtual void init();
virtual void analyze(const Event& event);
virtual void finalize();
protected:
size_t m_njet;
const std::string m_jetpro_name;
double m_jetptcut;
std::vector<AIDA::IHistogram1D *> _h_pT_jet;
std::vector<AIDA::IHistogram1D *> _h_eta_jet;
std::vector<shared_ptr<LWH::Histogram1D> > _h_eta_jet_plus, _h_eta_jet_minus;
std::vector<AIDA::IHistogram1D *> _h_rap_jet;
std::vector<shared_ptr<LWH::Histogram1D> > _h_rap_jet_plus, _h_rap_jet_minus;
std::vector<AIDA::IHistogram1D *> _h_mass_jet;
std::map<std::pair<size_t, size_t>, AIDA::IHistogram1D*> _h_deta_jets;
std::map<std::pair<size_t, size_t>, AIDA::IHistogram1D*> _h_dphi_jets;
std::map<std::pair<size_t, size_t>, AIDA::IHistogram1D*> _h_dR_jets;
AIDA::IHistogram1D * _h_jet_multi_exclusive;
AIDA::IHistogram1D * _h_jet_multi_inclusive;
AIDA::IDataPointSet * _h_jet_multi_ratio;
AIDA::IHistogram1D * _h_jet_HT;
};
}
#endif
Rivet
Definition: MC_JetAnalysis.hh:9
Rivet::MC_JetAnalysis::m_jetptcut
double m_jetptcut
Jet pT cutoff.
Definition: MC_JetAnalysis.hh:41
Rivet::MC_JetAnalysis::MC_JetAnalysis
MC_JetAnalysis(const string &name, size_t njet, const string &jetpro_name, double jetptcut=20 *GeV)
Default constructor.
Definition: MC_JetAnalysis.cc:10
Rivet::MC_JetAnalysis::analyze
virtual void analyze(const Event &event)
Definition: MC_JetAnalysis.cc:79
Rivet::Analysis
This is the base class of all analysis classes in Rivet.
Definition: Analysis.hh:51
Rivet::Event
Definition: Event.hh:22
Rivet::MC_JetAnalysis::init
virtual void init()
Definition: MC_JetAnalysis.cc:26
Rivet::MC_JetAnalysis::m_njet
size_t m_njet
The number of jets for which histograms are to be initialised.
Definition: MC_JetAnalysis.hh:34
Rivet::MC_JetAnalysis
Base class providing common functionality for MC jet validation analyses.
Definition: MC_JetAnalysis.hh:13
Rivet::MC_JetAnalysis::finalize
virtual void finalize()
Definition: MC_JetAnalysis.cc:147
Rivet::Analysis::name
virtual std::string name() const
Get the name of the analysis.
Definition: Analysis.hh:118
Rivet::MC_JetAnalysis::m_jetpro_name
const std::string m_jetpro_name
Definition: MC_JetAnalysis.hh:38