00001 #ifndef jetsubstructureutils_energycorrelator_header 00002 #define jetsubstructureutils_energycorrelator_header 00003 00004 #include "JetSubStructureUtils/SubstructureCalculator.h" 00005 #include "fastjet/contrib/EnergyCorrelator.hh" 00006 00007 namespace JetSubStructureUtils { 00008 00009 class EnergyCorrelator : public SubstructureCalculator<double>, 00010 public fastjet::contrib::EnergyCorrelator { 00011 public: 00012 EnergyCorrelator(int N, double beta, Measure measure = pt_R, Strategy strategy = storage_array) : 00013 fastjet::contrib::EnergyCorrelator(N, beta, measure, strategy) {}; 00014 00015 using SubstructureCalculator::result; 00016 virtual double result(const fastjet::PseudoJet &jet) const { 00017 return fastjet::contrib::EnergyCorrelator::result(jet); 00018 }; 00019 00020 virtual std::string description() const{ 00021 return fastjet::contrib::EnergyCorrelator::description(); 00022 }; 00023 }; 00024 } 00025 00026 #endif