ATLAS Offline Software
IFlowElementsInConeTool.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3 */
4 
6 // IFlowElementsInConeTool.h, (c) ATLAS Detector software
8 #ifndef PARTICLESINCONETOOLS_IFLOWELEMENTSINCONETOOL_H
9 #define PARTICLESINCONETOOLS_IFLOWELEMENTSINCONETOOL_H
10 
11 #include "GaudiKernel/IAlgTool.h"
12 #include "xAODPFlow/FlowElement.h"
13 #include <vector>
14 
15 namespace xAOD {
16 
17  static const InterfaceID IID_IFlowElementsInConeTool("xAOD::IFlowElementsInConeTool", 1, 0);
18 
24  class IFlowElementsInConeTool : virtual public IAlgTool {
25  public:
26 
27  static const InterfaceID& interfaceID( ) ;
28 
36  virtual bool particlesInCone( float eta, float phi, float dr, std::vector<const FlowElement*>& output ) const = 0;
37  };
38 
39  inline const InterfaceID& IFlowElementsInConeTool::interfaceID() {
40  return IID_IFlowElementsInConeTool;
41  }
42 
43 } // end of namespace
44 
45 #endif
xAOD::IFlowElementsInConeTool::particlesInCone
virtual bool particlesInCone(float eta, float phi, float dr, std::vector< const FlowElement * > &output) const =0
IFlowElementsInConeTool interface:
xAOD::IFlowElementsInConeTool
interface for collecting pflow objects inside a cone
Definition: IFlowElementsInConeTool.h:24
xAOD
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
Definition: ICaloAffectedTool.h:24
python.TurnDataReader.dr
dr
Definition: TurnDataReader.py:112
xAOD::phi
setEt phi
Definition: TrigEMCluster_v1.cxx:29
FlowElement.h
xAOD::IFlowElementsInConeTool::interfaceID
static const InterfaceID & interfaceID()
Definition: IFlowElementsInConeTool.h:39
merge.output
output
Definition: merge.py:17