ATLAS Offline Software
JetPseudojetRetriever.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 // JetPseudojetRetriever.h
6 
7 #ifndef JetPseudojetRetriever_H
8 #define JetPseudojetRetriever_H
9 
17 
18 #include "AsgTools/AsgTool.h"
20 
22 : public asg::AsgTool,
23  virtual public IJetPseudojetRetriever {
25 
26 public:
27 
28  // Ctor.
29  JetPseudojetRetriever(const std::string& name);
30 
31  // Initialization.
33 
35  const fastjet::PseudoJet* pseudojet(const xAOD::Jet& jet) const;
36 
38  // For now fised. May later make this a property.
39  std::string label() const;
40 
41  // Dump to log.
42  void print() const;
43 
44 };
45 
46 #endif
asg::AsgTool
Base class for the dual-use tool implementation classes.
Definition: AsgTool.h:47
IJetPseudojetRetriever.h
JetPseudojetRetriever::print
void print() const
Print the state of the tool.
Definition: JetPseudojetRetriever.cxx:59
JetPseudojetRetriever::JetPseudojetRetriever
JetPseudojetRetriever(const std::string &name)
Definition: JetPseudojetRetriever.cxx:16
jet
Definition: JetCalibTools_PlotJESFactors.cxx:23
IJetPseudojetRetriever
Definition: IJetPseudojetRetriever.h:27
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
JetPseudojetRetriever
Definition: JetPseudojetRetriever.h:23
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
JetPseudojetRetriever::label
std::string label() const
Return the label.
Definition: JetPseudojetRetriever.cxx:53
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
JetPseudojetRetriever::initialize
StatusCode initialize()
Dummy implementation of the initialisation function.
Definition: JetPseudojetRetriever.cxx:23
AsgTool.h
JetPseudojetRetriever::pseudojet
const fastjet::PseudoJet * pseudojet(const xAOD::Jet &jet) const
Retrieve the pseudojet associate with a jet.
Definition: JetPseudojetRetriever.cxx:31