ATLAS Offline Software
Reconstruction
RecoTools
ParticlesInConeTools
ParticlesInConeTools
ITruthParticlesInConeTool.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
// ITruthParticlesInConeTool.h, (c) ATLAS Detector software
8
#ifndef PARTICLESINCONETOOLS_ITRUTHPARTICLESINCONETOOL_H
9
#define PARTICLESINCONETOOLS_ITRUTHPARTICLESINCONETOOL_H
10
11
#include "GaudiKernel/IAlgTool.h"
12
#include "GaudiKernel/EventContext.h"
13
#include "
xAODTruth/TruthParticle.h
"
14
#include <vector>
15
16
namespace
xAOD
{
17
18
static
const
InterfaceID
19
IID_ITruthParticlesInConeTool(
"xAOD::ITruthParticlesInConeTool"
, 1, 0);
20
25
class
ITruthParticlesInConeTool
:
virtual
public
IAlgTool
26
{
27
public
:
28
static
const
InterfaceID&
interfaceID
();
29
37
virtual
bool
particlesInCone
(
38
const
EventContext& ctx,
39
float
eta,
40
float
phi
,
41
float
dr
,
42
std::vector<const TruthParticle*>&
output
)
const
= 0;
43
};
44
45
inline
const
InterfaceID&
46
ITruthParticlesInConeTool::interfaceID
()
47
{
48
return
IID_ITruthParticlesInConeTool;
49
}
50
51
}
// end of namespace
52
53
#endif
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
merge.output
output
Definition:
merge.py:17
xAOD::ITruthParticlesInConeTool::particlesInCone
virtual bool particlesInCone(const EventContext &ctx, float eta, float phi, float dr, std::vector< const TruthParticle * > &output) const =0
ITruthParticlesInConeTool interface:
xAOD::ITruthParticlesInConeTool::interfaceID
static const InterfaceID & interfaceID()
Definition:
ITruthParticlesInConeTool.h:46
TruthParticle.h
xAOD::ITruthParticlesInConeTool
interface for collecting truth particles inside a cone
Definition:
ITruthParticlesInConeTool.h:26
Generated on Sun Dec 22 2024 21:12:08 for ATLAS Offline Software by
1.8.18