ATLAS Offline Software
IJetConstituentsRetriever.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 // IJetConstituentsRetriever.h
6 
7 #ifndef IJetConstituentsRetriever_H
8 #define IJetConstituentsRetriever_H
9 
16 
17 
18 #include <string>
19 #include <vector>
20 #include "AsgTools/IAsgTool.h"
21 #include "xAODJet/JetContainer.h"
22 
23 namespace fastjet {
24 class PseudoJet;
25 }
26 
27 class IJetConstituentsRetriever : virtual public asg::IAsgTool {
29 
30 public:
31 
32  typedef std::vector<fastjet::PseudoJet> PseudoJetVector;
33  typedef std::vector<std::string> NameList;
34 
37 
42  virtual int constituents(const xAOD::Jet& jet, PseudoJetVector& cons,
43  NameList* pghostlabs =nullptr) const =0;
44 
45 };
46 
47 #endif
IJetConstituentsRetriever::constituents
virtual int constituents(const xAOD::Jet &jet, PseudoJetVector &cons, NameList *pghostlabs=nullptr) const =0
Retrieve the constituents as pseudojets.
fastjet
Definition: FastJetLinkBase.h:22
asg::IAsgTool
Base class for the dual-use tool interface classes.
Definition: IAsgTool.h:41
IJetConstituentsRetriever::PseudoJetVector
std::vector< fastjet::PseudoJet > PseudoJetVector
Definition: IJetConstituentsRetriever.h:32
jet
Definition: JetCalibTools_PlotJESFactors.cxx:23
IJetConstituentsRetriever::NameList
std::vector< std::string > NameList
Definition: IJetConstituentsRetriever.h:33
ASG_TOOL_INTERFACE
#define ASG_TOOL_INTERFACE(CLASSNAME)
Definition: AsgToolMacros.h:40
IAsgTool.h
IJetConstituentsRetriever::~IJetConstituentsRetriever
virtual ~IJetConstituentsRetriever()
Destructor.
Definition: IJetConstituentsRetriever.h:36
xAOD::Jet_v1
Class describing a jet.
Definition: Jet_v1.h:57
JetContainer.h
IJetConstituentsRetriever
Definition: IJetConstituentsRetriever.h:27