/usr/include/Rivet/Analyses/MC_JetAnalysis.hh is in librivet-dev 1.8.3-1.1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 | // -*- 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 {
/// @brief Base class providing common functionality for MC jet validation analyses
class MC_JetAnalysis : public Analysis {
public:
/// Default constructor.
MC_JetAnalysis(const string& name,
size_t njet,
const string& jetpro_name,
double jetptcut=20*GeV);
/// @name Analysis methods
//@{
virtual void init();
virtual void analyze(const Event& event);
virtual void finalize();
//@}
protected:
/// The number of jets for which histograms are to be initialised
size_t m_njet;
/// The name of the jet projection to be used for this analysis
/// (this projection has to be registered by the derived analysis!)
const std::string m_jetpro_name;
/// Jet pT cutoff
double m_jetptcut;
/// @todo Add jet masses and d(rap)
/// @name Histograms
//@{
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
|