ATLAS Offline Software
Loading...
Searching...
No Matches
JetLinkMatcherAlg.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef JET_LINKMATCHER_ALG_H
6#define JET_LINKMATCHER_ALG_H
7
9
12
13namespace ftag {
14
16 {
17 public:
18 JetLinkMatcherAlg(const std::string& name, ISvcLocator* pSvcLocator);
19
20 // these are the functions inherited from Algorithm
21 virtual StatusCode initialize () override;
22 virtual StatusCode execute (const EventContext&) const override;
23 virtual StatusCode finalize () override;
24 private:
27 using IPLV = std::vector<IPL>;
36 this, "targetJet", "", "target jet"
37 };
39 this, "sourceJets", {}, "source jets"
40 };
42 this, "linkName", m_targetJet, "", "name of link to match"
43 };
45 this, "isMatched", m_targetJet, "",
46 "1 if matched, 0 if not. If unspecified fail on no match"};
47 using JV = std::vector<const xAOD::IParticle*>;
48 };
49
50} // end namespace ftag
51
52#endif
An algorithm that can be simultaneously executed in multiple threads.
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
std::vector< IPL > IPLV
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.