ATLAS Offline Software
IJetFromPseudojet.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 // IJetFromPseudojet.h
6 
7 #ifndef IJetFromPseudojet_H
8 #define IJetFromPseudojet_H
9 
10 #include <string>
11 #include <vector>
12 #include "AsgTools/IAsgTool.h"
13 #include "xAODJet/JetContainer.h"
14 
15 namespace fastjet {
16 class PseudoJet;
17 }
18 
19 class PseudoJetContainer;
20 
23 
24 class IJetFromPseudojet : virtual public asg::IAsgTool {
26 
27 public:
28 
30  virtual ~IJetFromPseudojet() { };
31 
36  virtual xAOD::Jet* add(const fastjet::PseudoJet& pj,
37  const PseudoJetContainer&,
39  xAOD::JetInput::Type inputtype) const = 0;
40 
44  virtual xAOD::Jet* add(const fastjet::PseudoJet& pj,
45  const PseudoJetContainer&,
47  const xAOD::Jet* pparent) const =0;
48 
49 };
50 
51 #endif
fastjet
Definition: FastJetLinkBase.h:22
IJetFromPseudojet
IJetFromPseudojet is a dual-use tool interface for a tool that constructs a new ATLAS jet from a fast...
Definition: IJetFromPseudojet.h:24
IJetFromPseudojet::add
virtual xAOD::Jet * add(const fastjet::PseudoJet &pj, const PseudoJetContainer &, xAOD::JetContainer &jets, xAOD::JetInput::Type inputtype) const =0
Method to construct an ATLAS jet from a pseudojet, input type and vector of ghost labels.
asg::IAsgTool
Base class for the dual-use tool interface classes.
Definition: IAsgTool.h:41
PseudoJetContainer
Definition: PseudoJetContainer.h:48
IJetFromPseudojet::add
virtual xAOD::Jet * add(const fastjet::PseudoJet &pj, const PseudoJetContainer &, xAOD::JetContainer &jets, const xAOD::Jet *pparent) const =0
Method to construct an ATLAS jet from a pseudojet and parent jet.
IJetFromPseudojet::~IJetFromPseudojet
virtual ~IJetFromPseudojet()
Destructor.
Definition: IJetFromPseudojet.h:30
ASG_TOOL_INTERFACE
#define ASG_TOOL_INTERFACE(CLASSNAME)
Definition: AsgToolMacros.h:40
IAsgTool.h
xAOD::JetInput::Type
Type
Definition: JetContainerInfo.h:54
DataVector
Derived DataVector<T>.
Definition: DataVector.h:794
xAOD::Jet_v1
Class describing a jet.
Definition: Jet_v1.h:57
JetContainer.h
defineDB.jets
list jets
Definition: JetTagCalibration/share/defineDB.py:24