ATLAS Offline Software
ICaloClustersInConeTool.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
6 // ICaloClustersInConeTool.h, (c) ATLAS Detector software
8 #ifndef PARTICLESINCONETOOLS_ICALOCLUSTERSINCONETOOL_H
9 #define PARTICLESINCONETOOLS_ICALOCLUSTERSINCONETOOL_H
10 
11 #include "GaudiKernel/IAlgTool.h"
14 #include <vector>
15 
16 #include "AthLinks/ElementLink.h"
17 
18 namespace xAOD {
19 
20  static const InterfaceID IID_ICaloClustersInConeTool("xAOD::ICaloClustersInConeTool", 1, 0);
21 
27  class ICaloClustersInConeTool : virtual public IAlgTool {
28  public:
29 
30  static const InterfaceID& interfaceID( ) ;
31 
39  virtual bool particlesInCone( float eta, float phi, float dr, std::vector< const CaloCluster*>& output ) const = 0;
40 
48  virtual bool particlesInCone( float eta, float phi, float dr, std::vector< ElementLink<CaloClusterContainer> >& output ) const = 0;
49 
50  };
51 
52  inline const InterfaceID& ICaloClustersInConeTool::interfaceID() {
53  return IID_ICaloClustersInConeTool;
54  }
55 
56 } // end of namespace
57 
58 #endif
xAOD::ICaloClustersInConeTool::particlesInCone
virtual bool particlesInCone(float eta, float phi, float dr, std::vector< const CaloCluster * > &output) const =0
ICaloClustersInConeTool interface:
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
CaloCluster.h
xAOD::ICaloClustersInConeTool::particlesInCone
virtual bool particlesInCone(float eta, float phi, float dr, std::vector< ElementLink< CaloClusterContainer > > &output) const =0
ICaloClustersInConeTool interface:
merge.output
output
Definition: merge.py:17
xAOD::ICaloClustersInConeTool
interface for collecting truth particles inside a cone
Definition: ICaloClustersInConeTool.h:27
xAOD::ICaloClustersInConeTool::interfaceID
static const InterfaceID & interfaceID()
Definition: ICaloClustersInConeTool.h:52
CaloClusterContainer.h