MC_JETS.cc
Go to the documentation of this file.
00001 // -*- C++ -*- 00002 #include "Rivet/Analyses/MC_JetAnalysis.hh" 00003 #include "Rivet/Projections/FinalState.hh" 00004 #include "Rivet/Projections/FastJets.hh" 00005 00006 namespace Rivet { 00007 00008 00009 00010 00011 /// @brief MC validation analysis for jet events 00012 class MC_JETS : public MC_JetAnalysis { 00013 public: 00014 00015 MC_JETS() 00016 : MC_JetAnalysis("MC_JETS", 4, "Jets") 00017 { } 00018 00019 00020 public: 00021 00022 void init() { 00023 FinalState fs; 00024 FastJets jetpro(fs, FastJets::ANTIKT, 0.4); 00025 addProjection(jetpro, "Jets"); 00026 00027 MC_JetAnalysis::init(); 00028 } 00029 00030 00031 void analyze(const Event& event) { 00032 MC_JetAnalysis::analyze(event); 00033 } 00034 00035 00036 void finalize() { 00037 MC_JetAnalysis::finalize(); 00038 } 00039 00040 }; 00041 00042 00043 // The hook for the plugin system 00044 DECLARE_RIVET_PLUGIN(MC_JETS); 00045 00046 } Generated on Wed Oct 7 2015 12:09:13 for The Rivet MC analysis system by ![]() |