MC_JetSplittings.hh
Go to the documentation of this file.
00001 // -*- C++ -*- 00002 #ifndef RIVET_MC_JetSplittings_HH 00003 #define RIVET_MC_JetSplittings_HH 00004 00005 #include "Rivet/Analysis.hh" 00006 #include "Rivet/Projections/FinalState.hh" 00007 00008 namespace Rivet { 00009 00010 00011 /// @brief Base class providing common functionality for MC jet validation analyses 00012 class MC_JetSplittings : public Analysis { 00013 public: 00014 00015 /// Default constructor. 00016 MC_JetSplittings(const string& name, 00017 size_t njet, 00018 const string& jetpro_name); 00019 00020 00021 /// @name Analysis methods 00022 //@{ 00023 virtual void init(); 00024 virtual void analyze(const Event& event); 00025 virtual void finalize(); 00026 //@} 00027 00028 00029 protected: 00030 00031 /// The number of jets for which histograms are to be initialised 00032 size_t m_njet; 00033 00034 /// The name of the jet projection to be used for this analysis 00035 /// (this projection has to be registered by the derived analysis!) 00036 const std::string m_jetpro_name; 00037 00038 /// @name Histograms 00039 //@{ 00040 std::vector<Histo1DPtr> _h_log10_d; 00041 std::vector<Scatter2DPtr> _h_log10_R; 00042 //@} 00043 00044 }; 00045 00046 } 00047 00048 #endif Generated on Thu Feb 6 2014 17:38:45 for The Rivet MC analysis system by ![]() |