ATLAS Offline Software
IPseudoJetGetter.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 // IPseudoJetGetter.h
6 
7 #ifndef IPseudoJetGetter_H
8 #define IPseudoJetGetter_H
9 
10 // David Adams
11 // January 2014
12 
13 #include "AsgTools/IAsgTool.h"
14 #include <vector>
15 
16 namespace fastjet {
17 class PseudoJet;
18 }
19 class PseudoJetContainer;
20 
22 typedef std::vector<fastjet::PseudoJet> PseudoJetVector;
23 
26 
27 class IPseudoJetGetter : virtual public asg::IAsgTool {
29 
30 public:
31 
33  virtual ~IPseudoJetGetter() { };
34 
36  virtual StatusCode createAndRecord() const =0;
37 
39  virtual const PseudoJetVector* get() const;
40 
42  virtual std::string label() const =0;
43 
48  virtual int inputContainerNames(std::vector<std::string>& connames);
49 
54  virtual int outputContainerNames(std::vector<std::string>& connames);
55 
56 };
57 
58 #endif
IPseudoJetGetter::outputContainerNames
virtual int outputContainerNames(std::vector< std::string > &connames)
Method to return the list of output containers.
Definition: IPseudoJetGetter.cxx:23
fastjet
Definition: FastJetLinkBase.h:22
asg::IAsgTool
Base class for the dual-use tool interface classes.
Definition: IAsgTool.h:41
IPseudoJetGetter::label
virtual std::string label() const =0
Label assignd to this collection of pseudojets.
PseudoJetContainer
Definition: PseudoJetContainer.h:48
IPseudoJetGetter::get
virtual const PseudoJetVector * get() const
Method to return a vector of pseudojets.
Definition: IPseudoJetGetter.cxx:11
IPseudoJetGetter::createAndRecord
virtual StatusCode createAndRecord() const =0
Method to construct the PseudoJetVector and record in StoreGate.
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
ASG_TOOL_INTERFACE
#define ASG_TOOL_INTERFACE(CLASSNAME)
Definition: AsgToolMacros.h:40
IAsgTool.h
IPseudoJetGetter::~IPseudoJetGetter
virtual ~IPseudoJetGetter()
Destructor.
Definition: IPseudoJetGetter.h:33
PseudoJetVector
std::vector< fastjet::PseudoJet > PseudoJetVector
Definition: JetConstituentFiller.cxx:17
PseudoJetVector
std::vector< fastjet::PseudoJet > PseudoJetVector
Vector of fastjet pseudojets.
Definition: IPseudoJetGetter.h:19
IPseudoJetGetter
IPseudoJetGetter is a dual-use tool interface for retrieving a vector of fastjet pseudojets.
Definition: IPseudoJetGetter.h:27
IPseudoJetGetter::inputContainerNames
virtual int inputContainerNames(std::vector< std::string > &connames)
Method to return the list of input containers.
Definition: IPseudoJetGetter.cxx:17