ATLAS Offline Software
Loading...
Searching...
No Matches
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"
14#include <vector>
15
16namespace xAOD {
17
18static const InterfaceID
19 IID_ITruthParticlesInConeTool("xAOD::ITruthParticlesInConeTool", 1, 0);
20
25class ITruthParticlesInConeTool : virtual public IAlgTool
26{
27public:
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
45inline const InterfaceID&
50
51} // end of namespace
52
53#endif
Scalar eta() const
pseudorapidity method
interface for collecting truth particles inside a cone
virtual bool particlesInCone(const EventContext &ctx, float eta, float phi, float dr, std::vector< const TruthParticle * > &output) const =0
ITruthParticlesInConeTool interface:
static const InterfaceID & interfaceID()
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
static const InterfaceID IID_ITruthParticlesInConeTool("xAOD::ITruthParticlesInConeTool", 1, 0)