ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Reconstruction
RecoTools
ParticlesInConeTools
ParticlesInConeTools
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"
12
#include "
xAODCaloEvent/CaloCluster.h
"
13
#include "
xAODCaloEvent/CaloClusterContainer.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
eta
Scalar eta() const
pseudorapidity method
Definition
AmgMatrixBasePlugin.h:83
CaloClusterContainer.h
CaloCluster.h
ElementLink
ElementLink implementation for ROOT usage.
Definition
A/AthLinks/ElementLink.h:40
xAOD::ICaloClustersInConeTool
interface for collecting truth particles inside a cone
Definition
ICaloClustersInConeTool.h:27
xAOD::ICaloClustersInConeTool::particlesInCone
virtual bool particlesInCone(float eta, float phi, float dr, std::vector< ElementLink< CaloClusterContainer > > &output) const =0
ICaloClustersInConeTool interface:
xAOD::ICaloClustersInConeTool::particlesInCone
virtual bool particlesInCone(float eta, float phi, float dr, std::vector< const CaloCluster * > &output) const =0
ICaloClustersInConeTool interface:
xAOD::ICaloClustersInConeTool::interfaceID
static const InterfaceID & interfaceID()
Definition
ICaloClustersInConeTool.h:52
xAOD
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
Definition
ICaloAffectedTool.h:24
xAOD::IID_ICaloClustersInConeTool
static const InterfaceID IID_ICaloClustersInConeTool("xAOD::ICaloClustersInConeTool", 1, 0)
xAOD::phi
setEt phi
Definition
TrigEMCluster_v1.cxx:29
Generated on
for ATLAS Offline Software by
1.17.0