rivet is hosted by Hepforge, IPPP Durham
MC_KTSPLITTINGS.cc
Go to the documentation of this file.
00001 // -*- C++ -*-
00002 #include "Rivet/Analyses/MC_JetSplittings.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_KTSPLITTINGS : public MC_JetSplittings {
00013   public:
00014 
00015     MC_KTSPLITTINGS()
00016       : MC_JetSplittings("MC_KTSPLITTINGS", 4, "Jets")
00017     {    }
00018 
00019 
00020   public:
00021 
00022     void init() {
00023       FastJets jetpro(FinalState(), FastJets::KT, 0.6);
00024       addProjection(jetpro, "Jets");
00025       MC_JetSplittings::init();
00026     }
00027 
00028 
00029     void analyze(const Event& event) {
00030       MC_JetSplittings::analyze(event);
00031     }
00032 
00033 
00034     void finalize() {
00035       MC_JetSplittings::finalize();
00036     }
00037 
00038   };
00039 
00040 
00041   // The hook for the plugin system
00042   DECLARE_RIVET_PLUGIN(MC_KTSPLITTINGS);
00043 
00044 }