5#ifndef PARTICLESINCONETOOLS_TRUTHPARTICLESINCONETOOL_H
6#define PARTICLESINCONETOOLS_TRUTHPARTICLESINCONETOOL_H
9#include "GaudiKernel/ServiceHandle.h"
26 const std::string&
name,
27 const IInterface* parent);
33 virtual StatusCode
initialize() override final;
37 const EventContext& ctx,
52 "TruthParticleLocation",
Scalar eta() const
pseudorapidity method
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
Property holding a SG store/key/clid from which a ReadHandle is made.
Property holding a SG store/key/clid from which a ReadHandle is made.
Property holding a SG store/key/clid from which a WriteHandle is made.
2D look up table for iParticles
interface for collecting truth particles inside a cone
virtual ~TruthParticlesInConeTool()=default
destructor
SG::WriteHandleKey< LookUpTable > m_LookUpTableCacheWrite
TruthParticlesInConeTool(const std::string &type, const std::string &name, const IInterface *parent)
constructor
const LookUpTable * getTable(const EventContext &ctx) const
SG::ReadHandleKey< TruthParticleContainer > m_truthParticleLocation
Truth Particle collection name.
virtual bool particlesInCone(const EventContext &ctx, float eta, float phi, float dr, std::vector< const TruthParticle * > &output) const override final
ITruthParticlesInConeTool interface.
SG::ReadHandleKey< LookUpTable > m_LookUpTableCacheRead
IParticlesLookUpTable< TruthParticle > LookUpTable
virtual StatusCode initialize() override final
initialize
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
TruthParticle_v1 TruthParticle
Typedef to implementation.
TruthParticleContainer_v1 TruthParticleContainer
Declare the latest version of the truth particle container.