00001 #ifndef jetsubstructuremomenttools_subjetrecordertool_header
00002 #define jetsubstructuremomenttools_subjetrecordertool_header
00003
00004 #include "AsgTools/AsgTool.h"
00005 #include <vector>
00006 #include "xAODJet/Jet.h"
00007 #include "JetSubStructureMomentTools/ISubjetRecorderTool.h"
00008
00009 namespace fastjet {
00010 class PseudoJet;
00011 }
00012
00013 class SubjetRecorderTool :
00014 virtual public asg::AsgTool,
00015 virtual public ISubjetRecorderTool {
00016 ASG_TOOL_CLASS(SubjetRecorderTool, ISubjetRecorderTool)
00017
00018 public:
00019
00020 SubjetRecorderTool(std::string name);
00021
00022 std::vector<xAOD::Jet *> recordSubjets(std::vector<fastjet::PseudoJet> subjets, xAOD::Jet &jet) const;
00023
00024 private:
00025 std::string m_subjetlabel;
00026 std::string m_subjetcontainername;
00027 };
00028
00029
00030 #endif