5#ifndef JET_LINKMATCHER_ALG_H
6#define JET_LINKMATCHER_ALG_H
22 virtual StatusCode
execute (
const EventContext&)
const override;
23 virtual StatusCode
finalize ()
override;
27 using IPLV = std::vector<IPL>;
36 this,
"targetJet",
"",
"target jet"
39 this,
"sourceJets", {},
"source jets"
42 this,
"linkName",
m_targetJet,
"",
"name of link to match"
46 "1 if matched, 0 if not. If unspecified fail on no match"};
47 using JV = std::vector<const xAOD::IParticle*>;
An algorithm that can be simultaneously executed in multiple threads.
ElementLink implementation for ROOT usage.
Property holding a SG store/key/clid/attr name from which a ReadDecorHandle is made.
Property holding a SG store/key/clid from which a ReadHandle is made.
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
xAOD::IParticleContainer IPC
virtual StatusCode execute(const EventContext &) const override
ElementLink< xAOD::IParticleContainer > IPL
virtual StatusCode initialize() override
VariableMule< IPLV, IPC > m_iparticles
VariableMule< uint, IPC > m_uints
VariableMule< int, IPC > m_ints
SG::ReadHandleKeyArray< IPC > m_sourceJets
VariableMule< float, IPC > m_floats
VariableMule< ulong, IPC > m_ulongs
std::vector< const xAOD::IParticle * > JV
SG::ReadDecorHandleKey< IPC > m_link
SG::ReadHandleKey< IPC > m_targetJet
VariableMule< double, IPC > m_doubles
SG::WriteDecorHandleKey< IPC > m_matchDecorator
VariableMule< char, IPC > m_chars
virtual StatusCode finalize() override
JetLinkMatcherAlg(const std::string &name, ISvcLocator *pSvcLocator)
HandleKeyArray< ReadHandle< T >, ReadHandleKey< T >, Gaudi::DataHandle::Reader > ReadHandleKeyArray
DataVector< IParticle > IParticleContainer
Simple convenience declaration of IParticleContainer.