00001 #ifndef jetsubstructuremoments_pull_header
00002 #define jetsubstructuremoments_pull_header
00003
00004 #include "JetSubStructureUtils/SubstructureCalculator.h"
00005
00006 namespace JetSubStructureUtils {
00007 class Pull : public SubstructureCalculator<std::map<std::string, double> > {
00008 public:
00009 Pull(bool useEtaInsteadOfY = false) : m_useEtaInsteadOfY(useEtaInsteadOfY) {};
00010
00011 using SubstructureCalculator::result;
00012 virtual std::map<std::string, double> result(const fastjet::PseudoJet &jet) const;
00013
00014 private:
00015 bool m_useEtaInsteadOfY;
00016 };
00017 }
00018
00019 #endif