00001 #ifndef jetsubstructureutils_nsubjettiness_header 00002 #define jetsubstructureutils_nsubjettiness_header 00003 00004 #include "JetSubStructureUtils/SubstructureCalculator.h" 00005 #include "fastjet/contrib/Nsubjettiness.hh" 00006 00007 namespace JetSubStructureUtils { 00008 00009 class Nsubjettiness : public SubstructureCalculator<double>, 00010 public fastjet::contrib::Nsubjettiness { 00011 public: 00012 Nsubjettiness(int N, const fastjet::contrib::AxesDefinition& axes_def, 00013 const fastjet::contrib::MeasureDefinition& measure_def) : 00014 fastjet::contrib::Nsubjettiness(N, axes_def, measure_def) {}; 00015 00016 using SubstructureCalculator::result; 00017 virtual double result(const fastjet::PseudoJet &jet) const { 00018 return fastjet::contrib::Nsubjettiness::result(jet); 00019 }; 00020 00021 virtual std::string description() const{ 00022 return fastjet::contrib::Nsubjettiness::description(); 00023 }; 00024 }; 00025 } 00026 00027 #endif