fastjet 2.4.5
JadePlugin.hh
Go to the documentation of this file.
00001 #ifndef __JADEPLUGIN_HH__
00002 #define __JADEPLUGIN_HH__
00003 
00004 //STARTHEADER
00005 // $Id: JadePlugin.hh 1538 2009-04-27 18:29:47Z soyez $
00006 //
00007 // Copyright (c) 2009, Matteo Cacciari, Gavin Salam and Gregory Soyez
00008 //
00009 //----------------------------------------------------------------------
00010 // This file is part of FastJet.
00011 //
00012 //  FastJet is free software; you can redistribute it and/or modify
00013 //  it under the terms of the GNU General Public License as published by
00014 //  the Free Software Foundation; either version 2 of the License, or
00015 //  (at your option) any later version.
00016 //
00017 //  The algorithms that underlie FastJet have required considerable
00018 //  development and are described in hep-ph/0512210. If you use
00019 //  FastJet as part of work towards a scientific publication, please
00020 //  include a citation to the FastJet paper.
00021 //
00022 //  FastJet is distributed in the hope that it will be useful,
00023 //  but WITHOUT ANY WARRANTY; without even the implied warranty of
00024 //  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00025 //  GNU General Public License for more details.
00026 //
00027 //  You should have received a copy of the GNU General Public License
00028 //  along with FastJet; if not, write to the Free Software
00029 //  Foundation, Inc.:
00030 //      59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
00031 //----------------------------------------------------------------------
00032 //ENDHEADER
00033 
00034 #include "fastjet/JetDefinition.hh"
00035 
00036 FASTJET_BEGIN_NAMESPACE      // defined in fastjet/internal/base.hh
00037 
00038 // forward declaration to reduce includes
00039 class ClusterSequence;
00040 
00041 //----------------------------------------------------------------------
00042 //
00075 class JadePlugin : public JetDefinition::Plugin {
00076 public:
00078   JadePlugin (){}
00079 
00081   JadePlugin (const JadePlugin & plugin) {
00082     *this = plugin;
00083   }
00084 
00085   // the things that are required by base class
00086   virtual std::string description () const;
00087   virtual void run_clustering(ClusterSequence &) const;
00088 
00092   virtual double R() const {return 1.0;}
00093 
00096   virtual bool exclusive_sequence_meaningful() const {return true;}
00097 
00098 private:
00099 
00100 };
00101 
00102 FASTJET_END_NAMESPACE        // defined in fastjet/internal/base.hh
00103 
00104 #endif // __JADEPLUGIN_HH__
00105 
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines