ATLAS Offline Software
IJetFinder.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 // IJetFinder.h
6 
7 #ifndef IJetFinder_H
8 #define IJetFinder_H
9 
13 
14 #include <string>
15 #include <vector>
16 #include "AsgTools/IAsgTool.h"
17 #include "xAODJet/JetContainer.h"
18 
19 namespace fastjet {
20 class PseudoJet;
21  class ClusterSequence;
22 }
23 
24 class PseudoJetContainer;
25 
26 
28 typedef std::vector<fastjet::PseudoJet> PseudoJetVector;
29 
30 class IJetFinder : virtual public asg::IAsgTool {
32 
33 public:
34 
36  typedef std::vector<std::string> NameList;
37 
39  virtual ~IJetFinder() { };
40 
45  virtual int find(const PseudoJetContainer& cont,
46  xAOD::JetContainer & finalJets,
47  xAOD::JetInput::Type contype) const = 0;
48 
49  // Trigger-friendly form of find - no writes to event store.
50  virtual int findNoSave(const PseudoJetContainer& cont,
51  xAOD::JetContainer & finalJets,
52  xAOD::JetInput::Type contype,
53  fastjet::ClusterSequence*&) const = 0;
54 
55 
56 };
57 
58 #endif
fastjet
Definition: FastJetLinkBase.h:22
IJetFinder
Definition: IJetFinder.h:30
asg::IAsgTool
Base class for the dual-use tool interface classes.
Definition: IAsgTool.h:41
PseudoJetContainer
Definition: PseudoJetContainer.h:48
IJetFinder::find
virtual int find(const PseudoJetContainer &cont, xAOD::JetContainer &finalJets, xAOD::JetInput::Type contype) const =0
Method to find jets from a vector of pseudojet inputs.
jet::ClusterSequence
fastjet::ClusterSequence ClusterSequence
Definition: ClusterSequence.h:21
IJetFinder::NameList
std::vector< std::string > NameList
Type for ghost labels.
Definition: IJetFinder.h:36
PseudoJetVector
std::vector< fastjet::PseudoJet > PseudoJetVector
Typedef for a vector of pseudojets.
Definition: IJetFinder.h:24
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
IJetFinder::findNoSave
virtual int findNoSave(const PseudoJetContainer &cont, xAOD::JetContainer &finalJets, xAOD::JetInput::Type contype, fastjet::ClusterSequence *&) const =0
JetContainer.h
IJetFinder::~IJetFinder
virtual ~IJetFinder()
Destructor.
Definition: IJetFinder.h:39