ATLAS Offline Software
SubjetRecorderTool.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef jetsubstructuremomenttools_subjetrecordertool_header
6 #define jetsubstructuremomenttools_subjetrecordertool_header
7 
8 #include "AsgTools/AsgTool.h"
9 #include "xAODJet/Jet.h"
11 
12 namespace fastjet {
13  class PseudoJet;
14 }
15 
17  public asg::AsgTool,
18  virtual public ISubjetRecorderTool {
20 
21  public:
22  // Constructor and destructor
23  SubjetRecorderTool(const std::string& name);
24 
25  std::vector<xAOD::Jet *> recordSubjets(const std::vector<fastjet::PseudoJet>& subjets, xAOD::Jet &jet) const;
26 
27  private:
28  std::string m_subjetlabel;
29  std::string m_subjetcontainername;
30 };
31 
32 
33 #endif
ISubjetRecorderTool
Definition: ISubjetRecorderTool.h:16
Jet.h
asg::AsgTool
Base class for the dual-use tool implementation classes.
Definition: AsgTool.h:47
fastjet
Definition: FastJetLinkBase.h:22
SubjetRecorderTool
Definition: SubjetRecorderTool.h:18
SubjetRecorderTool::recordSubjets
std::vector< xAOD::Jet * > recordSubjets(const std::vector< fastjet::PseudoJet > &subjets, xAOD::Jet &jet) const
Definition: SubjetRecorderTool.cxx:18
SubjetRecorderTool::SubjetRecorderTool
SubjetRecorderTool(const std::string &name)
Definition: SubjetRecorderTool.cxx:11
jet
Definition: JetCalibTools_PlotJESFactors.cxx:23
ISubjetRecorderTool.h
SubjetRecorderTool::m_subjetlabel
std::string m_subjetlabel
Definition: SubjetRecorderTool.h:28
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
SubjetRecorderTool::m_subjetcontainername
std::string m_subjetcontainername
Definition: SubjetRecorderTool.h:29
xAOD::Jet_v1
Class describing a jet.
Definition: Jet_v1.h:57
ASG_TOOL_CLASS
#define ASG_TOOL_CLASS(CLASSNAME, INT1)
Definition: AsgToolMacros.h:68
AsgTool.h