00001 #ifndef jetsubstructureutils_qjetsplugin_header
00002 #define jetsubstructureutils_qjetsplugin_header
00003
00004 #include "fastjet/JetDefinition.hh"
00005 #include "fastjet/PseudoJet.hh"
00006 #include "fastjet/ClusterSequence.hh"
00007
00008 namespace JetSubStructureUtils {
00009 class QjetsPlugin : public fastjet::JetDefinition::Plugin {
00010 private:
00011 bool m_rand_seed_set;
00012 unsigned int m_seed;
00013
00014 double m_zcut, m_dcut_fctr, m_exp_min, m_exp_max, m_rigidity, m_truncation_fctr;
00015 public:
00016 QjetsPlugin(double zcut, double dcut_fctr, double exp_min, double exp_max, double rigidity, double truncation_fctr = 0.);
00017 void SetRandSeed(unsigned int seed);
00018 double R() const;
00019 std::string description() const;
00020 void run_clustering(fastjet::ClusterSequence & cs) const;
00021 };
00022 }
00023
00024 #endif